Skip to main content
POST
seedance-2-5-flash

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
enum<string>
required

Must be one of: seedance-2-5-flash.

Available options:
seedance-2-5-flash
images
string[]

Up to 10 images. Do not combine with first or last frames.

Maximum array length: 10
videos
string[]

Up to 5 videos. Do not combine with first or last frames.

Maximum array length: 5
audios
string[]

Up to 5 audio clips. Do not combine with first or last frames.

Maximum array length: 5
duration
enum<integer>
default:5

Must be one of: -1, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30. Defaults to 5.

Available options:
-1,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30
first_frame_image
string

Do not combine first or last frames with reference media.

last_frame_image
string

A first frame is required when a last frame is provided.

resolution
enum<string>
default:720P

Must be one of: 480P, 720P. Defaults to 720P.

Available options:
480P,
720P
extends.audio
boolean
default:true

Defaults to true.

Response

Business response. code=0 means the task was accepted; validation failures can return HTTP 200 with code=400.

code
enum<integer>
required
Available options:
0
Example:

0

data
object
required
msg
string
required
Example:

"success"

request_id
string<uuid>
Example:

"250b66dd-e1fb-4bb6-b5f6-c668efadc35d"