Skip to main content
POST
seedance-2-5

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
Available options:
seedance-2-5
prompt
string
first_frame_image
string
last_frame_image
string
duration
enum<integer>
default:-1

Fixed duration: 4-30 seconds; -1 means intelligent duration. Defaults to -1. Value is in s.

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
resolution
enum<string>
default:720P

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

Available options:
480P,
720P
size
enum<string>
default:16x9

Must be one of: 16x9, 1x1, 21x9, 3x4, 4x3, 9x16, adaptive. Defaults to 16x9.

Available options:
16x9,
1x1,
21x9,
3x4,
4x3,
9x16,
adaptive
audios
string<url>[]

Maximum 10 items.

Maximum array length: 10
videos
string<url>[]

Maximum 10 items.

Maximum array length: 10
images
string<url>[]

Maximum 30 items.

Maximum array length: 30

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"