Skip to content
All API documentation

Seedance 2.0 API

Account and deployment availability

Requires eligible legacy billing and a configured provider. Expanded USD generation excludes this model.

Call GET /api/v1/models with your API key to see the models and options available to your account.

Request fields

model
doubao-seedance-2-0-260128
provider
volcengine
quality
draft (480p), standard (720p), hd (1080p)
outputCount
1–4
Prompt limit
20000
seed
Optional integer seed. Omit it or pass null to let the provider choose.
generateAudio
Use generateAudio to turn audio on or off.

The video draft uses asset fields to select its input mode. Omit the mode field.

Input modeAsset fieldssizeDuration in seconds
text-to-videoNoneadaptive, 854x480, 480x854, 1280x720, 720x1280, 1920x1080, 1080x19204–15
first-framefirstFrameAssetIdadaptive, 854x480, 480x854, 1280x720, 720x1280, 1920x1080, 1080x19204–15
first-last-framefirstFrameAssetId, lastFrameAssetIdadaptive, 854x480, 480x854, 1280x720, 720x1280, 1920x1080, 1080x19204–15
reference-imagesreferenceAssetIds (1–9 images)adaptive, 854x480, 480x854, 1280x720, 720x1280, 1920x1080, 1080x19204–15

Pixel sizes require their corresponding quality. 854x480 → draft, 480x854 → draft, 1280x720 → standard, 720x1280 → standard, 1920x1080 → hd, 1080x1920 → hd

Use distinct images and leave frame fields empty for reference mode.

Quote examples

Replace any REPLACE_WITH_* asset IDs with IDs returned by your own completed uploads. Send the draft to the quote endpoint. Upload a reference

text-to-video

curl --fail-with-body "$GAPTI_ORIGIN/api/v1/quotes" \
  -H "Authorization: Bearer $GAPTI_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{
  "draft": {
    "kind": "video",
    "prompt": "Pan slowly across a lakeside cabin at sunrise. Keep the horizon level.",
    "model": "doubao-seedance-2-0-260128",
    "duration": 4,
    "quality": "standard",
    "outputCount": 1,
    "seed": null,
    "firstFrameAssetId": null,
    "lastFrameAssetId": null,
    "provider": "volcengine",
    "size": "adaptive",
    "generateAudio": false
  }
}'
first-frame
curl --fail-with-body "$GAPTI_ORIGIN/api/v1/quotes" \
  -H "Authorization: Bearer $GAPTI_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{
  "draft": {
    "kind": "video",
    "prompt": "Pan slowly across a lakeside cabin at sunrise. Keep the horizon level.",
    "model": "doubao-seedance-2-0-260128",
    "duration": 4,
    "quality": "standard",
    "outputCount": 1,
    "seed": null,
    "firstFrameAssetId": "REPLACE_WITH_FIRST_IMAGE_ASSET_ID",
    "lastFrameAssetId": null,
    "provider": "volcengine",
    "size": "adaptive",
    "generateAudio": false
  }
}'
first-last-frame
curl --fail-with-body "$GAPTI_ORIGIN/api/v1/quotes" \
  -H "Authorization: Bearer $GAPTI_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{
  "draft": {
    "kind": "video",
    "prompt": "Pan slowly across a lakeside cabin at sunrise. Keep the horizon level.",
    "model": "doubao-seedance-2-0-260128",
    "duration": 4,
    "quality": "standard",
    "outputCount": 1,
    "seed": null,
    "firstFrameAssetId": "REPLACE_WITH_FIRST_IMAGE_ASSET_ID",
    "lastFrameAssetId": "REPLACE_WITH_LAST_IMAGE_ASSET_ID",
    "provider": "volcengine",
    "size": "adaptive",
    "generateAudio": false
  }
}'
reference-images
curl --fail-with-body "$GAPTI_ORIGIN/api/v1/quotes" \
  -H "Authorization: Bearer $GAPTI_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{
  "draft": {
    "kind": "video",
    "prompt": "Pan slowly across a lakeside cabin at sunrise. Keep the horizon level.",
    "model": "doubao-seedance-2-0-260128",
    "duration": 4,
    "quality": "standard",
    "outputCount": 1,
    "seed": null,
    "firstFrameAssetId": null,
    "lastFrameAssetId": null,
    "provider": "volcengine",
    "size": "adaptive",
    "generateAudio": false,
    "referenceAssetIds": [
      "REPLACE_WITH_FIRST_IMAGE_ASSET_ID"
    ]
  }
}'

Submit and download

Pass normalizedDraft as draft and the full quote as quoteAcknowledgement. Review the returned credits before submitting.

Submit the job