Skip to content

Get video task

Poll the status and result URLs of a single video task (and Kling and Midjourney image tasks).

GET/v1/video/tasks/{task_id}

Poll with the task ID returned at submission, ideally every 5 seconds; polling uses no concurrency and is not billed. Seedance / Grok responses are wrapped in task, while MiniMax / Kling use top-level fields; do not read the wrong level.

A Seedance task still unfinished 24 hours after creation is automatically marked failed (not billed), with task.error.message set to The task did not finish within 24 hours and was terminated automatically. Result URLs are signed URLs under api.hop-base.com; querying again returns the same URL and does not renew it: 30 days for Seedance and Grok, 6 hours for Kling and MiniMax. Download and save them before they expire. Unfinished tasks are marked failed after 24 hours (Seedance) or 2 hours (Kling, MiniMax).

Headers

Authorization:requiredstring

Bearer sk-…: an API key created in the console under API keys; its group must include the requested model

Path parameters

task_id:requiredstring

Task ID returned at submission: vt… (Seedance / Grok), mmt… (MiniMax), kt… (Kling)

Returns

200Task object (including failed tasks)

Family
task:optionalobject

Task

usage:optionalobject

Present only after the task ends, and returned only to the key that created the task. 0 means it failed and was not charged

Errors

401Missing, invalid or expired API key (missing_api_key / invalid_api_key / api_key_expired)
404The task does not exist or does not belong to this key

Related