멀티 이미지에서 이미지로
CometAPI의 Kling Multi-Image to Image 엔드포인트를 사용해 여러 입력 이미지로부터 새 이미지를 생성할 수 있으며, 간단한 POST 요청과 유연한 Content-Type을 지원합니다.
여러 피사체 참조 이미지와 선택적인 장면 또는 스타일 참조를 바탕으로 Kling이 하나의 이미지를 생성하도록 하려면 이 엔드포인트를 사용하세요.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.
호출 전에 확인할 사항
subject_image_list에 2~4개의 이미지를 제공하세요model_name: kling-v2를 사용하세요- 핵심 피사체 구성이 이미 잘 동작할 때만
scence_image또는style_image를 추가하세요 - 이를 비동기 생성 경로로 간주하고 반환된 task id를 저장하세요
작업 흐름
작업 폴링
인증
Bearer token authentication. Use your CometAPI key.
헤더
Content type of the request 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.