Seedance 2.5 API

Dreamina Seedance 2.5 generates 480p or 720p videos up to 30 seconds long.

POST /v1/videos/generations

dreamina-seedance-2.5: Submit a video task, required fields, nested response schema and a fictional example.

Basic request

Required parameters: model, content

Available parameters: model, content, duration, resolution, ratio, wait

Request parameters

ParameterTypeRequiredDescription
modelstringYesExact model identifier shown on this page. Options: dreamina-seedance-2.5
contentarrayYesInput content; include a text block, plus reference images for image-conditioned generation.
durationintegerNoOutput duration in seconds; model-specific limits apply.
resolutionstringNoOutput resolution; the example uses 720p.
ratiostringNoAspect ratio.
waitbooleanNoFalse returns a task immediately; use the task-query endpoint.
## Usage and response conventions - Follow required fields and the nested schema. Optional settings without a documented numeric default use the current model default. - Context, output budgets and media constraints differ by model. Unverified limits are not universal guarantees. - An absent value differs from a reported zero. Read status, content and usage as actually returned. - Replace example.invalid addresses with readable media you are authorized to use. - Save generated files promptly; result links need not remain available indefinitely. ### Query the submitted task Use its returned id with GET /v1/videos/generations/{id}. Do not resubmit generation to check progress. pending, submitted and processing are nonterminal; succeeded, failed, timeout and canceled are terminal. Read the result URL actually present in content, output or video. ## Reference Terminology: [Seedance](https://docs.byteplus.com/en/docs/ModelArk/2291680). Use this page's platform base URL and exact model identifier for requests. Reviewed: 2026-11-07. ## Complete nested field reference Array elements use []. Required flags apply only when the enclosing object or content-block variant is used. Response fields can be absent or null as described; false does not imply a fabricated zero. ### Request headers | Field path | Type | Required in its object | Meaning | |---|---|---|---| | `Content-Type` | string | Yes | JSON request-body content type. | ### Request body | Field path | Type | Required in its object | Meaning | |---|---|---|---| | `model` | string | Yes | Exact model identifier shown on this page. Values: dreamina-seedance-2.5 | | `content` | array[object] | Yes | Input content; include a text block, plus reference images for image-conditioned generation. | | `content[].type` | string | Yes | Content type. Values: text, image_url | | `content[].text` | string | No | Prompt text for a text block. | | `content[].image_url` | object | No | Reference-image object. | | `content[].image_url.url` | string | Yes | Readable reference image URL. | | `content[].role` | string | No | Reference-image role on the content item. Values: first_frame, last_frame, reference_image | | `duration` | integer | No | Output duration in seconds; model-specific limits apply. Minimum: 1 | | `resolution` | string | No | Output resolution; the example uses 720p. | | `ratio` | string | No | Aspect ratio. | | `wait` | boolean | No | False returns a task immediately; use the task-query endpoint. Default: false | ### Response 200 | Field path | Type | Required in its object | Meaning | |---|---|---|---| | `id` | string | No | Opaque task identifier returned by submission; preserve it unchanged. | | `model` | string | No | Exact model identifier shown on this page. | | `status` | string | No | Task status; stop polling only at a terminal state. Values: pending, submitted, processing, succeeded, failed, timeout, canceled, unknown | | `created_at` | integer | No | Creation time in Unix seconds. | | `content` | object | No | Input content; include a text block, plus reference images for image-conditioned generation. | | `content.video_url` | string | No | Video URL after success. | | `content.last_frame_url` | string | No | Last-frame URL when provided. | | `output` | object | No | Output object returned by some video models. | | `output.video_url` | string | No | Video URL after success. | | `output.task_status` | string | No | Task-status value when provided. | | `video` | object | No | Video result returned by some video models. | | `video.url` | string | No | Readable reference image URL. | | `error` | object | No | Error details on failure, cancellation or timeout; may be null on success. | | `error.code` | string | No | Error code. | | `error.message` | string | No | Readable error message. | ### Response 202 | Field path | Type | Required in its object | Meaning | |---|---|---|---| | `id` | string | No | Opaque task identifier returned by submission; preserve it unchanged. | | `model` | string | No | Exact model identifier shown on this page. | | `status` | string | No | Task status; stop polling only at a terminal state. Values: pending, submitted, processing, succeeded, failed, timeout, canceled, unknown | | `created_at` | integer | No | Creation time in Unix seconds. | | `content` | object | No | Input content; include a text block, plus reference images for image-conditioned generation. | | `content.video_url` | string | No | Video URL after success. | | `content.last_frame_url` | string | No | Last-frame URL when provided. | | `output` | object | No | Output object returned by some video models. | | `output.video_url` | string | No | Video URL after success. | | `output.task_status` | string | No | Task-status value when provided. | | `video` | object | No | Video result returned by some video models. | | `video.url` | string | No | Readable reference image URL. | | `error` | object | No | Error details on failure, cancellation or timeout; may be null on success. | | `error.code` | string | No | Error code. | | `error.message` | string | No | Readable error message. | ### Error response structure | Field path | Type | Required in its object | Meaning | |---|---|---|---| | `error` | object | No | Error details on failure, cancellation or timeout; may be null on success. | | `error.message` | string | No | Readable error message. | | `error.type` | string | No | Content type. | | `error.code` | string | No | Error code. |

Request example

curl --request POST https://api.router.ai/v1/videos/generations \
  --header "Authorization: Bearer $API_KEY" \
  --header "Content-Type: application/json" \
  --data-raw '{
  "model": "dreamina-seedance-2.5",
  "content": [
    {
      "type": "text",
      "text": "A fictional blue paper boat on a plain white background."
    }
  ],
  "duration": 5,
  "resolution": "720p",
  "wait": false
}'

Endpoint reference: Aliyun Wan video generation

GET /v1/videos/generations/{id}

Query a previously submitted task without generating another video.

## Usage and response conventions - Follow required fields and the nested schema. Optional settings without a documented numeric default use the current model default. - Context, output budgets and media constraints differ by model. Unverified limits are not universal guarantees. - An absent value differs from a reported zero. Read status, content and usage as actually returned. - Replace example.invalid addresses with readable media you are authorized to use. - Save generated files promptly; result links need not remain available indefinitely. ### Query the submitted task Use its returned id with GET /v1/videos/generations/{id}. Do not resubmit generation to check progress. pending, submitted and processing are nonterminal; succeeded, failed, timeout and canceled are terminal. Read the result URL actually present in content, output or video. ## Reference Terminology: [Seedance](https://docs.byteplus.com/en/docs/ModelArk/2291680). Use this page's platform base URL and exact model identifier for requests. Reviewed: 2026-11-07. ## Complete nested field reference Array elements use []. Required flags apply only when the enclosing object or content-block variant is used. Response fields can be absent or null as described; false does not imply a fabricated zero. ### Path parameters | Field path | Type | Required in its object | Meaning | |---|---|---|---| | `id` | string | Yes | Opaque task identifier returned to the same account. | ### Response 200 | Field path | Type | Required in its object | Meaning | |---|---|---|---| | `id` | string | No | Opaque task identifier returned to the same account. | | `model` | string | No | Exact model identifier shown on this page. | | `status` | string | No | Task status; stop polling only at a terminal state. Values: pending, submitted, processing, succeeded, failed, timeout, canceled, unknown | | `created_at` | integer | No | Creation time in Unix seconds. | | `content` | object | No | Input content; include a text block, plus reference images for image-conditioned generation. | | `content.video_url` | string | No | Video URL after success. | | `content.last_frame_url` | string | No | Last-frame URL when provided. | | `output` | object | No | Output object returned by some video models. | | `output.video_url` | string | No | Video URL after success. | | `output.task_status` | string | No | Task-status value when provided. | | `video` | object | No | Video result returned by some video models. | | `video.url` | string | No | Readable reference image URL. | | `error` | object | No | Error details on failure, cancellation or timeout; may be null on success. | | `error.code` | string | No | Error code. | | `error.message` | string | No | Readable error message. | ### Error response structure | Field path | Type | Required in its object | Meaning | |---|---|---|---| | `error` | object | No | Error details on failure, cancellation or timeout; may be null on success. | | `error.message` | string | No | Readable error message. | | `error.type` | string | No | Content type. | | `error.code` | string | No | Error code. |

Request example

curl --request GET "https://api.router.ai/v1/videos/generations/$TASK_ID" \
  --header "Authorization: Bearer $API_KEY"

Endpoint reference: Get a video task