バーチャル試着
CometAPI Kling Virtual Try-On API を使用して、人物画像と衣類画像から、スタイルやフィット感を調整しながらリアルな着せ替え動画を作成します。
このエンドポイントを使用すると、1枚の人物画像と1枚の衣類画像からバーチャル試着画像を生成できます。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を1つ、cloth_imageを1つ指定しますkolors-virtual-try-on-v1またはkolors-virtual-try-on-v1-5から開始します- 最初のテストでは、きれいな衣類の商品画像や白背景の衣類画像を使用します
タスクの流れ
タスクをポーリング
承認
Bearer token authentication. Use your CometAPI key.
ボディ
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