id | string | Unique task identifier. |
model | string | The model Endpoint ID used for this task. |
status | string | Current task status. See Task Status Values. |
error | object | Present only when status is "failed". Contains error details. |
error.code | string | Machine-readable error code (e.g., "content_policy_violation", "internal_error"). |
error.message | string | Human-readable error description. |
created_at | integer | Unix timestamp (seconds) when the task was created. |
updated_at | integer | Unix timestamp (seconds) when the task was last updated. |
content | object | Present when status is "succeeded". Contains the generation output. |
content.video_url | string | HTTPS URL to download the generated video. Valid for 24 hours; re-query for a fresh URL. |
content.last_frame_url | string | HTTPS URL to download the last frame as an image. Only present when return_last_frame was true in the creation request. Valid for 24 hours. |
seed | integer | The random seed used for generation. Can be reused for reproducible results. |
resolution | string | The output resolution used (e.g., "480p", "720p", "1080p"). |
ratio | string | The output aspect ratio used (e.g., "16:9", "9:16"). |
duration | integer | The output video duration in seconds. Present when the task was specified using duration. Mutually exclusive with frames. |
frames | integer | The output video frame count. Present when the task was specified using frames. Mutually exclusive with duration. |
framespersecond | integer | The output video frame rate (frames per second). |
generate_audio | boolean | Whether synchronized audio was generated with the video. |
tools | object[] | Tools that were enabled for this task (e.g., [{"type": "web_search"}]). |
safety_identifier | string | The safety policy identifier applied to this task, if any. |
priority | integer | The priority level assigned to this task (Seedance 2.0 only). |
draft | boolean | Whether this task was a draft-quality generation. |
draft_task_id | string | If this task was an upgrade from a draft, the original draft task ID. |
service_tier | string | The service tier used for this task ("default" or "flex"). |
execution_expires_after | integer | The expiration timeout (in seconds) that was set for this task. |
usage | object | Token usage and billing information. |
usage.completion_tokens | integer | Number of tokens consumed by this task. This represents the billing unit for the generation. Note: Seedance 2.0 models have a minimum token charge; short or simple generations may still incur the minimum token amount. |
usage.total_tokens | integer | Total tokens consumed. For video generation tasks, this equals completion_tokens (there are no separate input tokens). |
usage.tool_usage | object | Tool-specific usage information, if tools were enabled. |
usage.tool_usage.web_search | object | Web search tool usage details. Present when tools included web_search. |