
Kling Multi-Elements Video Editing API
kling-multi-elementsKling Multi-Elements правит готовое видео на 2–5 или 7–10 секунд: добавляет объект с референсного изображения, заменяет отмеченный объект на объект с изображения или убирает отмеченный объект. Это один вызов API, и успех не гарантирован: результат зависит от того, насколько точно отмечен объект. Модель kling-multi-elements, от $0.42 за каждые 5 секунд результата; неудачные задачи не оплачиваются.
Kling Multi-Elements
The edit keeps the scene; one element is added, swapped or removed.
Refer to the video as <<<video_1>>> and the images as <<<image_1>>> / <<<image_2>>>. Replace the [brackets] with what you mean.
39/2500A 2-5 s input gives a 5 s result; a 7-10 s input gives 10 s.
$0.42 for this edit: 5 s of Standard 720p output
Billed per 5 seconds of output, only on success: std $0.42, pro $0.7 (10 s std $0.84, 10 s pro $1.40). Failed tasks are not charged.
An edit can fail or miss the element; success is not 100%. Clear marks and tight crops help most.
Calling it from code? See the API docs.
Result
The edited video will appear here
Добавить, заменить или убрать
addition вставляет объект с 1–2 референсных изображений, swap заменяет отмеченный объект на объект с референса, removal удаляет отмеченный объект
Один запрос, выделение внутри
Видео, отмеченные точки и промпт уходят одним вызовом; шаги выделения Kling и саму правку наш бэкенд выполняет за вас
Объект отмечается точками
selections перечисляет кадры по времени и точки в долях 0–1 от левого верхнего угла, до 10 кадров и 10 точек на кадр. В песочнице — пауза и клик
Входные данные по именам в промпте
Видео называется <<<video_1>>>, референсы — <<<image_1>>> и <<<image_2>>>; каждое изображение заранее обрежьте по объекту
720p или 1080p, 5 или 10 секунд
За каждые 5 секунд результата: std 720p $0.42, pro 1080p $0.70. Правка на 10 секунд в std — $0.84. Оплачиваются только успешные задачи
Ограничения сразу на виду
Входное видео — 2–5 или 7–10 секунд. Правка может сорваться или промахнуться мимо объекта, успех не гарантирован на 100%; неудачные задачи не оплачиваются
Kling Multi-Elements API: add, swap or remove one element in a video you already have
Kling Multi-Elements is the video editing model in Kuaishou's Kling API: send a 2 to 5 or 7 to 10 second clip, point at an element, and get back the same clip with that element added, swapped or removed.
On APIMODELS the Kling Multi-Elements API is one call, model kling-multi-elements on POST /v1/video/generations, billed per 5 seconds of output at $0.42 (720p) or $0.70 (1080p); a failed Kling Multi-Elements task is not charged, and success is not guaranteed on every edit.
- Model ID
kling-multi-elements- Edit modes
- Add · swap · remove
- Input video
- 2–5 s or 7–10 s
- Output
- 5 or 10 s · 720p or 1080p
- Billing
- $0.42 or $0.70 per 5 s
Kling Multi-Elements at a glance
What Kling Multi-Elements changes, what you give it, and where its limits are.
One element per edit
Add, swap or remove
Kling Multi-Elements keeps the rest of the clip and changes the one thing you name: a new object comes in, a marked object is replaced, or a marked object disappears.
edit_modeOne request
Selection flow included
Kling runs the edit in several steps: register the video, mark frames, then submit. On APIMODELS you send everything once and our backend runs those steps for you.
Points on a frame
Up to 10 frames × 10 points
selections says where the element is: a time in the input video and points given as fractions of the frame, measured from the top-left corner.
selectionsReference images
Cropped to the subject
addition takes 1 or 2 images and swap exactly 1. Kling Multi-Elements does not crop them for you, so trim each image to the object before you send it.
image_urlsShort inputs only
2–5 s or 7–10 s
The source clip must be 2 to 5 or 7 to 10 seconds, 720 to 2160 pixels on each side, at 24, 30 or 60 fps. Other lengths are rejected before any charge.
video_urlSuccess is not guaranteed
Failed tasks are free of charge
An edit can fail or miss the element. How well you mark and crop matters more than anything else; Kling Multi-Elements does not charge for a task that fails.
Three edit modes in Kling Multi-Elements
edit_mode picks the job; each mode takes its own number of images and its own prompt shape.
addition: put something new in
Kling Multi-Elements places the object from your reference image into the scene. Points are optional; use them to suggest where it should go.
image_urls1 or 2 images, cropped to the objectpromptUsing the context of <<<video_1>>>, seamlessly add [x] from <<<image_1>>>selectionsOptional
Упоминания в промпте<<<video_1>>> · <<<image_1>>> · <<<image_2>>>
swap: replace a marked element
Kling Multi-Elements replaces the element you mark in the video with the one in your reference image, and keeps the rest of the shot.
image_urlsExactly 1 image, cropped to the new objectpromptswap [x] from <<<image_1>>> for [x] from <<<video_1>>>selectionsRequired: mark the element to replace
Упоминания в промпте<<<video_1>>> · <<<image_1>>>
removal: delete a marked element
Kling Multi-Elements removes the element you mark from the shot and keeps everything else. No reference image is sent.
promptDelete [x] from <<<video_1>>>selectionsRequired: mark the element to delete
Упоминания в промпте<<<video_1>>>
The prompt must contain <<<video_1>>>, and addition and swap must also contain <<<image_1>>>; a request without them is rejected with a 400. negative_prompt is optional in every mode.
How to mark an element for Kling Multi-Elements
selections is a list of frames, each with the points that sit on the element.
Each entry in selections names a moment in the input video, either time in seconds or frame_index, and lists points as {"x": 0.52, "y": 0.40}. x and y are fractions of the frame width and height counted from the top-left corner, so 0.5, 0.5 is the centre of the picture whatever the resolution.
Put the points on the element itself, on frames where it is clearly visible. If the element moves across the clip, mark it on more than one frame. In the playground on this page you pause the video, click on the element and the fractions are worked out for you, including the black bars around a letterboxed preview.
| Field | What it holds | Limit |
|---|---|---|
| time | Seconds into the input video | Within the clip |
| frame_index | Frame number instead of time | Within the clip |
| points[].x | Fraction of the frame width from the left | 0 to 1 |
| points[].y | Fraction of the frame height from the top | 0 to 1 |
| Frames per request | Entries in selections | Up to 10 |
| Points per frame | Entries in points | Up to 10 |
What Kling Multi-Elements is used for
Edits of a clip you already shot or generated, each with what you send.
Put a product into existing footage
Send the clip, a cropped product photo in image_urls and edit_mode addition, with a prompt that says where the product belongs. Kling Multi-Elements places it into the scene without a new shoot.
additionimage_urlsSwap an outfit or an object
Mark the jacket, the mug or the poster in the clip, send one cropped image of the replacement and use edit_mode swap. Kling Multi-Elements keeps the motion and the rest of the shot.
swapselectionsRemove a stray object
Mark the object that should not be there, such as a cup left on a table or a passer-by's bag, and use edit_mode removal. Kling Multi-Elements takes it out of the shot and leaves the rest alone.
removalVariations of one generated clip
Take a clip from a text-to-video model and make versions with a different object in the same spot, one Kling Multi-Elements request per version, instead of regenerating the whole scene.
Not a fit for Kling Multi-Elements: clips of 5 to 7 seconds or longer than 10, edits that rewrite the whole scene or its style, or several unrelated changes at once. For prompt-led edits of a whole clip that keep its original sound, use Kling V3 Omni; for new footage, use a text-to-video model such as Kling 3.0 Turbo.
Kling Multi-Elements pricing
Per 5 seconds of output, by mode, only when the task succeeds.
$0.42
A default Kling Multi-Elements edit
5 seconds of output in std mode (720p). The largest edit, 10 seconds in pro mode (1080p), is $1.40.
| Mode | Resolution | 5 s output | 10 s output |
|---|---|---|---|
| std (default) | 720p | $0.42 | $0.84 |
| pro | 1080p | $0.70 | $1.40 |
Remove an object from a 4 s clip, std
$0.42
2–5 s input → 5 s output × $0.42 per 5 s
Swap an object in an 8 s clip, std
$0.84
7–10 s input → 10 s output, 2 × $0.42
Add a product to a 5 s clip, pro
$0.70
5 s output × $0.70 per 5 s
Any 10 s edit, pro
$1.40
2 × $0.70
Reference images and the selection steps add nothing to the price. Leave duration out and Kling Multi-Elements bills the length that follows from your input; a task that fails is not charged.
Kling Multi-Elements request parameters
Every field the Kling Multi-Elements API accepts, with its limits.
model
kling-multi-elements
The alias kling-video-edit reaches the same model.
kling-multi-elementsvideo_url
Required
MP4 or MOV, 2–5 s or 7–10 s, 720–2160 pixels on each side, 24, 30 or 60 fps.
video_urledit_mode
addition · swap · removal
Required. Decides how many reference images the request takes and whether selections are required.
edit_modeimage_urls
0, 1 or 2 images
addition 1–2, swap exactly 1, removal none. URL or base64, already cropped to the subject.
image_urlsprompt
Up to 2,500 characters
Required. Refer to the inputs as <<<video_1>>>, <<<image_1>>> and <<<image_2>>>; negative_prompt is optional.
promptnegative_promptselections
Up to 10 frames × 10 points
Required for swap and removal, optional for addition. Each frame has time or frame_index and points with x / y from 0 to 1.
selectionsmode
std (720p) · pro (1080p)
std by default: $0.42 per 5 seconds; pro $0.70 per 5 seconds.
modeduration
5 or 10 s
Optional. Omitted, it follows the input; 5 needs a 2–5 s input and 10 needs a 7–10 s input.
durationHow to call the Kling Multi-Elements API
From an API key to an edited clip in four steps.
Get an API key
Register on apimodels.app and generate a key in the console; the same key and USD balance work for Kling Multi-Elements and every other model in the catalog.
Prepare the inputs
Trim the video to 2–5 or 7–10 seconds, crop each reference image to its subject, and note a time and a few points on the element you want to change.
Send one request
POST to /v1/video/generations with model kling-multi-elements, video_url, edit_mode, image_urls, prompt and selections. A taskId comes back straight away; our backend runs the selection steps behind it.
Poll and download
Poll GET /v1/video/generations?task_id= every 10 to 15 seconds or pass callback_url. resultUrls holds the edited clip; files are kept for 30 days.
curl -X POST https://api.apimodels.app/v1/video/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-multi-elements",
"video_url": "https://example.com/kitchen-4s.mp4",
"edit_mode": "removal",
"prompt": "Delete the white cup on the table from <<<video_1>>>",
"selections": [
{ "time": 1.0, "points": [{ "x": 0.52, "y": 0.40 }, { "x": 0.55, "y": 0.44 }] }
],
"mode": "std"
}'
# { "code": 200, "msg": "success", "data": { "taskId": "clxxx", "state": "pending" } }
curl "https://api.apimodels.app/v1/video/generations?task_id=TASK_ID" -H "Authorization: Bearer YOUR_API_KEY"
# { "code": 200, "data": { "state": "completed", "resultUrls": ["https://r2.apimodels.app/videos/clxxx.mp4"] } }Kling Multi-Elements vs Kling V3 Omni on APIMODELS
Both edit a clip you already have. Kling Multi-Elements changes one element you point at, with a reference image for additions and swaps; Kling V3 Omni rewrites a clip from a prompt and can keep its original sound.
| Kling Multi-Elements | Kling V3 Omni | |
|---|---|---|
| Model id | kling-multi-elements | kling-v3-omni |
| What changes | One marked or added element | The clip, as the prompt describes |
| How you point at it | Points on frames (selections) | Prompt |
| Price | $0.42 or $0.70 per 5 s of output | From $0.088/s, $0.117/s with audio |
О модели Kling Multi-Elements
Kling Multi-Elements — это API категории «генерация видео» от Kling. Kling Multi-Elements — модель видеомонтажа в API Kling от Kuaishou: она меняет один объект в уже готовом коротком видео и возвращает отредактированный ролик. Режима правки три. addition добавляет в видео новый объект с одного или двух референсных изображений; swap заменяет отмеченный вами объект в видео на объект с референсного изображения; removal удаляет отмеченный объект. На APIMODELS это один вызов API — model kling-multi-elements (подходит и kling-video-edit) на POST /api/v1/video/generations, — а всю процедуру выделения в Kling наш бэкенд проходит за вас: регистрирует видео, отмечает указанные вами кадры и отправляет правку. Исходное видео передаётся в video_url: MP4 или MOV длиной от 2 до 5 секунд или от 7 до 10 секунд, ширина и высота от 720 до 2160 пикселей, 24, 30 или 60 кадров в секунду. edit_mode — addition, swap или removal. Референсные изображения идут в image_urls (одно или два для addition, ровно одно для swap, ни одного для removal), ссылкой или base64, и их нужно заранее обрезать по объекту: API сам их не кадрирует. Промпт обязателен, до 2500 символов, и обращается к входным данным как <<<video_1>>>, <<<image_1>>> и <<<image_2>>>, например: Using the context of <<<video_1>>>, seamlessly add the dog from <<<image_1>>>; swap the jacket from <<<image_1>>> for the jacket from <<<video_1>>>; или Delete the cup from <<<video_1>>>. negative_prompt необязателен. selections отмечает объект, который нужно изменить: это список кадров, у каждого time (секунда входного видео) или frame_index и точки вида {"x": 0.52, "y": 0.40}, где x и y — доли ширины и высоты кадра от левого верхнего угла; до 10 кадров и до 10 точек на кадр. Для swap и removal selections обязательны, для addition — по желанию. mode std даёт 720p, pro — 1080p (по умолчанию std). duration — 5 или 10 секунд результата; если не указать, он берётся по входному видео (2–5 с → 5, 7–10 с → 10). Оплата за каждые 5 секунд результата и только за успешную задачу: $0.42 в std и $0.70 в pro, то есть 5 секунд в std — $0.42, 10 секунд в std — $0.84, 5 секунд в pro — $0.70, 10 секунд в pro — $1.40. Ограничения, которые стоит учесть заранее: принимаются только входные видео на 2–5 или 7–10 секунд; результат зависит от того, насколько точно отмечен и обрезан объект; правка может сорваться или промахнуться мимо объекта, поэтому успех не гарантирован на 100%. Неудачные задачи не оплачиваются, а файлы результата удаляются через 30 дней. Через платформу APIMODELS доступ к этой модели идёт по единому API с прозрачной оплатой по факту использования. Текущая цена: Standard 720p · 5s output: $0.42, Standard 720p · 10s output: $0.84, Pro 1080p · 5s output: $0.7, Pro 1080p · 10s output: $1.4.
Похожая модель: Kling V3 Omni — когда нужно править готовый клип по промпту с сохранением исходного звука — от $0.088/с, со звуком $0.117/с
Похожая модель: Kling 3.0 Turbo — когда нужен новый ролик на 3–15 секунд со звуком из текста или первого кадра — от $0.112/с
Похожая модель: Kling AI Lip Sync — когда менять нужно речь человека в кадре — $0.07 за каждые начатые 5 секунд исходного видео
Ключевые возможности
- Добавить, заменить или убрать -- addition вставляет объект с 1–2 референсных изображений, swap заменяет отмеченный объект на объект с референса, removal удаляет отмеченный объект
- Один запрос, выделение внутри -- Видео, отмеченные точки и промпт уходят одним вызовом; шаги выделения Kling и саму правку наш бэкенд выполняет за вас
- Объект отмечается точками -- selections перечисляет кадры по времени и точки в долях 0–1 от левого верхнего угла, до 10 кадров и 10 точек на кадр. В песочнице — пауза и клик
- Входные данные по именам в промпте -- Видео называется <<<video_1>>>, референсы — <<<image_1>>> и <<<image_2>>>; каждое изображение заранее обрежьте по объекту
- 720p или 1080p, 5 или 10 секунд -- За каждые 5 секунд результата: std 720p $0.42, pro 1080p $0.70. Правка на 10 секунд в std — $0.84. Оплачиваются только успешные задачи
- Ограничения сразу на виду -- Входное видео — 2–5 или 7–10 секунд. Правка может сорваться или промахнуться мимо объекта, успех не гарантирован на 100%; неудачные задачи не оплачиваются
Сценарии использования
Рекламные ролики
Быстро собрать промо-видео бренда под рекламные кампании и продвижение в соцсетях.
Контент для соцсетей
Короткие вертикальные ролики для TikTok, Instagram и YouTube.
Демонстрация продукта
Показать возможности продукта и снять обучающие ролики, которые повышают конверсию.
Образовательный контент
Объяснения к курсам, разборы тем и обучающие видео — недорого и на потоке.
Почему APIMODELS
- Единый API — один ключ на все модели, не нужно регистрироваться на нескольких площадках
- Прозрачные цены — оплата по факту использования, стоимость вызова указана на странице каждой модели; удобно независимым разработчикам и небольшим командам
- Доступ сразу — можно начинать сразу после регистрации; оплата картой, через PayPal, Alipay или в USDT
- Полная документация — подробная документация API с примерами на cURL, Python и Node.js
Частые вопросы
Можно ли пользоваться Kling Multi-Elements бесплатно?
Нет. Бесплатного тарифа для Kling Multi-Elements в APIMODELS нет: каждая генерация списывается с предоплаченного баланса (пополнение от $10), неудачные генерации не оплачиваются. Новые аккаунты, зарегистрированные через личную почту или Alipay, один раз получают $0.30 пробного баланса, чтобы проверить работу API; для некоторых видеомоделей этого не хватит на полный ролик. Тестовый запуск на этой странице расходует тот же баланс.
Чем APIMODELS отличается от официального API Kling?
Модель Kling Multi-Elements та же самая — APIMODELS отдаёт её через свой мультимодальный AI API-шлюз. Один API-ключ и один баланс открывают и её, и все остальные модели, отдельный аккаунт у каждого поставщика не нужен, неудачные вызовы не списываются, а если модель работает на нескольких каналах, запрос при сбое автоматически уходит на другой.
Сколько стоит API Kling Multi-Elements?
Оплата идёт за каждые 5 секунд результата и только за успешную задачу: $0.42 в режиме std (720p) и $0.70 в режиме pro (1080p). Правка на 5 секунд в std стоит $0.42, 10 секунд в std — $0.84, 5 секунд в pro — $0.70, 10 секунд в pro — $1.40. Шаги выделения Kling идут внутри того же запроса и отдельно не оплачиваются, а неудачные задачи не оплачиваются.
Как вызвать API Kling Multi-Elements?
Создайте API-ключ на apimodels.app и отправьте POST на https://api.apimodels.app/v1/video/generations с model kling-multi-elements (подходит и kling-video-edit), video_url, edit_mode (addition, swap или removal), image_urls, если режим их требует, промптом, где входные данные названы <<<video_1>>> и <<<image_1>>>, и selections для swap и removal; mode (std или pro) и duration (5 или 10) необязательны. Это один запрос: процедуру выделения в Kling наш бэкенд проходит за вас. Опрашивайте GET /v1/video/generations?task_id= до completed и скачайте MP4 из resultUrls[0] в течение 30 дней.
Как отметить объект, который нужно заменить или убрать?
Через selections: это список кадров, у каждого time в секундах входного видео (или frame_index) и точки вида {"x": 0.52, "y": 0.40}, где x и y — доли ширины и высоты кадра от левого верхнего угла. До 10 кадров и до 10 точек на кадр. Ставьте точки на сам объект, на кадрах, где он хорошо виден. Для swap и removal selections обязательны, для addition — по желанию. В песочнице на этой странице достаточно поставить видео на паузу и кликнуть по объекту — координаты заполнятся сами.
Какой режим правки выбрать и сколько референсных изображений нужно?
addition добавляет новое по 1–2 референсным изображениям (Using the context of <<<video_1>>>, seamlessly add the dog from <<<image_1>>>). swap заменяет отмеченный объект на объект ровно с 1 референсного изображения (swap the jacket from <<<image_1>>> for the jacket from <<<video_1>>>). removal удаляет отмеченный объект и изображений не принимает (Delete the cup from <<<video_1>>>). Обрежьте каждое референсное изображение по объекту до отправки — API этого не делает. В промпте обязательно должно быть <<<video_1>>>, а для addition и swap ещё и <<<image_1>>>.
Какие видео можно править в Kling Multi-Elements?
MP4 или MOV длиной от 2 до 5 секунд или от 7 до 10 секунд, ширина и высота от 720 до 2160 пикселей, 24, 30 или 60 кадров в секунду. Другие длины, например ролик на 6 секунд или длиннее 10 секунд, отклоняются с кодом 400 до списания. Результат — 5 или 10 секунд: без duration длина берётся по входному видео, а если указать её самому, то 5 требует входа на 2–5 секунд, а 10 — на 7–10 секунд.
Почему правка не попала в объект? Гарантирован ли успех?
Нет, успех не гарантирован на 100%. Правка может сорваться, изменить не то или почти ничего не изменить. Больше всего помогает: точки на самом объекте в кадрах, где он хорошо виден, референсное изображение, плотно обрезанное по объекту, и промпт, где объект назван простыми словами. Если объект сильно двигается, отметьте его на нескольких кадрах. Неудачные задачи не оплачиваются.
Что умеет Kling Multi-Elements?
Kling Multi-Elements поддерживает: Add an Element, Swap an Element, Remove an Element, Point-Marked Selection, 2-5s or 7-10s Input, 720p / 1080p, One Request, From $0.42 per 5s. Полный список параметров и примеры вызовов — в документации APIMODELS.
Можно ли пользоваться API Kling Multi-Elements из России?
Со своей стороны APIMODELS не ограничивает доступ по странам: сайт и API принимают запросы откуда угодно, в том числе из России. Kling Multi-Elements вызывается одним ключом APIMODELS, отдельный аккаунт у разработчика модели не нужен. Пополнить баланс можно в USDT, через PayPal или международной картой — подробности в вопросе об оплате.
Как оплатить Kling Multi-Elements из России? Какие способы оплаты есть?
Баланс ведётся в долларах США. Пополнить его можно в USDT в сетях TRON (TRC20) или BNB Smart Chain (BEP20), через PayPal, международной картой Visa, Mastercard и других систем (через Stripe) или через Alipay. Карта, PayPal и Alipay зачисляются сразу, USDT — после подтверждения перевода в сети. Можно включить автопополнение. За пополнение на $50 начисляем бонус $1, на $100 — $3. Подписки нет, списание идёт по факту использования.