Billing and FAQ
Learn how API credits are charged and review common integration questions.
API playground
Send a real request to this site and inspect the HTTP response immediately.
Send a request to view its response here.基於點數的 API 計費
生成請求透過現有的 AI Studio 生成流程來保留和結算信用。
API 使用會以點數計費。
每一代可以根據所選模型、持續時間、品質、解析度和價格行消耗點數。
使用者可以透過帳戶或 /api/auth/user 檢查剩餘點數。
當帳戶餘額不足時,生成將被阻止。
AI Studio API 常見問題
關於設定、帳單及生成進度的快速回答。
我如何獲取 API 金鑰?
Log in, open the API Keys dashboard, and create an active key. Use it as Authorization: Bearer YOUR_API_KEY.
我如何驗證 API 請求?
Send the API key in the Authorization header using the Bearer format on every request.
API 使用如何計費?
生成呼叫會使用帳戶點數。消耗的數量取決於模型和所選的定價選項。
我如何檢查影片生成狀態?
在 execute 端點返回 taskId 且 statusSupported 為 true 後,請輪詢 /api/ai-studio/tasks/{taskId}?modelId={modelId}。
我可以在哪裡查看我的生成歷史?
使用 /api/ai-studio/video-history 查看您的分頁生成歷史。
如果我的點數用完會怎麼樣?
當帳戶的餘額不足時,無法繼續新一代請求。
我可以將 API 用於商業專案嗎?
該 API 可以整合到生產工作流程中,但需依據您的帳戶方案和服務條款。
這個 API 支援不同的影片模型嗎?
是的。可用的模型 ID 是在 config/ai-video-studio.ts 中配置的模型。