Endpoint
Request Headers
| Header | Value |
|---|---|
Authorization | Bearer YOUR_API_KEY |
Response
The task identifier returned when you submitted the request.
Current status:
waiting, generating, success, or fail.One or more URLs for the generated output. Populated when
status is success. Media files are available for 14 days.Human-readable error description. Populated when
status is fail.ISO 8601 timestamp when the task was created.
Example
Status Reference
| Status | Meaning |
|---|---|
waiting | Task is queued |
generating | Model is actively producing output |
success | Generation complete — result_urls is populated |
fail | Generation failed — check error_message |
For video and image tasks,
generating may last 1–5 minutes. Poll every 3 seconds to avoid excessive API calls.