Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://api.getinfinityblue.com/v1/video/generations/{task_id} \ --header 'Authorization: Bearer <token>'
import requests url = "https://api.getinfinityblue.com/v1/video/generations/{task_id}" headers = {"Authorization": "Bearer <token>"} response = requests.get(url, headers=headers) print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.getinfinityblue.com/v1/video/generations/{task_id}', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
200
in_progress
{ "task_id": "abcd1234efgh", "status": "in_progress" }
轮询通用视频生成任务,获取进度和最终视频 URL
queued
completed
url
failed
error
使用 Bearer Token 认证,格式:Authorization: Bearer sk-xxxxxx。 在 控制台 获取 API Key。
Authorization: Bearer sk-xxxxxx
任务 ID,由创建接口返回。
成功获取任务状态
通用视频生成任务状态响应。
任务 ID。
"abcd1234efgh"
任务状态。
"completed"
视频文件 URL,任务 completed 时返回。
"https://example.com/generated-video.mp4"
视频格式。
"mp4"
视频生成任务元数据,包含实际生成的视频规格信息。
Show child attributes
视频任务错误信息。