Docs Kling /kling/v1/videos/multi-elements
API reference

multimodal video

POST/kling/v1/videos/multi-elements

Body Parametersapplication/json

callback_url string

Callback URL invoked on task completion

duration* string

Generated video duration (seconds) enum: 5, 10

edit_mode* string

operation type enum: addition, swap, removal, where: addition: add elementswap: swap elementremoval: remove element

external_task_id string

Custom external task ID for business-side correlation

image_list array

cropped reference image

items
string string

Recommended prompt templates. Add: Using the context of <<<video_1>>>, seamlessly add [x] from <<<image_1>>>. Swap: swap [x] from <<<image_1>>> for [x] from <<<video_1>>>. Remove: Delete [x] from <<<video_1>>>. Chinese brackets / English [x] are user-filled parts.

mode* string

Video generation mode enum: std, pro std: standard / cost-effective pro: expert / higher quality

model_name* string

Model name enum: kling-v1-6

negative_prompt string

negative text prompt

prompt* string

positive text prompt

session_id* string

session ID from video init; unchanged by selection edits

Responses

200 application/json
response-200 object
400 Bad request or validation failed application/json
response-400 object
properties
error* object
401 Missing or invalid API Key application/json
response-401 object
Request Body Example
1{
2"callback_url": "",
3"duration": "5",
4"edit_mode": "",
5"external_task_id": "",
6"image_list": [],
7"mode": "std",
8"model_name": "kling-v1-6",
9"negative_prompt": "",
10"prompt": "",
11"session_id": ""
12}
Code Sample cURL
1curl -X POST "https://api.digislash.com/kling/v1/videos/multi-elements" \
2-H "Authorization: Bearer <API Key>" \
3-H "Content-Type: application/json" \
4-d '{
5"callback_url": "",
6"duration": "5",
7"edit_mode": "",
8"external_task_id": "",
9"image_list": [],
10"mode": "std",
11"model_name": "kling-v1-6",
12"negative_prompt": "",
13"prompt": "",
14"session_id": ""
15}'
Response
1▼{
2"code": 0,
3▼"data": {
4"task_id": "task_example_001"
5},
6"message": "success"
7}