메인 콘텐츠로 건너뛰기
POST
/
kling
/
v1
/
videos
/
multi-image2video
Create a Kling multi-image-to-video task
curl --request POST \
  --url https://api.cometapi.com/kling/v1/videos/multi-image2video \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model_name": "kling-v1-6",
  "duration": "5",
  "image_list": [
    {
      "image": "https://h2.inkwai.com/bs2/upload-ylab-stunt/se/ai_portal_queue_mmu_image_upscale_aiweb/3214b798-e1b4-4b00-b7af-72b5b0417420_raw_image_0.jpg"
    },
    {
      "image": "https://h2.inkwai.com/bs2/upload-ylab-stunt/se/ai_portal_queue_mmu_image_upscale_aiweb/3214b798-e1b4-4b00-b7af-72b5b0417420_raw_image_0.jpg"
    },
    {
      "image": "https://filesystem.site/cdn/20250414/chxiLc2O45zoLT8BCrQ6WQlTvGDDnK.png"
    },
    {
      "image": "https://filesystem.site/cdn/20250414/chxiLc2O45zoLT8BCrQ6WQlTvGDDnK.png"
    }
  ],
  "prompt": "The astronauts got up and left."
}
'
{
  "code": 0,
  "message": "SUCCEED",
  "data": {
    "task_id": "861309198188019719",
    "task_status": "submitted",
    "task_info": {},
    "created_at": 1773380633979,
    "updated_at": 1773380633979
  }
}
소스 이미지 하나만으로는 충분하지 않고, 여러 이미지 참조를 바탕으로 Kling이 움직임을 구성하도록 하려면 이 엔드포인트를 사용하세요.

호출 전에 확인할 사항

  • image_list에 2~4개의 이미지를 준비하세요
  • model_name: kling-v1-6 또는 검증이 완료된 다른 최신 모델로 시작하세요
  • 첫 테스트는 단순하게 유지하세요: 짧은 프롬프트 하나, motion masks 없음, 추가 callback 설정 없음

작업 흐름

1

다중 이미지 요청 제출

이미지 목록, 프롬프트, duration을 전송한 다음, 반환된 Kling task_id를 저장하세요.
2

작업 폴링

작업이 최종 상태에 도달할 때까지 개별 조회를 계속 진행하세요.
3

결과 영구 저장

제공업체 전달 URL보다 더 오래 보관해야 한다면 완료된 비디오를 저장하세요.
2026-03-13의 실시간 검증에서 최소 2개 이미지 요청이 승인되었고 task_status: submitted가 반환되는 것이 확인되었습니다.
전체 파라미터 참조는 공식 Kling 문서를 확인하세요.

인증

Authorization
string
header
필수

Bearer token authentication. Use your CometAPI key.

본문

application/json
model_name
string
기본값:kling-v1-6
필수

Kling model variant to use. See the Models page for current options.

duration
string
기본값:5
필수

Output video length in seconds. Options: 5, 10.

image_list
object[]
필수

2 to 4 source images. Each item provides an image field as a public URL or Base64 string (without data: prefix). Accepted formats: JPG, JPEG, PNG. Maximum 10 MB per image, minimum 300×300 px, aspect ratio between 1:2.5 and 2.5:1.

prompt
string
기본값:The cat turns its head and blinks.
필수

Text prompt describing the desired motion. Maximum 500 characters.

negative_prompt
string

Elements to exclude from the video. Maximum 200 characters.

callback_url
string

Webhook URL to receive task status updates when the task completes.

mode
string

Generation mode. std for standard (faster), pro for professional (higher quality).

cfg_scale
number

Prompt adherence strength. Higher values follow the prompt more closely. Range: 0–1.

static_mask
string

Static brush mask image as a Base64 string or public URL. White areas are frozen in place during video generation. Must match the aspect ratio and resolution of the input image.

dynamic_masks
object

Dynamic brush configuration. Up to 6 groups, each containing a painted-area mask and a motion trajectory.

external_task_id
string

Custom task id for your own tracking. Does not replace the system-generated task id but can be used to query tasks. Must be unique per user.

응답

200 - application/json

Task accepted.

code
integer
필수

Error code; specifically define the error code

message
string
필수

error message

data
object
필수