{
"contents": [
{
"type": "ref_image",
"url": "https://cdn.example.com/1.jpg"
},
{
"type": "ref_image",
"url": "https://cdn.example.com/2.jpg"
},
{
"type": "goods_title",
"text": "雨伞"
},
{
"type": "goods_description",
"text": "一把精美的雨伞"
}
],
"settings": {
"resolution": "1080p",
"aspect_ratio": "16:9",
"duration": 15
},
"options": {
"callback_url": "https://example.com/cb",
"external_task_id": "",
"watermark": {
"enabled": false
}
}
}curl --location '/kling/solutions/e-commerce/goods_studio' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
"contents": [
{
"type": "ref_image",
"url": "https://cdn.example.com/1.jpg"
},
{
"type": "ref_image",
"url": "https://cdn.example.com/2.jpg"
},
{
"type": "goods_title",
"text": "雨伞"
},
{
"type": "goods_description",
"text": "一把精美的雨伞"
}
],
"settings": {
"resolution": "1080p",
"aspect_ratio": "16:9",
"duration": 15
},
"options": {
"callback_url": "https://example.com/cb",
"external_task_id": "",
"watermark": {
"enabled": false
}
}
}'{
"code": 0,
"message": "SUCCEED",
"request_id": "58364cea-7eeb-4417-be58-bd8f2de16f9a",
"data": {
"task_id": "946944201705924101",
"status": "submitted",
"create_time": 1793876753146,
"update_time": 1793876753201
}
}