| 功能类型 | 输入要求 |
|---|---|
| 文生视频 | 仅需文本提示词,即可生成视频 |
| 图生视频-首帧 | 首帧图片 + 文本提示词,生成视频 |
image_urls 和 binary_data_base64 二选一传入即可,无需重复传参;prompt 指令实现,建议按镜头分段描述需求。{
// "binary_data_base64": [],
"image_urls": [
"https://xxx"
],
"prompt": "千军万马",
"seed": -1,
"frames": 121,
"aspect_ratio": "16:9"
}curl --location --request POST 'https://api.302.ai/doubao/drawing/jimeng_ti2v_v30_pro' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
// "binary_data_base64": [],
"image_urls": [
"https://xxx"
],
"prompt": "千军万马",
"seed": -1,
"frames": 121,
"aspect_ratio": "16:9"
}'{
"code": 10000,
"data": {
"task_id": "7602141718759103050"
},
"message": "Success",
"request_id": "20260209155643305BFF832C4EF115B228",
"status": 10000,
"time_elapsed": "34.970854ms"
}