cURL
curl --request GET \ --url https://api.mulerouter.ai/vendors/mulerouter/v1/wan2.5-i2v-spark/generation/{task_id} \ --header 'Authorization: Bearer <token>'
{ "task_info": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "status": "completed", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }, "videos": [ "<string>" ] }
Retrieve the status and result of a generation task
pending
processing
completed
failed
videos
{ "task_info": { "id": "123e4567-e89b-12d3-a456-426614174000", "status": "completed", "created_at": "2025-01-15T10:30:00Z", "updated_at": "2025-01-15T10:32:00Z" }, "videos": [ "https://example.com/generated-video.mp4" ] }
{ "task_info": { "id": "123e4567-e89b-12d3-a456-426614174000", "status": "failed", "created_at": "2025-01-15T10:30:00Z", "updated_at": "2025-01-15T10:30:15Z", "error": { "code": 400, "title": "Invalid Request", "detail": "The input image format is not supported" } } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Task result
Show child attributes
Generated video URLs (only present when status is success)