API Referencehttps://gw.shineon.dev

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 idSupported resolutionsMaximum duration
dreamina-seedance-2-5-260628480p · 720p · 1080p30s
dreamina-seedance-2-0-260128480p · 720p · 1080p · 4k15s
dreamina-seedance-2-0-fast-260128480p · 720p15s
dreamina-seedance-2-0-mini-260615480p · 720p15s

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 content contains 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

FieldTypeNotes
modelstringOne of the ids above; case-sensitive.
contentarrayText plus optional image, video, or audio references.
resolutionstring480p, 720p, 1080p, or 4k; defaults to 720p. The selected model and key must offer it.
ratiostring16:9, 4:3, 1:1, 3:4, 9:16, 21:9, or adaptive.
durationnumberPositive seconds, or -1 to let the model choose. Model limits still apply.
generate_audiobooleanGenerate audio where supported; on by default.
watermarkbooleanRequest the vendor-standard watermark behaviour.
seedintegerReproducibility is best-effort.
return_last_framebooleanAdd content.last_frame_url to a successful result for clip chaining.
output_formatstringOptional vendor-standard output format.
safety_identifierstringYour end-user identifier, echoed in the task.
execution_expires_afterintegerOptional 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

bash
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
  }'
json
{"id":"cgt-20260820143012-k7m2q"}

Image to video

bash
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

bash
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.