Skip to main content
POST
seedance-2-0

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-0
prompt
string

Length must be between 0 and 2500.

Maximum string length: 2500
duration
enum<integer>
default:4

Must be one of: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15. Defaults to 4.

Available options:
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
resolution
enum<string>
default:720P

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

Available options:
1080P,
480P,
4K,
720P
first_frame_image
string<url>
last_frame_image
string<url>
size
enum<string>
default:16x9

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

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

Maximum 3 items.

Maximum array length: 3
images
string[]

Maximum 9 items.

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

Maximum 3 items.

Maximum array length: 3

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"