Retrieve video task
Changed onPoll a video generation task until it reaches completed, failed, or timeout.
get/videos/{id}
Request
- Base URLhttps://api.llm7.io/v1
- URLhttps://api.llm7.io/v1/videos/{id}
- AuthHTTP bearer
Path parameters
idstring required
Video task ID returned by POST /videos.
Response
Video task status
Example response
{
"id": "video_task_id",
"status": "queued",
"outputs": [
"https://storage.example/output/video_task_id.mp4"
],
"error": {
"message": "Upstream generation failed."
}
}Changes
- warning
added the new
timeoutenum value to theresponse property for the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning