Virtueel Passen
Gebruik de CometAPI Kling Virtual Try-On API om realistische outfit-wisselvideo’s te maken op basis van een afbeelding van een persoon en een kledingafbeelding, met stijl- en pasvorminstellingen.
Gebruik dit endpoint om een virtuele pasafbeelding te genereren op basis van één persoonsafbeelding en één kledingafbeelding.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.
Voordat 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 duidelijke productfoto’s van kleding of kledingafbeeldingen met een witte achtergrond
Taakverloop
Dien de pas-taak 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