Virtual Try-On
Use a API Kling Virtual Try-On da CometAPI para criar vídeos realistas de troca de roupa a partir de uma imagem de pessoa e uma imagem de vestuário, com controles de estilo e caimento.
Use este endpoint para gerar uma imagem de prova virtual a partir de uma imagem de pessoa e uma imagem de vestuário.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.
Antes de chamar
- Forneça uma
human_imagee umacloth_image - Comece com
kolors-virtual-try-on-v1oukolors-virtual-try-on-v1-5 - Use fotos limpas do produto de vestuário ou imagens da peça com fundo branco no primeiro teste
Fluxo da tarefa
Envie a tarefa de prova virtual
Consulte a tarefa
Autorizações
Bearer token authentication. Use your CometAPI key.
Corpo
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