Seedance native API
Use this reference to call Seedance directly on BytePlus ModelArk. Enable the model in your ModelArk project and set ARK_API_KEY to a ModelArk API key. Direct requests use your BytePlus project and billing.
Using an ApiGo key? Use the ApiGo Media Tasks API at https://api.apigo.ai/v1/media/tasks. Select the model's advertised action and use mode: "async". Place the model input fields, such as content and resolution, inside input and keep model at the top level. ApiGo returns a mint_ task ID and wraps the output under result. Query that ID through ApiGo. The native paths below are served by BytePlus.
Endpoints
Run the examples below from your terminal or HTTP client. Send requests directly to https://ark.ap-southeast.bytepluses.com/api/v3 with Authorization: Bearer $ARK_API_KEY. Include Content-Type: application/json when creating a task.
| Method | Path | Operation |
|---|---|---|
| POST | /contents/generations/tasks |
Create an async task |
| GET | /contents/generations/tasks/{id} |
Retrieve status and output |
| GET | /contents/generations/tasks |
List tasks |
| DELETE | /contents/generations/tasks/{id} |
Cancel a queued task or delete a completed task record |
Create a task by model
Pick your model and run its text-to-video example. The create request returns an id; retrieve the task to get the video.
dreamina-seedance-2-0-260128
Dreamina Seedance 2.0 supports 480p, 720p, 1080p, and 4K output, with a duration of 4–15 seconds.
curl --fail-with-body 'https://ark.ap-southeast.bytepluses.com/api/v3/contents/generations/tasks' \
-H "Authorization: Bearer $ARK_API_KEY" \
-H 'Content-Type: application/json' \
--data-binary @- <<'JSON'
{
"model": "dreamina-seedance-2-0-260128",
"content": [{ "type": "text", "text": "A tracking shot of a red paper boat floating down a shallow stream at dawn." }],
"resolution": "720p",
"ratio": "16:9",
"duration": 5,
"generate_audio": true
}
JSON
dreamina-seedance-2-0-fast-260128
Dreamina Seedance 2.0 Fast supports 480p and 720p output, with a duration of 4–15 seconds.
curl --fail-with-body 'https://ark.ap-southeast.bytepluses.com/api/v3/contents/generations/tasks' \
-H "Authorization: Bearer $ARK_API_KEY" \
-H 'Content-Type: application/json' \
--data-binary @- <<'JSON'
{
"model": "dreamina-seedance-2-0-fast-260128",
"content": [{ "type": "text", "text": "A tracking shot of a red paper boat floating down a shallow stream at dawn." }],
"resolution": "720p",
"ratio": "16:9",
"duration": 5,
"generate_audio": true
}
JSON
dreamina-seedance-2-0-mini-260615
Dreamina Seedance 2.0 Mini supports 480p and 720p output, with a duration of 4–15 seconds.
curl --fail-with-body 'https://ark.ap-southeast.bytepluses.com/api/v3/contents/generations/tasks' \
-H "Authorization: Bearer $ARK_API_KEY" \
-H 'Content-Type: application/json' \
--data-binary @- <<'JSON'
{
"model": "dreamina-seedance-2-0-mini-260615",
"content": [{ "type": "text", "text": "A tracking shot of a red paper boat floating down a shallow stream at dawn." }],
"resolution": "720p",
"ratio": "16:9",
"duration": 5,
"generate_audio": true
}
JSON
dreamina-seedance-2-5-260628
Dreamina Seedance 2.5 supports 480p, 720p, and 1080p output, with a duration of 4–30 seconds.
curl --fail-with-body 'https://ark.ap-southeast.bytepluses.com/api/v3/contents/generations/tasks' \
-H "Authorization: Bearer $ARK_API_KEY" \
-H 'Content-Type: application/json' \
--data-binary @- <<'JSON'
{
"model": "dreamina-seedance-2-5-260628",
"content": [{ "type": "text", "text": "A tracking shot of a red paper boat floating down a shallow stream at dawn." }],
"resolution": "720p",
"ratio": "16:9",
"duration": 5,
"generate_audio": true
}
JSON
Add media inputs
The native create body has two required fields: model and content. Put output settings such as resolution, ratio, duration (seconds), generate_audio, and return_last_frame at the top level.
content[].type |
Input field | Role |
|---|---|---|
text |
text |
Omit role for a prompt. |
image_url |
image_url.url |
first_frame or last_frame for frame guidance; reference_image for a reference. |
video_url |
video_url.url |
reference_video |
audio_url |
audio_url.url |
reference_audio |
Use media URLs that ModelArk can access. Use frame guidance and omni reference input in separate requests. For Seedance 2.0 models, use at least one reference image or video if you include reference audio. For a Seedance 2.5 edit, use omni_reference_task_type: "edit" with a reference_video, ratio: "adaptive", and duration: -1. Check the official create reference for model-specific media limits, edit and extension rules, and supported field values.
Retrieve the task
Set ARK_TASK_ID to the id from the native create response and query it with the same ModelArk project credentials:
curl --fail-with-body "https://ark.ap-southeast.bytepluses.com/api/v3/contents/generations/tasks/$ARK_TASK_ID" \
-H "Authorization: Bearer $ARK_API_KEY"
While status is queued or running, keep polling the task. On succeeded, download content.video_url within 24 hours. If you requested return_last_frame: true, save content.last_frame_url as well. On failed, read error.code and error.message. Treat cancelled and expired as terminal.
To receive updates without polling, set callback_url at creation. ModelArk sends POST requests with the same JSON structure as the task retrieval response. Handle repeated notifications for the same task.
List, cancel, or delete tasks
Use the list operation with page_num and page_size. You can filter by filter.model, filter.status, or filter.task_ids; the response provides items and total.
DELETE cancels a queued task or removes a terminal task record. It cannot stop a running task. These operations apply to ModelArk task IDs.
See the ModelArk model catalog and the Dreamina Seedance 2.0 guide for the full model and input limits.
