Saltar al cuntegna

Kling 4.0 Reference to Video

Integrar

ID dal model kling/v4/reference-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/kling/v4/reference-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Datotecas sco l'exempel: $1,175 1 175 credits API · ≈ ₽123,02 tias datotecas vegnan mesiradas avant l'execuziun Lantschar sin questa pagina

Obtegna ina clav API
Kling Referenza a video Inputs da referenza3–30 sfin a 1080p #reference-to-video#multi-shot#image-reference#video-reference

Generescha videos da 3-30 secundas che mantegnan l'apparientscha da fin a 10 maletgs da referenza, 5 videos da referenza e 7 elements

Fatg sin Doitong

Ovras publicas fatgas cun Kling 4.0 da la communitad Doitong. Reutilisescha in prompt cun in clic.

Ovras publicas mussadas: 16
Оживи исходное изображение. Полностью сохрани внешность девушки, лицо, причёску, одежду, интерьер... Video

Оживи исходное изображение. Полностью сохрани внешность девушки, лицо, причёску, одежду, интерьер, цвета, композицию и русский текст. Девушка смотрит прямо на зрителя, естественно улыбается, моргает, слегка наклоняется вперёд и показывает пальцем на зрителя. Она естественно произносит по-русски:...

Оживи исходное изображение, полностью сохрани внешность девушки и дизайн розового персонажа, их л... Video

Оживи исходное изображение, полностью сохрани внешность девушки и дизайн розового персонажа, их лица, цвета, интерьер, композицию и существующий русский текст. Розовый персонаж оживает, смотрит на зрителя, радостно улыбается, моргает, слегка подпрыгивает и машет рукой. Он произносит по-русски:...

Make A warm, emotional 25 second video cinematic scene of a 4 years of boy with dark brown hair a... Video

Make A warm, emotional 25 second video cinematic scene of a 4 years of boy with dark brown hair and big eyes having a difficult moment—crying, reaching toward their mother, and showing frustration. The mother initially looks concerned,she listens him then gently kneels down, makes eye contact,...

Ты эксперт в медиа продвижении в социальных сетях --- Название рилс: "Ошибка №1 После Развода: По... Video

Ты эксперт в медиа продвижении в социальных сетях --- Название рилс: "Ошибка №1 После Развода: Почему ты тормозишь себя?" Хук (Первые 3-5 секунд): * Визуал: Крупный план вашего лица, выражающего легкое недоумение или задумчивость. Затем резкий переход к черно-белой картинке или затемнению. *...

🎬 Фильм «Мамы больше нет» Общий стиль для всех сцен: Фотореалистичный современный российский худо... Video

🎬 Фильм «Мамы больше нет» Общий стиль для всех сцен: Фотореалистичный современный российский художественный фильм. Настоящие люди, реальные человеческие лица, натуральная кожа, естественная мимика и движения. Реальная квартира, естественный дневной и вечерний свет, кинематографическая камера,...

Use the uploaded image as the exact identity and appearance reference. Create a short hyperrealis... Video

Use the uploaded image as the exact identity and appearance reference. Create a short hyperrealistic video where the woman keeps exactly the same face, identity, facial features, proportions, skin tone, hairstyle, bouquet, white shirt, pink balloons, candles “24”, and background. The motion must...

Медленное плавное приближение камеры к гигантскому флакону духов в миниатюрном ночном городе. Две... Video

Медленное плавное приближение камеры к гигантскому флакону духов в миниатюрном ночном городе. Две маленькие машины спокойно проезжают по дороге перед основанием флакона. Вдали едва заметно движется лёгкая дымка. Огни города мягко отражаются на мокром асфальте. Флакон стоит неподвижно. Его форма,...

Девушка всилит дома смотрит интернете ищет салон красоты ,находит салон,приходит в салон наш с ку... Video

Девушка всилит дома смотрит интернете ищет салон красоты ,находит салон,приходит в салон наш с кудрявыми волосами ,другой мастер кератиновое выпрямление волос ,и она смотрит на свои волосы в зеркало и очень счастлива и благодарит мастера Анастасию Render entirely in "Claymation" style — match its...

Construir ina dumonda

Ils controls vegnan generads dal schema dal model. Il code e ​​il pretsch s'actualiseschan durant che ti als midas.

88 / 2500

Instrucziuns da generaziun che ademplan il basegn da furnir u `prompt` u `multi_prompt`. Per far referenza a inputs furnids, utilisescha @Image1, @Video1, @Element1, e.u.v.

video_urls
Trametta in datoteca u · fin a 5

Fin a 5 videos da referenza, referenziads cun @Video1, @Video2, e.u.v.; mintgin dura 3–30 secundas (maximalmain 30.05 secundas), e lur durada totala ensemen cun ils videos dals elements na dastga betg surpassar 30 secundas. Mintga datoteca sto esser pli pitschna che 300 MB, cun ladezza ed autezza mintgina tranter 700 px e 4553 px. La proporziun sto esser tranter 0.40 e 2.50, e la frequenza tranter 23.9 e 60.05 FPS.

resolution standard 1080p

Resoluziun da l’output.

aspect_ratio standard 16:9

Proporziuns dal video, tschernidas explicitamain u deduidas da las referenzas cun la selecziun da 'auto'.

standard 5

Durada dal video en secundas, da 3 fin 30.

Avanzà image · images · multi_prompt · elements
start_image_url
Trametta in datoteca u

Maletg opziunal dal prim frame che vegn quintà envers la limita dals maletgs da referenza. La datoteca po avair maximalmain 30.0 MB; ladezza ed autezza ston avair mintgina 300 px, cun ina proporziun tranter 0.40 e 2.50.

image_urls
Trametta in datoteca u · fin a 10

Referenzas da maletgs referenziadas cun @Image1, @Image2, e.u.v., cun maximalmain 10 maletgs. Mintga datoteca è limitada a 30.0 MB, dovra almain 300 px en omaduas dimensiuns e sto avair ina proporziun tranter 0.40 e 2.50.

Instrucziuns da generaziun plan per plan, cun mintga prompt che definescha in plan, la durada dal qual contribuescha a la durada totala dal video.

Collecziun da fin a 7 persunas u objects, dals quals maximalmain 3 pon cuntegnair in `voice_id` e maximalmain 3 pon utilisar video. Referenziescha quests elements sco @Element1, @Element2, e.u.v.

POST /run/kling/v4/reference-to-video?wait=20 calculaziun → $1,175
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/kling/v4/reference-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Executar questa dumonda

Tia clav resta en quest browser: ella vegn tramessa mo al Doitong API e memorisada (localStorage) mo sch'ella scheccas Tiar a memoria. Obtegnair ina clav API

Davart Kling 4.0 Reference to Video

Crea in video a partir d'in `prompt` da text, plus maletgs da referenza, videos da referenza ed elements da persunas u objects, che vegnan citads en il prompt sco @Image1, @Video1 u @Element1. La durada varia da 3 fin 30 secundas (default 5), cun output en 720p u 1080p e proporziuns da l'ima auto, 16:9, 9:16, 1:1 u 21:9. Utilisescha `multi_prompt` per prompts per singulas scenas; en quest cas è la durada totala la summa da las duradas da las scenas. Ils limits èn 10 maletgs, 5 videos da 3-30s mintgin e 7 elements, dals quals fin a 3 pon cuntegnair ina vusch.

Parameters

Invia u il num canonic u il num nativ, betg omaduas. Nums canonics

NumTip StandardPermess Descripziun
promptopziunal
Tipstring | null
≤ 2 500 caracters
Instrucziuns da generaziun che ademplan il basegn da furnir u `prompt` u `multi_prompt`. Per far referenza a inputs furnids, utilisescha @Image1, @Video1, @Element1, e.u.v.
multi_promptopziunal
Tipobject[]
Instrucziuns da generaziun plan per plan, cun mintga prompt che definescha in plan, la durada dal qual contribuescha a la durada totala dal video.
multi_prompt[].promptobligatori
Tipstring
1 – 512 characters
Instrucziuns da text per il plan actual.
multi_prompt[].durationopziunal
Tipinteger
Standard5
1 – 30
Durada d’in plan singul, mesirada en secundas.
durationopziunal
Tipinteger
Standard5
3 – 30
Durada dal video en secundas, da 3 fin 30.
start_image_urlopziunal image
Tipurl · image
Maletg opziunal dal prim frame che vegn quintà envers la limita dals maletgs da referenza. La datoteca po avair maximalmain 30.0 MB; ladezza ed autezza ston avair mintgina 300 px, cun ina proporziun tranter 0.40 e 2.50.
image_urlsopziunal images
Tipurl[] · image
≤ 10 elements
Referenzas da maletgs referenziadas cun @Image1, @Image2, e.u.v., cun maximalmain 10 maletgs. Mintga datoteca è limitada a 30.0 MB, dovra almain 300 px en omaduas dimensiuns e sto avair ina proporziun tranter 0.40 e 2.50.
video_urlsopziunal videos
Tipurl[] · video
≤ 5 elements
Fin a 5 videos da referenza, referenziads cun @Video1, @Video2, e.u.v.; mintgin dura 3–30 secundas (maximalmain 30.05 secundas), e lur durada totala ensemen cun ils videos dals elements na dastga betg surpassar 30 secundas. Mintga datoteca sto esser pli pitschna che 300 MB, cun ladezza ed autezza mintgina tranter 700 px e 4553 px. La proporziun sto esser tranter 0.40 e 2.50, e la frequenza tranter 23.9 e 60.05 FPS.
elementsopziunal
Tipobject[]
≤ 7 elements
Collecziun da fin a 7 persunas u objects, dals quals maximalmain 3 pon cuntegnair in `voice_id` e maximalmain 3 pon utilisar video. Referenziescha quests elements sco @Element1, @Element2, e.u.v.
elements[].frontal_image_urlopziunal
Tipurl · image
Maletg frontal che mussa la vista principala da l’element. La datoteca po avair maximalmain 30.0 MB; omaduas dimensiuns ston avair almain 300 px, e la proporziun sto esser tranter 0.40 e 2.50.
elements[].reference_image_urlsopziunal
Tipurl[] · image
≤ 3 items
Maletgs supplementars che mussan differents anguls da l’element, cun 1 fin 3 vistas. Mintga datoteca po avair maximalmain 30.0 MB, sto mesirar almain 300 px en omaduas dimensiuns e sto avair ina proporziun tranter 0.40 e 2.50.
elements[].video_urlopziunal
Tipurl · video
Rapresentaziun video d’in element empè da maletgs, cun ina durada da 3–30 secundas (maximalmain 30.05 secundas). La datoteca na dastga betg surpassar 300 MB; ladezza ed autezza ston esser tranter 700–4553 px. Las proporziuns sustegnidas èn 0.40–2.50, cun frequenzas da 23.9–60.05 FPS.
elements[].voice_idopziunal
Tipstring | null
Vusch attribuida a l’element.
resolutionopziunal
Tipenum
Standard1080p
720p1080p
Resoluziun da l’output.
aspect_ratioopziunal
Tipenum
Standard16:9
auto16:99:161:121:9
Proporziuns dal video, tschernidas explicitamain u deduidas da las referenzas cun la selecziun da 'auto'.
obligatori Num canonic, er acceptà

Ils parameters da datotecas acceptan ina URL publica https://, ina URI data: fin a 10 MB u il file_url d'ina chargiada. Datotecas

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling/v4/reference-to-video",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 1175,
    "usd": "1.175",
    "charged": 1175,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Tias datotecas, tia decisiunMintga outputs[].url è ina copia en nossa memorisaziun: conservada per adina (pajà per GB-mes) u 7 dis gratuitamain, tenor la configuraziun dal conto u ?storage=.
La medema structura per mintga modeltype, url, content_type, width, height e duration, tant per maletgs sco per video e audio. output è l'object da resultat dal model sez.
Champs da l'output
video
object {url, content_type, file_name, file_size}Video producì dal model.

Dapli models: Referenza a video

Per agents AI: questa pagina sco Markdown è disponibla sut https://doitong.com/rm/developers/models/kling/v4/reference-to-video.md. Tut ils models e las guidas: https://doitong.com/developers/llms.txt