Task: Multi-Image-to-Video
Overview
- Method:
POST - Path:
/kling/v1/videos/multi-image2video - Content-Type:
application/json
Authentication
- Header:
Authorization: Bearer <token>
Example Request (main fields)
| Parameter | Type | Required | Description |
|---|---|---|---|
| model_name | string | Yes | Model version, currently only kling-v1-6 is supported |
| image_list | array | Yes | Reference image list (each item contains image field with URL or Base64) |
| prompt | string | No | Positive text prompt, <=2500 characters |
| negative_prompt | string | No | Negative text prompt, <=2500 characters |
| mode | string | No | Video quality mode: std, pro (pro costs 3.5x) |
| duration | string | No | Video duration in seconds: 5 or 10 (10 costs 2x) |
| aspect_ratio | string | No | Output aspect ratio: 16:9, 9:16, 1:1 (default 16:9) |
| callback_url | string | No | Task callback URL |
image_list item example
Each item is an object containing the image field (image URL or Base64).
curl Example
bash
curl -X POST "https://api.gpt.ge/kling/v1/videos/multi-image2video" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-xxxx" \
-d '{
"model_name":"kling-v1-6",
"image_list":[{"image":"https://p2.a.kwimgs.com/..."},{"image":"https://p2.a.kwimgs.com/..."}],
"prompt":"A young Chinese woman confidently walks across a wide green field...",
"mode":"std",
"duration":"5"
}'Success Response Example (200)
json
{
"code": 0,
"message": "SUCCEED",
"request_id": "CmYgjmbyMToAAAAAAF6svw",
"data": {
"task_id": "CmYgjmbyMToAAAAAAF6svw",
"task_status": "submitted",
"created_at": 1727338013674,
"updated_at": 1727338013674,
"task_result": {
"images": [
{"url": "https://...", "index": 0}
],
"videos": null
}
}
}