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

Kling Video Commerce generation with asynchronous task delivery.

Agent integrations

Request Headers

authorizationstring
Bearer token

Request Body

asyncboolean
异步模式会先返回平台任务 ID,随后通过任务查询或回调获取结果。
Please select
contentsarrayRequired parameter
输入素材列表;每项由 type 和 text、url 或 voice_id 描述。具体组合与数量限制参见集成指南。
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
是否同时返回带水印的生成结果。
Please select
callback_urlstring
任务完成后的回调通知地址。

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.