Peke ki ngā ihirangi

Kling 4.0 Reference to Video

Whakauru

id tauira 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"

Ngā kōnae pēnei i te tauira: $ 1.175 1,175 whiwhinga API · ≈ ₽ 123.02 ka inea ō kōnae i mua i te whakahaere Whakahaerehia ki tēnei whārangi

Tikina he kī API
Kling Tohutoro ki te Ataata Ngā tāuru tohutoro3–30 stae atu ki 1080p #reference-to-video#multi-shot#image-reference#video-reference

Ka whakaputa ataata 3-30 hēkona te roa, ka mau tonu te āhua o ngā whakaahua tohutoro e 10 rawa atu, ngā ataata tohutoro e 5 me ngā huānga e 7

I hangaia ki Doitong

Ngā mahi tūmatanui i hangaia ki Kling 4.0 e te hapori Doitong. Whakamahia anō he tono mā te pāwhiri kotahi.

Ngā mahi tūmatanui kua whakaaturia: 16
Оживи исходное изображение. Полностью сохрани внешность девушки, лицо, причёску, одежду, интерьер... Ataata

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

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

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

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

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 После Развода: По... Ataata

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

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

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

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

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...

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

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

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

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

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

88 / 2500

Ngā tohutohu whakaputanga e tutuki ai te whakaritenga kia tukuna `prompt`, `multi_prompt` rānei. Hei tohu i ngā tāuru kua tukuna, whakamahia @Image1, @Video1, @Element1, me ērā atu.

video_urls
Whakataka he kōnae, · tae atu ki 5

Kia 5 ataata tohutoro mōrahi, ka tohua mā @Video1, @Video2, me ērā atu; he 3–30 hēkona te roa o ia mea (30.05 hēkona mōrahi), ā, kaua tō rātou roanga tapeke me ngā ataata huānga e nui ake i te 30 hēkona. Kaua ia kōnae e nui ake i te 300 MB, me te whānui me te teitei ki waenga i te 700 px me te 4553 px. Me noho te ōwehenga āhua ki waenga i te 0.40 me te 2.50, me te pāpātanga anga ki waenga i te 23.9 me te 60.05 FPS.

resolution taunoa 1080p

Te taumira o te putanga.

aspect_ratio taunoa 16:9

Ngā ōwehenga ataata, ka kōwhiria hāngai, ka ahu mai rānei i ngā tohutoro mā te kōwhiri 'auto'.

taunoa 5

Te roanga o te ataata ki te hēkona, mai i te 3 ki te 30.

Arā atu image · images · multi_prompt · elements
start_image_url
Whakataka he kōnae,

Atahanga anga-tuatahi kōwhiringa ka tatauria ki te tepenga atahanga tohutoro. Ko te rahi kōnae mōrahi he 30.0 MB; me 300 px neke atu te whānui me te teitei, me te ōwehenga āhua ki waenga i te 0.40 me te 2.50.

image_urls
Whakataka he kōnae, · tae atu ki 10

Ngā atahanga tohutoro ka tohua mā @Image1, @Image2, me ērā atu, kia 10 atahanga mōrahi. E herea ana ia kōnae ki te 30.0 MB, me 300 px neke atu ngā ahu e rua, me te ōwehenga āhua ki waenga i te 0.40 me te 2.50.

Ngā tohutohu whakaputanga mō ia hopunga, ā, ka tautuhi ia tohutohu i tētahi hopunga kotahi, ko tōna roanga he wāhanga o te roanga tapeke o te ataata.

He kohinga e 7 kiripuaki, ahanoa rānei mōrahi, ā, e 3 mōrahi ka āhei ki te whakauru `voice_id`, e 3 mōrahi hoki ka āhei ki te whakamahi ataata. Tohua ēnei huānga hei @Element1, @Element2, me ērā atu.

POST /run/kling/v4/reference-to-video?wait=20 utu → $ 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"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Kling 4.0 Reference to Video

Ka waihanga ataata mai i tētahi `prompt` kuputuhi me ngā atahanga tohutoro, ngā ataata tohutoro me ngā huānga kiripuaki, ahanoa rānei, ka tohua ki te tohutohu hei @Image1, @Video1, @Element1 rānei. Mai i te 3 ki te 30 hēkona te roanga (taunoa 5), ko te putanga he 720p, he 1080p rānei, ā, ko ngā ōwehenga āhuatanga he auto, 16:9, 9:16, 1:1, 21:9 rānei. Whakamahia te `multi_prompt` mō ngā tohutohu mō ia hopunga; i taua wā, ko te roanga katoa te tapeke o ngā roanga hopunga. Ko ngā tepenga he 10 atahanga, he 5 ataata 3-30s te roa o ia mea, me te 7 huānga, ā, tae atu ki te 3 o aua huānga ka taea te whai reo.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
promptkōwhiringa
Momostring | null
≤ 2,500 pūāhua
Ngā tohutohu whakaputanga e tutuki ai te whakaritenga kia tukuna `prompt`, `multi_prompt` rānei. Hei tohu i ngā tāuru kua tukuna, whakamahia @Image1, @Video1, @Element1, me ērā atu.
multi_promptkōwhiringa
Momoobject[]
Ngā tohutohu whakaputanga mō ia hopunga, ā, ka tautuhi ia tohutohu i tētahi hopunga kotahi, ko tōna roanga he wāhanga o te roanga tapeke o te ataata.
multi_prompt[].prompte hiahiatia ana
Momostring
1 – 512 characters
Ngā tohutohu kuputuhi mō te hopunga onāianei.
multi_prompt[].durationkōwhiringa
Momointeger
Taunoa5
1 – 30
Te roanga o tētahi hopunga kotahi, ka inea ki te hēkona.
durationkōwhiringa
Momointeger
Taunoa5
3 – 30
Te roanga o te ataata ki te hēkona, mai i te 3 ki te 30.
start_image_urlkōwhiringa image
Momourl · image
Atahanga anga-tuatahi kōwhiringa ka tatauria ki te tepenga atahanga tohutoro. Ko te rahi kōnae mōrahi he 30.0 MB; me 300 px neke atu te whānui me te teitei, me te ōwehenga āhua ki waenga i te 0.40 me te 2.50.
image_urlskōwhiringa images
Momourl[] · image
≤ 10 tūemi
Ngā atahanga tohutoro ka tohua mā @Image1, @Image2, me ērā atu, kia 10 atahanga mōrahi. E herea ana ia kōnae ki te 30.0 MB, me 300 px neke atu ngā ahu e rua, me te ōwehenga āhua ki waenga i te 0.40 me te 2.50.
video_urlskōwhiringa videos
Momourl[] · video
≤ 5 tūemi
Kia 5 ataata tohutoro mōrahi, ka tohua mā @Video1, @Video2, me ērā atu; he 3–30 hēkona te roa o ia mea (30.05 hēkona mōrahi), ā, kaua tō rātou roanga tapeke me ngā ataata huānga e nui ake i te 30 hēkona. Kaua ia kōnae e nui ake i te 300 MB, me te whānui me te teitei ki waenga i te 700 px me te 4553 px. Me noho te ōwehenga āhua ki waenga i te 0.40 me te 2.50, me te pāpātanga anga ki waenga i te 23.9 me te 60.05 FPS.
elementskōwhiringa
Momoobject[]
≤ 7 tūemi
He kohinga e 7 kiripuaki, ahanoa rānei mōrahi, ā, e 3 mōrahi ka āhei ki te whakauru `voice_id`, e 3 mōrahi hoki ka āhei ki te whakamahi ataata. Tohua ēnei huānga hei @Element1, @Element2, me ērā atu.
elements[].frontal_image_urlkōwhiringa
Momourl · image
Atahanga anga whakamua e whakaatu ana i te tirohanga matua o te huānga. Ko te rahi kōnae mōrahi he 30.0 MB; me 300 px neke atu ngā ahu e rua, me te ōwehenga āhua ki waenga i te 0.40 me te 2.50.
elements[].reference_image_urlskōwhiringa
Momourl[] · image
≤ 3 items
Ngā atahanga tāpiri e whakaatu ana i ngā koki rerekē o te huānga, kia 1 ki te 3 tirohanga. Kia 30.0 MB mōrahi ia kōnae, kia 300 px neke atu ngā ahu e rua, me te ōwehenga āhua ki waenga i te 0.40 me te 2.50.
elements[].video_urlkōwhiringa
Momourl · video
Whakaaturanga ataata o tētahi huānga hei whakakapi i ngā atahanga, e 3–30 hēkona te roa (30.05 hēkona mōrahi). Kaua te kōnae e nui ake i te 300 MB; me noho te whānui me te teitei ki roto i te 700–4553 px. Ko ngā ōwehenga āhua e tautokona ana ko 0.40–2.50, me ngā pāpātanga anga 23.9–60.05 FPS.
elements[].voice_idkōwhiringa
Momostring | null
Te reo kua tautapahia ki te huānga.
resolutionkōwhiringa
Momoenum
Taunoa1080p
720p1080p
Te taumira o te putanga.
aspect_ratiokōwhiringa
Momoenum
Taunoa16:9
auto16:99:161:121:9
Ngā ōwehenga ataata, ka kōwhiria hāngai, ka ahu mai rānei i ngā tohutoro mā te kōwhiri 'auto'.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
video
object {url, content_type, file_name, file_size}Ataata i whakaputaina e te tauira.

Ētahi atu tauira: Tohutoro ki te Ataata

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/kling/v4/reference-to-video.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt