Grok Video
Retrieve Grok Video
Poll a public JuheNext task ID and check the final status before downloading its content.
GET
/v1/videos/{task_id}Parameters
| Parameter | Type / location | Description |
|---|---|---|
task_idRequired | stringpath | Exact public id from creation, including task_. Never substitute the upstream ID. |
Request examples
cURL
curl 'https://api.juhenextvip.com/v1/videos/task_example' \
--header 'Authorization: Bearer <YOUR_API_KEY>'Response examples
JSON
{
"id": "task_example",
"object": "video",
"model": "grok-imagine-video-1.5",
"status": "in_progress",
"progress": 40
}JSON
{
"id": "task_example",
"object": "video",
"model": "grok-imagine-video-1.5",
"status": "completed",
"progress": 100,
"seconds": "3"
}JSON
{
"id": "task_example",
"object": "video",
"model": "grok-imagine-video-1.5",
"status": "failed",
"error": {
"code": "video_generation_failed",
"message": "Video generation failed."
}
}Usage notes
- Poll every 5–10 seconds while queued or in_progress. Stop at completed or failed. A network error with unknown outcome does not justify resubmitting a paid POST.
- Use your JuheNext API key for creation, queries and downloads. No supplier key is required.
- Check error even when completed: moderation_blocked can mean no playable content. Download through the content endpoint; do not expect an upstream URL in this response.