Bir Kling sanal deneme oluşturun
Bir kişi görseli ve bir kıyafet görselinden deneme görseli oluşturmak için CometAPI Kling Virtual Try-On API’yi kullanın.
Çağırmadan önce
- Bir
human_imageve bircloth_imagesağlayın kolors-virtual-try-on-v1veyakolors-virtual-try-on-v1-5ile başlayın- İlk test için temiz kıyafet ürün çekimleri veya beyaz arka planlı kıyafet görselleri kullanın
Görev akışı
Deneme görevini gönderin
Görevi sorgulayın
Sonucu kalıcı olarak saklayın
Yetkilendirmeler
Bearer token authentication. Use your CometAPI key.
Başlıklar
Must be application/json.
Gövde
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.