Kling 가상 피팅 생성하기
CometAPI Kling Virtual Try-On API를 사용해 인물 이미지와 의류 이미지로 가상 피팅 이미지를 생성합니다.
호출 전에 확인할 사항
human_image1개와cloth_image1개를 제공하세요kolors-virtual-try-on-v1또는kolors-virtual-try-on-v1-5로 시작하세요- 첫 테스트에서는 깔끔한 의류 제품 사진이나 흰 배경의 의류 이미지를 사용하세요
작업 흐름
가상 피팅 작업 제출
작업 폴링
결과 저장
인증
Bearer token authentication. Use your CometAPI key.
헤더
Must be application/json.
본문
Person image to dress. Image URL or raw Base64 string without a data: prefix. Supported formats: JPG, JPEG, PNG. Maximum 10 MB, minimum 300x300 px, aspect ratio between 1:2.5 and 2.5:1.
Clothing image for the try-on. Image URL or raw Base64 string without a data: prefix. Supported formats: JPG, JPEG, PNG. Maximum 10 MB, minimum 300x300 px, aspect ratio between 1:2.5 and 2.5:1. Supports tops, bottoms, and one-piece dresses.
Virtual try-on model version. Defaults to kolors-virtual-try-on-v1.
kolors-virtual-try-on-v1, kolors-virtual-try-on-v1-5 Webhook URL for task status notifications.
Optional user-defined task ID for your own tracking. Must be unique per account.