kling
虚拟试衣
使用 CometAPI Kling 虚拟试衣 API,通过一张人物图片和一张服装图片创建逼真的换装视频,并支持风格和贴合度控制。
POST
Virtual Try-On
使用此端点可根据一张人物图片和一张服装图片生成虚拟试衣图像。Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
调用前准备
- 提供一张
human_image和一张cloth_image - 从
kolors-virtual-try-on-v1或kolors-virtual-try-on-v1-5开始 - 首次测试时,使用干净的服装商品图或白底服装图片
任务流程
轮询任务
继续使用 单项查询,直到任务进入终态并返回渲染后的图像。
授权
Bearer token authentication. Use your CometAPI key.
请求体
application/json
Person image to dress. Accepts an image URL or raw Base64 string (no data: prefix). Formats: JPG, JPEG, PNG. Max 10 MB, minimum 300×300 px.
Clothing image for the try-on. Accepts an image URL or raw Base64 string (no data: prefix). Formats: JPG, JPEG, PNG. Max 10 MB, minimum 300×300 px. Supports tops, bottoms, and one-piece dresses. The v1-5 model also accepts a combined top+bottom image stitched together.
Webhook URL for task status notifications.
Virtual try-on model version.
可用选项:
kolors-virtual-try-on-v1, kolors-virtual-try-on-v1-5