# Seedance 2.5 Flash (https://wanapi.app/docs/seedance-2-5-flash)





Generate a video from text, frames or references, or edit a source clip. [Model and Playground](/models/seedance-2-5-flash).

## Create a task [#create-a-task]

Create a server-side key in [API key settings](/settings/apikeys). Send one POST to `https://api.wanapi.app/v1/videos` and save the returned `id`.

```bash
curl https://api.wanapi.app/v1/videos -H "Authorization: Bearer $WAN_API_KEY" -H "Content-Type: application/json" -d '{"model":"bytedance/seedance-2.5-flash","prompt":"A paper boat floats through a sunlit stream. Slow tracking shot.","resolution":"720p","aspectRatio":"16:9","duration":4,"generateAudio":true}'
```

## Request fields [#request-fields]

Use `model: "bytedance/seedance-2.5-flash"` and a non-empty `prompt`. Set `resolution` to 480p or 720p (default). Generation accepts `duration` from 4 to 30 seconds (default 5). Set `generateAudio: false` for silent output. One output per task, fixed at 24 fps.

Text and reference generation use a fixed `aspectRatio`: 16:9 (default), 9:16, 1:1, 4:3, 3:4 or 21:9. For first and last frames, pass `image` for the opening frame or `frameImages` with one first\_frame and an optional last\_frame. Each frame entry has `frameType` and an `image` URL. Frames and edits use adaptive framing.

Pass reference images or videos in `inputReferences`, each with `type: "url"`, `url` and `mediaType`. Up to 10 images, 5 videos and 5 audio clips. Pass audio URLs in `providerOptions.bytedance.referenceAudio`. Use frames or references in a single request.

To edit, set `providerOptions.bytedance.omni_reference_task_type` to `edit`, supply exactly one reference video, and omit duration or set it to -1. The other task type, `generate`, is the default. Content filtering defaults to true. API clients can set `providerOptions.bytedance.content_filter` to false.

## Media specifications [#media-specifications]

Use publicly readable HTTP(S) URLs without credentials. Images: JPEG, PNG or WebP, up to 30 MB. Images and videos: 300–6000 pixels per edge, aspect ratio 0.4–2.5.

Videos: MP4 or MOV, up to 200 MB, 24–60 fps, 409600–8295044 pixels. References last 2–30 seconds, or 4–30 seconds for the edit source. Combined video duration is at most 30 seconds.

Audio: MP3 or WAV, up to 15 MB and 2–30 seconds per clip, at most 30 seconds combined.

## Poll and download [#poll-and-download]

Poll `GET https://api.wanapi.app/v1/videos/{id}` with the same API key. Keep polling queued or in\_progress tasks. On completed, download `videos[0].url`. Resolve relative URLs against the API host and authenticate there. Use signed media URLs directly. On failed, read `error.message`. Retry a failed poll with the same task ID.

## Pricing [#pricing]

<SeedanceModelPricing model="findSeedanceModel('seedance-2-5-flash')" />

Audio is included. See the [billable seconds guide](/blog/seedance-2-5-flash-pricing) for reference and edit calculations.

[Download OpenAPI](/models/seedance-2-5-flash/openapi.json).
