Beta 商品视频
POSThttps://hsyunapi.hszl-bd.cn/kling/goods-studio

Kling Goods Studio generation with asynchronous task delivery.

Agent integrations

Request Headers

authorizationstring
Bearer token

Request Body

asyncboolean
In asynchronous mode, the platform task ID is returned first, and the result is then obtained through task query or callback.
Please select
contentsarrayRequired parameter
Input material list; each item is described by type and text, url, or voice_id. For specific combinations and quantity limits, refer to the integration guide.
settingsobjectRequired parameter
durationintegerRequired parameter
resolutionstring
Please select
aspect_ratiostringRequired parameter
watermarkboolean
Whether to return the generated result with a watermark at the same time.
Please select
callback_urlstring
Callback notification address after the task is completed.

Response

Integration guide

Shell

Python

JavaScript

Java

Go

PHP

Kind reminder: For streaming requests, the above code may not be fully applicable. Please refer to the integration documentation for changes.

Kling video generation
Allow Use General Balance

When 'Allow General Balance' is enabled, the general balance is used automatically if an app's balance is insufficient.