LogoWan API Docs
Homepage
X (Twitter)
Homepage

Get started

OverviewIntegration guideCheck balanceDelete a task

Wan models

Wan 3.0Wan 3.0 PrimeWan 3.0 ProWan 3.0 Prime Pro

Seedance models

Seedance 2.5Seedance 2.5 FlashSeedance 2.0Seedance 2.0 FastSeedance 2.0 Mini

Image models

Seedream 5.0 ProSeedream 5.5 API

Language models

Claude APIClaude Haiku 5.5Claude Sonnet 5.5Claude Opus 5.5Claude Fable 5.2GPT APIGPT Luna 6GPT Terra 6.1GPT Sol 6.1GPT Astra 6
X (Twitter)

Seedance 2.5 Flash

Seedance 2.5 Flash API reference: video generation, frames and references, request examples, task polling, downloads and pricing.

Generate a video from text, frames or references, or edit a source clip. Model and Playground.

Create a task

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

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

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

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 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

USD per billable second
ResolutionWithout video inputWith video input
480p$0.096$0.06
720p$0.192$0.12

Audio is included. See the billable seconds guide for reference and edit calculations.

Download OpenAPI.

Seedance 2.5

Seedance 2.5 API reference: video generation, frames and references, request examples, task polling, downloads and pricing.

Seedance 2.0

Seedance 2.0 API reference: video generation, frames and references, request examples, task polling, downloads and pricing.

Table of Contents

Create a taskRequest fieldsMedia specificationsPoll and downloadPricing