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

授权

Authorization
string
header
必填

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

请求体

application/json
model
enum<string>
必填

模型 ID

可用选项:
doubao-seedance-1-0-pro-fast-251015
示例:

"doubao-seedance-1-0-pro-fast-251015"

content
object[]
必填

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

Minimum array length: 1
ratio
enum<string>
默认值:16:9

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

可用选项:
16:9,
4:3,
1:1,
3:4,
9:16,
21:9
示例:

"16:9"

resolution
enum<string>
默认值:720p

输出分辨率。

可用选项:
480p,
720p,
1080p
示例:

"720p"

duration
integer
默认值:5

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

必填范围: 2 <= x <= 12
示例:

5

watermark
boolean
默认值:false

是否添加水印。

seed
integer

随机种子。

camera_fixed
boolean
默认值:false

是否固定摄像头。

响应

任务已创建

id
string
示例:

"gen-abc123"

model
string
示例:

"doubao-seedance-1-0-pro-fast-251015"

status
string
示例:

"processing"

created_at
integer
示例:

1773130665