bytedance-video エンドポイントを使用して、POST /volc/v3/contents/generations/tasks 経由で柔軟なパラメーターにより動画生成タスクを作成・管理します。
curl --request POST \
--url https://api.cometapi.com/volc/v3/contents/generations/tasks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "doubao-seedance-1-5-pro-251215",
"content": [
{
"type": "text",
"text": "A paper boat drifts on a quiet lake at sunrise. --duration 5 --ratio 16:9"
}
]
}
'{
"id": "021773297205999example"
}doubao-seedance-1-5-pro-251215 を使用してください。content 配列を通じて、テキストのみのリクエストと画像ガイド付きリクエストの両方を処理できます。出力が届くまでポーリング
content.video_url が存在するまで ByteDance Video Query を呼び出してください。Bearer token authentication. Use your CometAPI key.
ByteDance Seedance video model id. Choose a current model from the Models page. A current production example is doubao-seedance-1-5-pro-251215, which supports both text-only and image-guided requests through the same content array.
"doubao-seedance-1-5-pro-251215"
Ordered input items for the task. Put the main text instruction first. Add image items when you need first-frame or last-frame guidance.
Show child attributes
Optional webhook URL for task status notifications.
Task accepted.
Task id for later polling.
curl --request POST \
--url https://api.cometapi.com/volc/v3/contents/generations/tasks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "doubao-seedance-1-5-pro-251215",
"content": [
{
"type": "text",
"text": "A paper boat drifts on a quiet lake at sunrise. --duration 5 --ratio 16:9"
}
]
}
'{
"id": "021773297205999example"
}