Skip to main content
POST
创建文生视频任务

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

模型 ID

Available options:
doubao-seedance-1-0-pro-250528
Example:

"doubao-seedance-1-0-pro-250528"

content
object[]
required

内容数组,包含文本提示词。

Minimum array length: 1
ratio
enum<string>
default:16:9

画面比例。文生视频不支持 adaptive。

Available options:
16:9,
4:3,
1:1,
3:4,
9:16,
21:9
Example:

"16:9"

resolution
enum<string>
default:720p

输出分辨率。

Available options:
480p,
720p,
1080p
Example:

"720p"

duration
integer
default:5

视频时长(秒),2-12 秒。

Required range: 2 <= x <= 12
Example:

5

watermark
boolean
default:false

是否添加水印。

seed
integer

随机种子。

camera_fixed
boolean
default:false

是否固定摄像头。

Response

任务已创建

id
string
Example:

"gen-abc123"

model
string
Example:

"doubao-seedance-1-0-pro-250528"

status
string
Example:

"processing"

created_at
integer
Example:

1773130665