# seedance-2-ext Video Generation > Generate videos with the seedance-2-ext model, supporting text-to-video and reference-image generation **API:** POST https://toapis.com/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](/docs/en/api-reference/tasks/video-status). ## Authentication **Authorization (string, required)** All requests require a Bearer Token. Get your key from the [API Key management page](https://toapis.com/console/token) and add it to the request header: ```text Authorization: Bearer YOUR_API_KEY ``` ## Body **model (string, required)** Default: "seedance-2-ext" ToAPIs public model name. Always use `seedance-2-ext`. **prompt (string)** Describe the scene, camera movement, subject actions, style, and sound atmosphere. **seconds (integer)** Output video duration in seconds, from `4` to `15`. The compatible field `duration` is also accepted; do not pass both. **size (string)** Output aspect ratio. Supported: `16:9`, `9:16`, `4:3`, `3:4`, `1:1`, `21:9`. The compatible field `aspect_ratio` is also accepted. **resolution (string)** Default: "720p" Output resolution. Fixed to `720p`. **reference_image (string)** Public URL of a single reference image. For multiple images use `reference_images`. **reference_images (string[])** Array of reference image URLs, up to `9`. You can also use `image_with_roles` with `role` set to `reference_image`. **callback_url (string)** ToAPIs task completion callback URL. See [Task Webhooks](/docs/en/api-reference/webhooks/task-webhooks). **client_business_id (string)** 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_id (string)** Custom trace ID for request tracking. ## Media Combination Rules | Request content | Supported | Notes | |---|---:|---| | Prompt only | Yes | Text-to-video | | Reference images | Yes | Up to 9 | | Reference video / reference audio | No | Use `seedance-2.5-ext` instead | | First / last frame | No | Frame mode is not supported | ## Request Examples ### Text-to-Video ```bash 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 ```bash 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 **id (string)** Task ID for status queries. **client_business_id (string)** Returned when provided in the request. **object (string)** Fixed to `generation.task`. **model (string)** The model used for this request. **status (string)** `queued`, `in_progress`, `completed`, or `failed`. **progress (integer)** Task progress from `0` to `100`. **created_at (integer)** Creation timestamp. ## Response Examples ```json 200 { "id": "tsk_vid_xxx", "object": "generation.task", "model": "seedance-2-ext", "status": "in_progress", "progress": 10, "created_at": 1781577600 } ```