Beta 虚拟试衣
https://api.opensnake.cloud/kling/virtual-try-on
Kling Virtual Try-On generation with asynchronous task delivery.
Request Headers
authorizationstring
Bearer token
Request Body
asyncboolean
异步模式会先返回平台任务 ID,随后通过任务查询或回调获取结果。
Please select
contentsarrayRequired parameter
输入素材列表;每项由 type 和 text、url 或 voice_id 描述。具体组合与数量限制参见集成指南。
settingsobject
keep_faceboolean
Please select
keep_poseboolean
Please select
keep_backgroundboolean
Please select
watermarkboolean
是否同时返回带水印的生成结果。
Please select
callback_urlstring
任务完成后的回调通知地址。
Response
Integration guide
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.