Get video generation task status
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));{
"task_id": "abcd1234efgh",
"status": "in_progress"
}
Generic video API
Get video generation task status
Poll a generic video generation task for progress and the final video URL
GET
/
v1
/
video
/
generations
/
{task_id}
Get video generation task status
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));{
"task_id": "abcd1234efgh",
"status": "in_progress"
}
Task status values
| Status | Meaning |
|---|---|
queued | Waiting in queue |
in_progress | Generation in progress |
completed | Done — download the video from url |
failed | Generation failed — check the error field |
Polling guidance
Tasks typically complete in 30 seconds to a few minutes depending on the model and video length. Poll every 5–10 seconds and set a reasonable timeout (e.g. 10 minutes).Authorizations
Path Parameters
Task ID returned by the create endpoint.
Response
Task status retrieved successfully
Status response for a generic video generation task.
Task ID.
Example:
"abcd1234efgh"
Task status.
Available options:
queued, in_progress, completed, failed Example:
"completed"
Video file URL, populated when status=completed.
Example:
"https://example.com/generated-video.mp4"
Video format.
Example:
"mp4"
Metadata about the generated video, including actual specs.
Show child attributes
Show child attributes
Error information for a failed video task.
Show child attributes
Show child attributes