Virtuele pasbeurt
Gebruik de CometAPI Kling Virtual Try-On API om realistische video’s van outfitwissels te maken op basis van een afbeelding van een persoon en een kledingafbeelding, met bediening voor stijl en pasvorm.
Voor je het aanroept
- Lever één
human_imageen ééncloth_imageaan - Begin met
kolors-virtual-try-on-v1ofkolors-virtual-try-on-v1-5 - Gebruik voor de eerste test cleane productfoto’s van kleding of kledingafbeeldingen met witte achtergrond
Taakstroom
Dien de pasbeurttaak in
Poll de taak
Autorisaties
Bearer token authentication. Use your CometAPI key.
Body
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