ToAPIsToAPIs
seedance-ext

seedance-2-ext Video Generation

Generate videos with the seedance-2-ext model, supporting text-to-video and reference-image generation

POST
/v1/videos/generations

seedance-2-ext is the promotional-channel model in the Seedance 2.0 family, offering the standard discounted tier:

  • Text-to-video and reference-image generation
  • Reference videos, reference audios, first/last-frame control, and video editing are not supported
  • The API is asynchronous: submitting returns a generation.task; fetch results via the video task status endpoint.

Authentication

Authorizationstringheaderrequired

All requests require a Bearer Token. Get your key from the API Key management page and add it to the request header:

Authorization: Bearer YOUR_API_KEY

Body

modelstringbodyrequireddefault: seedance-2-ext

ToAPIs public model name. Always use seedance-2-ext.

promptstringbody

Describe the scene, camera movement, subject actions, style, and sound atmosphere.

secondsintegerbody

Output video duration in seconds, from 4 to 15. The compatible field duration is also accepted; do not pass both.

sizestringbody

Output aspect ratio. Supported: 16:9, 9:16, 4:3, 3:4, 1:1, 21:9. The compatible field aspect_ratio is also accepted.

resolutionstringbodydefault: 720p

Output resolution. Fixed to 720p.

reference_imagestringbody

Public URL of a single reference image. For multiple images use reference_images.

reference_imagesstring[]body

Array of reference image URLs, up to 9. You can also use image_with_roles with role set to reference_image.

callback_urlstringbody

ToAPIs task completion callback URL. See Task Webhooks.

client_business_idstringbody

Your order number or business task ID. Stored with the task; you can also query it via GET /v1/videos/generations/{client_business_id}.

trace_idstringbody

Custom trace ID for request tracking.

Media Combination Rules

Request contentSupportedNotes
Prompt onlyYesText-to-video
Reference imagesYesUp to 9
Reference video / reference audioNoUse seedance-2.5-ext instead
First / last frameNoFrame mode is not supported

Request Examples

Text-to-Video

curl --request POST \
  --url https://toapis.com/v1/videos/generations \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "seedance-2-ext",
    "prompt": "City skyline at sunset, camera slowly pulling back.",
    "seconds": 5,
    "size": "16:9",
    "resolution": "720p"
  }'

Reference Image

curl --request POST \
  --url https://toapis.com/v1/videos/generations \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "seedance-2-ext",
    "prompt": "The product in image 1 slowly rotates for display.",
    "seconds": 10,
    "size": "1:1",
    "reference_images": [
      "https://example.com/product.png"
    ]
  }'

Response

idstring
Task ID for status queries.
client_business_idstring
Returned when provided in the request.
objectstring
Fixed to generation.task.
modelstring
The model used for this request.
statusstring
queued, in_progress, completed, or failed.
progressinteger
Task progress from 0 to 100.
created_atinteger
Creation timestamp.

responseExample

{
  "id": "tsk_vid_xxx",
  "object": "generation.task",
  "model": "seedance-2-ext",
  "status": "in_progress",
  "progress": 10,
  "created_at": 1781577600
}