Beta 电商口播
POSThttps://api.acedata.cloud/kling/video-commerce

Kling Video Commerce generation with asynchronous task delivery.

Agent integrations

Request Headers

authorizationstring
Bearer token

Request Body

asyncboolean
Asynchronous mode will first return the platform task ID, and then obtain the result 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, see the integration guide.
settingsobject
voice_idstring
resolutionstring
Please select
bgm_enabledboolean
Please select
speech_ratenumber
Please select
allow_polishboolean
Please select
aspect_ratiostring
Please select
action_promptstring
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.