Seedance is the latest foundational video generation model launched by the ByteDance Doubao large model team. It can quickly generate high-quality video clips based on user input such as text, images, and more.
Details | Caution and prerequisites |
|---|---|
Costs | Before calling an operator, you need to understand the model invocation costs associated with using the operator. For details, see Large model invocation billing. |
Authentication (API Key) | Before calling an operator, you need to generate an API Key for operator invocation. It is recommended to configure the API Key as an environment variable to ensure safer operator calls. For details, see Obtain and configure API Key. |
BaseURL | Before calling an operator, you need to determine the BaseURL for operator invocation based on the region where your current LAS service is deployed. This is used to configure the path parameter values for operator calls. |
POST https://operator.las.ap-southeast-1.volces.com/api/v1/contents/generations/tasks
Call the Seedance model to generate videos.
Parameter | Type | Required | Example value | Description |
|---|---|---|---|---|
model | string | Yes | doubao-seedance-1-5-pro-251215 | The ID of the model you need to call (Model ID). Supported:
|
content | list of object | Yes | Information provided to the model for video generation. Supports text information, image information, and sample video information. Reference | |
callback_url | string | No | http://xxx/callback | Enter the callback notification address for the result of this generation task. When the status of a video generation task changes, ModelArk will send a POST request to this address.
|
return_last_frame | boolean | No | false | Whether to return the last frame image of the video. The default value is false.
|
execution_expires_after | integer | No | 172800 | Task timeout threshold. Specifies the expiration time after task submission (unit: seconds), calculated from the created at timestamp. The default value is 172800 seconds, which is 48 hours. Value range: [3600, 259200] |
generate_audio | boolean | No | true | The default is true, which controls whether the generated video includes audio synchronized with the visuals. warning Only doubao-seedance 1.5 pro is supported.
|
draft | boolean | No | The default is false, which controls whether sample mode is enabled. | |
resolution | string | No | 720p | Video resolution, enumerated values:
warning
|
ratio | string | No | 16:9 | The aspect ratio of the generated video.
tip
|
duration | integer | No | 5 |
The duration of the generated video, in seconds. Supports 2–12 seconds. |
frames | integer | No |
The number of frames in the generated video. By specifying the number of frames, you can flexibly control the length of the generated video and create videos with fractional seconds.
| |
seed | integer | No | -1 | Seed integer used to control the randomness of the generated content. Value range: integer between [-1, 2^32-1]. |
camera_fixed | boolean | No | false |
Whether to fix the camera. Enumeration values:
The default value is |
watermark | boolean | No | false | Whether the generated video contains a watermark. Enumeration values:
|
Parameter | Type | Description |
|---|---|---|
id | string | Task ID |
curl --location "https://operator.las.cn-beijing.volces.com/api/v1/contents/generations/tasks" \ --header "Content-Type: application/json" \ --header "Authorization: Bearer $LAS_API_KEY" \ --data '{ "model": "doubao-seedance-1-0-pro-250528", "content": [ { "type": "text", "text": "" } ], "ratio": "16:9", "duration": 5, "watermark": false }'
{ "id": "cgt-20251125163544-qrj4f" }
GET https://operator.las.ap-southeast-1.volces.com/api/v1/contents/generations/tasks/{id}
Query the status of a video generation task.
Parameter | Type | Required | Example value | Description |
|---|---|---|---|---|
id | string | Yes | cgt-2025******-**** | The ID of the video generation task you need to query. |
Parameter | Type | Example value | Description |
|---|---|---|---|
id | string | cgt-2025******-**** | Video generation task ID |
model | string | Model name and version used for the task, model name-version | |
status | string | succeeded | Model status and related information:
|
error | error | Error message. Returns null when the task succeeds; returns error data when the task fails. For details, see . | |
created_at | integer | 1764059744 | Creation time |
updated_at | integer | 1764059744 | Update time |
content | content | Output content of the video generation task. | |
seed | integer | 1345 | Seed integer value used for this request. |
resolution | string | 1080p | Resolution of the generated video. |
ratio | string | 9:16 | Aspect ratio of the generated video. |
duration | integer | 10 | Duration of the generated video, unit: seconds. Note: Only one of the duration or frames parameters will be returned. If frames are not specified when creating a video generation task, duration will be returned. |
frames | integer | The number of frames generated for the video. Note: Only one of the duration or frames parameters will be returned. If frames are specified when creating a video generation task, frames will be returned. | |
framespersecond | integer | 30 | Frame rate of the generated video. |
generate_audio | boolean | false | Whether the generated video contains audio synchronized with the visuals. This parameter is only returned by Seedance 1.5 pro.
|
draft | boolean | false | Whether the generated video is a Draft video. This parameter is only returned by Seedance 1.5 pro.
|
draft_task_id | string | Draft video task ID. This parameter will be returned when generating a formal video based on a Draft video. | |
execution_expires_after | integer | Task timeout threshold, unit: seconds. | |
usage | token_usage | Token usage for video generation |
curl --location "https://operator.las.cn-beijing.volces.com/api/v1/contents/generations/tasks/cgt-xxxxxx" \ --header "Content-Type: application/json" \ --header "Authorization: Bearer $LAS_API_KEY"
{ "framesPerSecond": 24, "id": "cgt-20251119202422-jcfm2", "model": "doubao-seedance-1-0-pro-250528", "status": "succeeded", "content": { "video_url": "https://ark-content-generation-cn-beijing.tos-cn-beijing.volces.com/xxx.mp4", "last_frame_url": "https://ark-content-generation-cn-beijing.tos-cn-beijing.volces.com/xxx.png", "file_url": null }, "usage": { "completion_tokens": 295800 }, "frames": 145, "framespersecond": 24, "created_at": 1763555062, "updated_at": 1763555155, "seed": 655, "ratio": "9:16", "resolution": "1080p" }
HttpCode | Error code | Error message | Description |
|---|---|---|---|
401 | ApiKey.Invalid | The api key is invalid. | API is not valid |