Theme
Vidu task status query
Query Vidu video task status and results.
http
GET /v1/videos/video_abc123Headers
| Name | Type | Required | Description |
|---|---|---|---|
| string | Yes | Request authentication. Use a Bearer Token, for example: . |
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| string | Yes | Task ID; same as the returned by the generation endpoint. |
Request example
bash
curl https://octopusx.ai/v1/videos/video_123 \
-H "Authorization: Bearer <token>"Response example
json
{
"id": "video_123",
"object": "video",
"model": "viduq3-pro",
"status": "processing",
"progress": 50,
"created_at": 1712697600,
"size": "1024x1808",
"seconds": "5",
"quality": "standard"
}json
{
"id": "video_123",
"object": "video",
"model": "viduq3-pro",
"status": "completed",
"progress": 100,
"created_at": 1712697600,
"completed_at": 1712697700,
"size": "1024x1808",
"seconds": "5",
"quality": "standard",
"video_url": "https://example.com/video/output.mp4"
}json
{
"id": "video_123",
"object": "video",
"model": "viduq3-pro",
"status": "failed",
"progress": 0,
"created_at": 1712697600,
"completed_at": 1712697650,
"size": "1024x1808",
"error": {
"message": "Generation failed, please retry",
"code": "GENERATION_FAILED"
}
}Response fields
| Name | Type | Description |
|---|---|---|
| string | Task ID. | |
| string | Always . | |
| string | Model name. | |
| string | Task status. Options: (in progress), (failed), (completed). | |
| integer | Progress percentage (0–100). | |
| integer | Creation time (Unix timestamp). | |
| integer | Completion time (Unix timestamp); returned only when the task completed or failed. | |
| string | Video dimensions, for example . | |
| string | Video duration in seconds. | |
| string | Video quality, for example . | |
| string | Video download URL; returned only when status is . | |
| object | Error info; returned only when status is . | |
| string | Error message; nested under . | |
| string | Error code; nested under . |