Multi-Image naar afbeelding
Gebruik CometAPI’s Kling Multi-Image to Image-endpoint om nieuwe afbeeldingen te genereren uit meerdere invoeren, met eenvoudige POST-verzoeken en flexibele Content-Type.
Gebruik dit endpoint wanneer je wilt dat Kling één afbeelding genereert op basis van meerdere onderwerpverwijzingen plus optionele scène- of stijlverwijzingen.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 2 tot 4 afbeeldingen aan in
subject_image_list - Gebruik
model_name: kling-v2 - Voeg
scence_imageofstyle_imagealleen toe wanneer de kerncompositie van het onderwerp al goed werkt - Behandel dit als een asynchrone generatieroute en sla de geretourneerde task id op
Taakverloop
Dien de afbeelding-generatietaak in
Poll de taak
Autorisaties
Bearer token authentication. Use your CometAPI key.
Headers
Content type of the request body.
Body
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.