Çoklu Görselden Görsele
Birden fazla girdiden yeni görseller üretmek için CometAPI’nin Kling Multi-Image to Image endpoint’ini basit POST istekleri ve esnek Content-Type ile kullanın.
Kling’in birden fazla konu referansına ek olarak isteğe bağlı sahne veya stil referanslarından tek bir görsel üretmesini istediğinizde bu endpoint’i kullanın.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.
Çağırmadan önce
subject_image_listiçinde 2 ila 4 görsel sağlayınmodel_name: kling-v2kullanınscence_imageveyastyle_imagedeğerini yalnızca çekirdek konu kompozisyonu zaten düzgün çalışıyorsa ekleyin- Bunu async bir üretim rotası olarak değerlendirin ve döndürülen task id’yi kaydedin
Görev akışı
Görsel üretim görevini gönderin
Görevi sorgulayın
Yetkilendirmeler
Bearer token authentication. Use your CometAPI key.
Başlıklar
Content type of the request body.
Gövde
Kling Image Generation API request body definition
List of subject reference images. Minimum 2, maximum 4.
Model to use for multi-image generation.
kling-v2 Text prompt describing the desired output. Max 2500 characters.
Optional scene reference image. Same format and size constraints as subject images.
Optional style reference image. Same format and size constraints as subject images.
Number of images to generate.
Aspect ratio of the generated image (width:height).
16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9 Webhook URL for task status notifications. The server sends a callback when the task status changes.
Optional user-defined task ID for your own tracking. Does not replace the system-generated task ID. Must be unique per account.