After a task succeeds, the GET /v1/tasks/{task_id} endpoint will return a response like this:
{
"code" : 0 ,
"data" : {
"task_id" : "<TASK_ID>" ,
"id" : "<TASK_ID>" ,
"status" : "SUCCESS" ,
"category" : "TEXT_TO_VIDEO" ,
"callback_url" : null ,
"seconds" : 5 ,
"output_videos" : [
{
"url" : "<VIDEO_URL>" ,
"width" : 1024 ,
"height" : 1024
}
],
"credits" : 10 ,
"inputs" : {
"model" : "t2v-2.4-faster" ,
"prompt" : "<YOUR_PROMPT>" ,
"seconds" : 5 ,
"image_url" : null ,
"aspect_ratio" : "1:1"
},
"created_at" : "<TIMESTAMP>"
}
}
Video URLs expire after 8 hours. Download and store videos on your own infrastructure for long-term access. Do not expose these temporary URLs directly to end users.
Next Steps
API Inputs Review input parameter specifications
API Reference Browse our complete API documentation
Pricing Understand credit consumption