curl --request POST \
--url https://ai.cubeuaeai.com/kling/v1/videos/multi-image2video \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"image_list": [
{
"image": "<string>"
}
],
"prompt": "Four characters sitting around a campfire sharing stories",
"model_name": "kling-v1-6",
"negative_prompt": "<string>",
"mode": "std",
"duration": "5",
"aspect_ratio": "16:9",
"watermark_info": {
"enabled": true
},
"callback_url": "<string>",
"external_task_id": "<string>"
}
'import requests
url = "https://ai.cubeuaeai.com/kling/v1/videos/multi-image2video"
payload = {
"image_list": [{ "image": "<string>" }],
"prompt": "Four characters sitting around a campfire sharing stories",
"model_name": "kling-v1-6",
"negative_prompt": "<string>",
"mode": "std",
"duration": "5",
"aspect_ratio": "16:9",
"watermark_info": { "enabled": True },
"callback_url": "<string>",
"external_task_id": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
image_list: [{image: '<string>'}],
prompt: 'Four characters sitting around a campfire sharing stories',
model_name: 'kling-v1-6',
negative_prompt: '<string>',
mode: 'std',
duration: '5',
aspect_ratio: '16:9',
watermark_info: {enabled: true},
callback_url: '<string>',
external_task_id: '<string>'
})
};
fetch('https://ai.cubeuaeai.com/kling/v1/videos/multi-image2video', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://ai.cubeuaeai.com/kling/v1/videos/multi-image2video",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'image_list' => [
[
'image' => '<string>'
]
],
'prompt' => 'Four characters sitting around a campfire sharing stories',
'model_name' => 'kling-v1-6',
'negative_prompt' => '<string>',
'mode' => 'std',
'duration' => '5',
'aspect_ratio' => '16:9',
'watermark_info' => [
'enabled' => true
],
'callback_url' => '<string>',
'external_task_id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://ai.cubeuaeai.com/kling/v1/videos/multi-image2video"
payload := strings.NewReader("{\n \"image_list\": [\n {\n \"image\": \"<string>\"\n }\n ],\n \"prompt\": \"Four characters sitting around a campfire sharing stories\",\n \"model_name\": \"kling-v1-6\",\n \"negative_prompt\": \"<string>\",\n \"mode\": \"std\",\n \"duration\": \"5\",\n \"aspect_ratio\": \"16:9\",\n \"watermark_info\": {\n \"enabled\": true\n },\n \"callback_url\": \"<string>\",\n \"external_task_id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://ai.cubeuaeai.com/kling/v1/videos/multi-image2video")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"image_list\": [\n {\n \"image\": \"<string>\"\n }\n ],\n \"prompt\": \"Four characters sitting around a campfire sharing stories\",\n \"model_name\": \"kling-v1-6\",\n \"negative_prompt\": \"<string>\",\n \"mode\": \"std\",\n \"duration\": \"5\",\n \"aspect_ratio\": \"16:9\",\n \"watermark_info\": {\n \"enabled\": true\n },\n \"callback_url\": \"<string>\",\n \"external_task_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ai.cubeuaeai.com/kling/v1/videos/multi-image2video")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"image_list\": [\n {\n \"image\": \"<string>\"\n }\n ],\n \"prompt\": \"Four characters sitting around a campfire sharing stories\",\n \"model_name\": \"kling-v1-6\",\n \"negative_prompt\": \"<string>\",\n \"mode\": \"std\",\n \"duration\": \"5\",\n \"aspect_ratio\": \"16:9\",\n \"watermark_info\": {\n \"enabled\": true\n },\n \"callback_url\": \"<string>\",\n \"external_task_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "860260753860210752",
"task_id": "860260753860210752",
"object": "video",
"model": "kling-v1-6",
"status": "<string>",
"progress": 0,
"created_at": 1773130665
}Kling 1.6 Multi-Image-to-Video
Generate a video from multiple reference images (up to 4) using the kling-v1-6 model.
curl --request POST \
--url https://ai.cubeuaeai.com/kling/v1/videos/multi-image2video \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"image_list": [
{
"image": "<string>"
}
],
"prompt": "Four characters sitting around a campfire sharing stories",
"model_name": "kling-v1-6",
"negative_prompt": "<string>",
"mode": "std",
"duration": "5",
"aspect_ratio": "16:9",
"watermark_info": {
"enabled": true
},
"callback_url": "<string>",
"external_task_id": "<string>"
}
'import requests
url = "https://ai.cubeuaeai.com/kling/v1/videos/multi-image2video"
payload = {
"image_list": [{ "image": "<string>" }],
"prompt": "Four characters sitting around a campfire sharing stories",
"model_name": "kling-v1-6",
"negative_prompt": "<string>",
"mode": "std",
"duration": "5",
"aspect_ratio": "16:9",
"watermark_info": { "enabled": True },
"callback_url": "<string>",
"external_task_id": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
image_list: [{image: '<string>'}],
prompt: 'Four characters sitting around a campfire sharing stories',
model_name: 'kling-v1-6',
negative_prompt: '<string>',
mode: 'std',
duration: '5',
aspect_ratio: '16:9',
watermark_info: {enabled: true},
callback_url: '<string>',
external_task_id: '<string>'
})
};
fetch('https://ai.cubeuaeai.com/kling/v1/videos/multi-image2video', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://ai.cubeuaeai.com/kling/v1/videos/multi-image2video",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'image_list' => [
[
'image' => '<string>'
]
],
'prompt' => 'Four characters sitting around a campfire sharing stories',
'model_name' => 'kling-v1-6',
'negative_prompt' => '<string>',
'mode' => 'std',
'duration' => '5',
'aspect_ratio' => '16:9',
'watermark_info' => [
'enabled' => true
],
'callback_url' => '<string>',
'external_task_id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://ai.cubeuaeai.com/kling/v1/videos/multi-image2video"
payload := strings.NewReader("{\n \"image_list\": [\n {\n \"image\": \"<string>\"\n }\n ],\n \"prompt\": \"Four characters sitting around a campfire sharing stories\",\n \"model_name\": \"kling-v1-6\",\n \"negative_prompt\": \"<string>\",\n \"mode\": \"std\",\n \"duration\": \"5\",\n \"aspect_ratio\": \"16:9\",\n \"watermark_info\": {\n \"enabled\": true\n },\n \"callback_url\": \"<string>\",\n \"external_task_id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://ai.cubeuaeai.com/kling/v1/videos/multi-image2video")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"image_list\": [\n {\n \"image\": \"<string>\"\n }\n ],\n \"prompt\": \"Four characters sitting around a campfire sharing stories\",\n \"model_name\": \"kling-v1-6\",\n \"negative_prompt\": \"<string>\",\n \"mode\": \"std\",\n \"duration\": \"5\",\n \"aspect_ratio\": \"16:9\",\n \"watermark_info\": {\n \"enabled\": true\n },\n \"callback_url\": \"<string>\",\n \"external_task_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ai.cubeuaeai.com/kling/v1/videos/multi-image2video")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"image_list\": [\n {\n \"image\": \"<string>\"\n }\n ],\n \"prompt\": \"Four characters sitting around a campfire sharing stories\",\n \"model_name\": \"kling-v1-6\",\n \"negative_prompt\": \"<string>\",\n \"mode\": \"std\",\n \"duration\": \"5\",\n \"aspect_ratio\": \"16:9\",\n \"watermark_info\": {\n \"enabled\": true\n },\n \"callback_url\": \"<string>\",\n \"external_task_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "860260753860210752",
"task_id": "860260753860210752",
"object": "video",
"model": "kling-v1-6",
"status": "<string>",
"progress": 0,
"created_at": 1773130665
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Reference image list (1–4). Format: .jpg/.jpeg/.png, ≤10MB, minimum 300px, aspect ratio 1:2.5–2.5:1。
1 - 4 elementsShow child attributes
Show child attributes
Positive text prompt. Required. Maximum 2500 characters.
2500"Four characters sitting around a campfire sharing stories"
Model name
kling-v1-6 "kling-v1-6"
Negative text prompt. Maximum 2500 characters.
2500std: standard mode (better value). pro: professional mode (higher quality).
std, pro Video duration in seconds, 5 or 10.
5, 10 "5"
Aspect ratio of the generated video (width:height).
16:9, 9:16, 1:1 "16:9"
Show child attributes
Show child attributes
Callback URL for task status changes
Custom task ID. Must be unique within the same account.