dreamina-seedance
Served on the BytePlus ModelArk video API:
POST /api/v3/contents/generations/tasks. Authentication, polling, listing,
billing mechanics, and errors are covered in the overview.
Models
These are model capabilities, not a promise that every resolution is enabled for every account.
| Model id | Supported resolutions | Maximum duration |
|---|---|---|
dreamina-seedance-2-5-260628 | 480p · 720p · 1080p | 30s |
dreamina-seedance-2-0-260128 | 480p · 720p · 1080p · 4k | 15s |
dreamina-seedance-2-0-fast-260128 | 480p · 720p | 15s |
dreamina-seedance-2-0-mini-260615 | 480p · 720p | 15s |
Availability and billing
Call GET /v1/models with the same key before choosing a model and
resolution. The pricing.video_tokens_per_1m keys show the buckets currently
sold to that key in its account currency.
Seedance billing is selected by:
- the delivered output resolution; and
- whether
contentcontains an input video.
An image reference does not select a with_ref bucket. generate_audio changes
the generated output but not the current gateway billing bucket. Exact rates
are returned by GET /v1/models.
Request fields
| Field | Type | Notes |
|---|---|---|
model | string | One of the ids above; case-sensitive. |
content | array | Text plus optional image, video, or audio references. |
resolution | string | 480p, 720p, 1080p, or 4k; defaults to 720p. The selected model and key must offer it. |
ratio | string | 16:9, 4:3, 1:1, 3:4, 9:16, 21:9, or adaptive. |
duration | number | Positive seconds, or -1 to let the model choose. Model limits still apply. |
generate_audio | boolean | Generate audio where supported; on by default. |
watermark | boolean | Request the vendor-standard watermark behaviour. |
seed | integer | Reproducibility is best-effort. |
return_last_frame | boolean | Add content.last_frame_url to a successful result for clip chaining. |
output_format | string | Optional vendor-standard output format. |
safety_identifier | string | Your end-user identifier, echoed in the task. |
execution_expires_after | integer | Optional vendor-standard execution expiry. |
callback_url | — | Not supported; the gateway returns callback_not_supported. Poll instead. |
Reference items use one of these roles:
reference_image, reference_video, reference_audio, first_frame, or
last_frame. A reference URL may be a public URL, an inline data: URI where
the vendor supports it, or an Active asset id.
Text to video
curl https://gw.shineon.dev/api/v3/contents/generations/tasks \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "dreamina-seedance-2-0-mini-260615",
"content": [
{
"type": "text",
"text": "a paper kite floating over a quiet coastal town at sunrise"
}
],
"resolution": "720p",
"ratio": "16:9",
"duration": 5
}'
{"id":"cgt-20260820143012-k7m2q"}
Image to video
curl https://gw.shineon.dev/api/v3/contents/generations/tasks \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "dreamina-seedance-2-5-260628",
"content": [
{
"type": "text",
"text": "the camera slowly pulls back while morning light fills the room"
},
{
"type": "image_url",
"role": "first_frame",
"image_url": {
"url": "https://example.com/opening-frame.jpg"
}
}
],
"resolution": "1080p",
"ratio": "16:9",
"duration": 5,
"return_last_frame": true
}'
Replace the public URL with asset://asset-… after a
reference asset reaches Active.
Video to video
curl https://gw.shineon.dev/api/v3/contents/generations/tasks \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "dreamina-seedance-2-5-260628",
"content": [
{
"type": "text",
"text": "continue the movement, then reveal the valley beyond the ridge"
},
{
"type": "video_url",
"role": "reference_video",
"video_url": {
"url": "https://example.com/reference.mp4"
}
}
],
"resolution": "720p",
"ratio": "adaptive",
"duration": 6
}'
An input video selects a with_ref billing bucket. The gateway uses a
conservative duration estimate when reserving the balance and settles against
the completed task's reported usage.