# Seedance 2.5 > Model `seedance-2-5` on the Advanced Computing gateway API. Output: video. ## Request POST https://advanced-computing.com/api/v1/generations Authorization: Bearer Send `{ "model": "seedance-2-5", "input": { ... } }`. The request is asynchronous: it returns 202 with a generation object; poll `GET https://advanced-computing.com/api/v1/generations/{id}` or pass `webhook_url` to be called when it finishes. ## Input fields Unknown fields are rejected with a 400 error. `mode` is required: it names how to generate, and each mode takes its own fields (fields ending in `_url` or `_urls` are input assets). ### Mode `text` - `mode` (string; required; One of: text). How to generate. Each mode takes its own fields. - `prompt` (string; required; 1 to 2000 characters). What to generate, in natural language. - `duration` (integer | string; optional; 4 to 30; or one of: auto; default "auto"). Length of the output video, in seconds, or `auto` to let the model choose. - `resolution` (string; optional; One of: 480p, 720p, 1080p; default "720p"). Resolution of the output. - `aspect_ratio` (string; optional; One of: 16:9, 9:16, 1:1, 4:3, 3:4, 21:9). Width to height ratio of the output. Left out, the model chooses. - `generate_audio` (boolean; optional; default true). Whether the output video has sound. - `seed` (integer; optional; 0 to 2147483647). Fixes the random seed, so the same input repeats its output. ### Mode `frames` - `mode` (string; required; One of: frames). How to generate. Each mode takes its own fields. - `prompt` (string; required; 1 to 2000 characters). What to generate, in natural language. - `first_frame_image_url` (string; required; URL). Image the output starts from. An HTTPS URL, or a data URI of at most 10 MB. - `last_frame_image_url` (string; optional; URL). Image the output ends on. An HTTPS URL, or a data URI of at most 10 MB. - `duration` (integer | string; optional; 4 to 30; or one of: auto; default "auto"). Length of the output video, in seconds, or `auto` to let the model choose. - `resolution` (string; optional; One of: 480p, 720p, 1080p; default "720p"). Resolution of the output. - `generate_audio` (boolean; optional; default true). Whether the output video has sound. - `seed` (integer; optional; 0 to 2147483647). Fixes the random seed, so the same input repeats its output. ### Mode `reference` - `mode` (string; required; One of: reference). How to generate. Each mode takes its own fields. - `prompt` (string; required; 1 to 2000 characters). What to generate, in natural language. - `reference_image_urls` (array; optional; 1 to 30 items). Images the output follows, in order: a prompt can refer to them by position. Each is an HTTPS URL, or a data URI of at most 10 MB; data URIs total at most 20 MB per request. Send at least one image, video or audio. - `reference_video_urls` (array; optional; 1 to 10 items). Videos the output follows, in order: a prompt can refer to them by position. Each is an HTTPS URL. Send at least one image, video or audio. - `reference_audio_urls` (array; optional; 1 to 10 items). Audio the output follows, in order: a prompt can refer to it by position. Each is an HTTPS URL. Send at least one image, video or audio. - `duration` (integer | string; optional; 4 to 30; or one of: auto; default "auto"). Length of the output video, in seconds, or `auto` to let the model choose. - `resolution` (string; optional; One of: 480p, 720p, 1080p; default "720p"). Resolution of the output. - `aspect_ratio` (string; optional; One of: 16:9, 9:16, 1:1, 4:3, 3:4, 21:9). Width to height ratio of the output. Left out, the model chooses. - `generate_audio` (boolean; optional; default true). Whether the output video has sound. - `seed` (integer; optional; 0 to 2147483647). Fixes the random seed, so the same input repeats its output. ## Example requests ### Mode `text` ```bash curl https://advanced-computing.com/api/v1/generations \ -H "Authorization: Bearer $AC_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "seedance-2-5", "input": { "mode": "text", "prompt": "A dancer spins under a spotlight, the camera circles her", "duration": 10, "resolution": "1080p", "aspect_ratio": "9:16" } }' ``` ### Mode `frames` ```bash curl https://advanced-computing.com/api/v1/generations \ -H "Authorization: Bearer $AC_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "seedance-2-5", "input": { "mode": "frames", "prompt": "The dancer leaps from the first pose and lands in the last", "first_frame_image_url": "https://example.com/first-pose.jpg", "last_frame_image_url": "https://example.com/last-pose.jpg", "duration": 10, "resolution": "1080p" } }' ``` ### Mode `reference` ```bash curl https://advanced-computing.com/api/v1/generations \ -H "Authorization: Bearer $AC_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "seedance-2-5", "input": { "mode": "reference", "prompt": "The dancer from Image 1 follows the moves in Video 1, timed to Audio 1", "reference_image_urls": [ "https://example.com/dancer.jpg" ], "reference_video_urls": [ "https://example.com/moves.mp4" ], "reference_audio_urls": [ "https://example.com/beat.mp3" ], "duration": 10, "resolution": "720p", "aspect_ratio": "16:9" } }' ```