curl -X POST https://vip.xmsmartlink.com//v1/task/create \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $API_KEY" \
-H "X-Trace-ID: $TRACE_ID" \
-d '{
"model": "doubao-seedance-2.0",
"content": [
{
"type": "text",
"text": "全程使用视频1的第一视角构图,全程使用音频1作为背景音乐,生成一段果茶宣传视频。"
},
{
"type": "image_url",
"image_url": {
"url": "https://example.com/image1.jpg"
},
"role": "reference_image"
},
{
"type": "video_url",
"video_url": {
"url": "https://example.com/video1.mp4"
},
"role": "reference_video"
},
{
"type": "audio_url",
"audio_url": {
"url": "https://example.com/audio1.mp3"
},
"role": "reference_audio"
}
],
"generate_audio": true,
"ratio": "16:9",
"duration": 11,
"watermark": false
}'