Skip to main content
POST

Headers

Authorization
string
required

Body

application/json
model
enum<string>
required

Model name. Must be seedance-2-5-refs.

Available options:
seedance-2-5-refs
prompt
string
required

Text prompt. Chinese: recommended up to 500 characters; English: recommended up to 1000 words.

ref_imgs
string<uri>[]

Reference images (up to 30). jpeg/png/webp, ≤30MB each, 300–6000px, aspect ratio 0.4–2.5. Referenced in the prompt as @image1, @image2, … in array order.

Maximum array length: 30
ref_videos
string<uri>[]

Reference videos (up to 10). mp4/mov, 2–30s each and ≤30s in total, 24–60 fps, ≤200MB each. Longer clips are trimmed automatically — the 30s budget is split evenly across them (1 clip keeps 30s, 3 clips get 10s each). Referenced as @video1, @video2, … in array order. ⚠️ Using this field changes how the request is priced — see the pricing note above.

Maximum array length: 10
ref_audios
string<uri>[]

Reference audio (up to 10). wav/mp3, 2–30s each and ≤30s in total, ≤15MB each. Not transcoded — clips exceeding the total budget are rejected upstream. Referenced as @audio1, @audio2, … in array order. At least one of ref_imgs / ref_videos / ref_audios is required; unlike Seedance 2.0, audio on its own is accepted.

Maximum array length: 10
duration
integer
default:5

Any integer from 4 to 30 seconds.

Required range: 4 <= x <= 30
quality
enum<string>
default:720p

Output resolution. resolution is accepted as a compatible alias.

Available options:
480p,
720p
aspect_ratio
enum<string>
default:16:9

Output aspect ratio. Reference-to-video accepts every value below. ratio is accepted as a compatible alias.

Available options:
16:9,
9:16,
1:1,
4:3,
3:4,
21:9,
adaptive
generate_audio
boolean
default:true

Generate synchronized audio at no additional charge.

callback_url
string<uri>

Optional public HTTPS callback URL. custom_callback_url is accepted as a compatible alias.

Response

Task submitted or application-level error.

code
integer
required
msg
string
required
data
object