Kling V3 Turbo - Image to Video
kling-v3-turbo-i2v
Kirin V3 Turbo image-to-video generation interface. Supports one input image, 720P to 4K video output, 3 to 15 second duration, sound generation, prompt enhancement, and subject reference.
Примечание к API
Заголовок раздела «Примечание к API»kling-v3-turbo-i2v supports only one input image.
kling-v3-turbo-i2v does not support aspect_ratio, image_tail, last_frame_url, or last_frame_file_id.
Эндпоинты
Заголовок раздела «Эндпоинты»POST /v1/queue/kling-v3-turbo-i2v # Создать задачуGET /v1/queue/kling-v3-turbo-i2v/requests/{request_id}/status # Проверить статусGET /v1/queue/kling-v3-turbo-i2v/requests/{request_id}/response # Получить результатPUT /v1/queue/kling-v3-turbo-i2v/requests/{request_id}/cancel # Отменить задачуПараметры запроса
Заголовок раздела «Параметры запроса»curl --request 'POST' 'https://odirouter.ai/model/v1/queue/kling-v3-turbo-i2v' \ --header 'Authorization: Bearer YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --location \ --data-raw '{ "contents": [ { "type": "prompt", "text": "A girl sat on the train, looking out the window with a melancholic expression, her head swaying with the train." }, { "type": "first_frame", "url": "https://p2-kling.klingai.com/kcdn/cdn-kcdn112452/kling-tob-release_note/image_25.png" } ], "settings": { "resolution": "1080p", "duration": 10 }, "options": { "external_task_id": "", "watermark_info": { "enabled": true } }}'image string required
Заголовок раздела «image string required»Input image used as the first frame reference.
Supports Base64 encoded image or image URL. Ensure image URLs are publicly accessible.
Image requirements:
Format: .jpg, .jpeg, .png
File size: Less than 10MB
Dimensions: Width and height at least 300px
prompt string
Заголовок раздела «prompt string»Video generation prompt. You can include positive and negative descriptions in the same prompt.
resolution string
Заголовок раздела «resolution string»Video output resolution.
Options: 720P, 1080P, 2K, 4K
Default: 720P
duration integer | string
Заголовок раздела «duration integer | string»Generated video duration in seconds.
Options: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
Default: 5
sound string
Заголовок раздела «sound string»Whether to generate sound with the video.
Options: on, off
Default: off
enhance_prompt boolean | string
Заголовок раздела «enhance_prompt boolean | string»Whether to enable prompt enhancement.
Options: true, false, on, off, enabled, disabled
element_list array
Заголовок раздела «element_list array»Subject reference list. Configure subject references with subject IDs from the subject library.
To create a subject, refer to: kirin_custom_elements
"element_list": [ { "element_id": 123456 }]Параметры ответа
Заголовок раздела «Параметры ответа»{ "request_id": "task_01hxyz...", "response_url": "https://odirouter.ai/model/v1/queue/kling-v3-turbo-i2v/requests/task_01hxyz.../response", "status_url": "https://odirouter.ai/model/v1/queue/kling-v3-turbo-i2v/requests/task_01hxyz.../status", "cancel_url": "https://odirouter.ai/model/v1/queue/kling-v3-turbo-i2v/requests/task_01hxyz.../cancel", "queue_position": 0}| Поле | Тип | Описание |
|---|---|---|
request_id | string | Идентификатор задачи для последующей проверки статуса, получения результата и отмены. |
response_url | string | URL для получения итогового результата. |
status_url | string | URL для проверки статуса задачи. |
cancel_url | string | URL для отмены задачи. |
queue_position | int | Текущая позиция в очереди. |