{
"contents": [
{
"type": "avatar_image",
"url": "https://cdn.example.com/person.jpg"
},
{
"type": "ref_image",
"url": "https://cdn.example.com/jbl-front.jpg"
},
{
"type": "ref_image",
"url": "https://cdn.example.com/jbl-side.jpg"
},
{
"type": "goods_title",
"text": "JBL GO 4 便携蓝牙音箱"
},
{
"type": "goods_price",
"text": "399元"
},
{
"type": "goods_target_audience",
"text": "露营人群"
},
{
"type": "goods_selling_point",
"text": "IP67级防尘防水"
},
{
"type": "speech_script",
"text": "周末出门,我不太想带一堆复杂设备。一只 JBL GO 4 便携蓝牙音箱,挂在包上就能带走。"
}
],
"settings": {
"resolution": "1080p",
"aspect_ratio": "9:16",
"allow_polish": true,
"voice_id": "male_calm_informative",
"action_prompt": "说到便携挂环时抬手展示挂环,语气轻松自然。",
"bgm_enabled": true
},
"options": {
"callback_url": "https://example.com/cb",
"external_task_id": "my_task_123",
"watermark": {
"enabled": false
}
}
}curl --location '/kling/solutions/talking_agent' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
"contents": [
{
"type": "avatar_image",
"url": "https://cdn.example.com/person.jpg"
},
{
"type": "ref_image",
"url": "https://cdn.example.com/jbl-front.jpg"
},
{
"type": "ref_image",
"url": "https://cdn.example.com/jbl-side.jpg"
},
{
"type": "goods_title",
"text": "JBL GO 4 便携蓝牙音箱"
},
{
"type": "goods_price",
"text": "399元"
},
{
"type": "goods_target_audience",
"text": "露营人群"
},
{
"type": "goods_selling_point",
"text": "IP67级防尘防水"
},
{
"type": "speech_script",
"text": "周末出门,我不太想带一堆复杂设备。一只 JBL GO 4 便携蓝牙音箱,挂在包上就能带走。"
}
],
"settings": {
"resolution": "1080p",
"aspect_ratio": "9:16",
"allow_polish": true,
"voice_id": "male_calm_informative",
"action_prompt": "说到便携挂环时抬手展示挂环,语气轻松自然。",
"bgm_enabled": true
},
"options": {
"callback_url": "https://example.com/cb",
"external_task_id": "my_task_123",
"watermark": {
"enabled": false
}
}
}'{
"code": 0,
"message": "SUCCEED",
"request_id": "3d0d19a8-2ff4-4be5-97bf-033f74995124",
"data": {
"task_id": "947221343928848649",
"status": "submitted",
"create_time": 1793937929353,
"update_time": 1793937929412
}
}