Dža ko lil

Kling O1 Reference Video to Video [Pro]

Integriruj

Modelosko id kling-video/o1/video-to-video/reference
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/kling-video/o1/video-to-video/reference?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

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

Kava mangipen: $0.84 840 API krediti Phir les kate

Lel API klidin

Kerdo pe Doitong

Publikane khera kerde Kling O1-sa e Doitong komunitetostar. Pheripen jekh prompto ande jekh klik.

Sikade publikane kerimata: 16
**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Video

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Video

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Video

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе... Video

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе с панорамными окнами. Внутри деревянный интерьер, мягкие диваны и живые цветы. Они садятся за столик, перед ними стоят дымящиеся чашки чая. Мягкий свет ламп создает уют. Средний план, уровень глаз. (...

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Video

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты вн... Video

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

A five-second orbital camera move circling completely around a red-haired woman in a yellow rainc... Video

A five-second orbital camera move circling completely around a red-haired woman in a yellow raincoat standing in an autumn forest holding a vintage lantern, she remains stationary facing forward while the camera circles 180 degrees from her left side to her right side at eye level, golden fallen...

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a w... Video

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a wooden cutting board in a bright kitchen, camera suddenly swings in a rapid blur motion panning right at high speed creating motion blur, ending sharply focused on a barista pouring latte art in a...

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

•trubul 88 / 2500

Ordenoske referenca istiven @Element1, @Element2, thaj avka majdur e elementonge, thaj @Image1, @Image2, thaj avka majdur e kiponge.

•trubul video_url
Čhiv jekh fajl, vaj

URL e referencakre videosko ande .mp4 vaj .mov formato, na buter 200MB. Duj dimensiona musaj te aven maškar 720px thaj 2160px, kadroni brzinasar 24.0–60.0 FPS thaj lungipasa 3–10 sekunda (maksimalno 10.05 sekunda). E timeout si 30.0 sekunda.

duration 5 s

Videosqi lungepen merime ande sekunda.

aspect_ratio standardno auto

Kadroenge širimosko thaj učipesko ratio ande kerdo video. Kana alosarel pes 'auto', o ratio alosarel pes avtomatikane, najpašeder e inputone videoske ratioske.

Lučhe images · enable_safety_checker · keep_audio · elements
image_urls
Čhiv jekh fajl, vaj

Kipura save sikaven stilosa vaj dikhipasa, adresade andre prompto @Image1, @Image2, thaj avka majdur. Videoske inputosa e elementura thaj referencakre kipura khetane na šaj te aven buter 4 zapisi. Sako fajlo si limitosar 50 MB, e largura thaj e uči najman 300 px, aspektosko ratio 0.40 dži 2.50.

Karakterura vaj objektoja save trubun te aven andre, adresade andre prompto @Element1, @Element2, thaj avka majdur. Videoske inputosa e elementura thaj referencakre kipura khetane na šaj te aven buter 4 zapisi.

POST /run/kling-video/o1/video-to-video/reference?wait=20 hesab → $0.84
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/kling-video/o1/video-to-video/reference?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

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

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal Kling O1 Reference Video to Video [Pro]

Lel referencno video ande `video_url` (mp4 vaj mov, 3 dži 10 sekundenge, 720 dži 2160 px, dži 200MB) thaj `prompt` dži 2500 karakterenge. Stil-imaginen thaj `elements` šaj te aven, totaloske 4, citirime sar @Image1 vaj @Element1. Setin `keep_audio` te rakhel sorsosko šundo. Aspektno ratio šaj te avel auto, 16:9, 9:16 vaj 1:1, durationesa 3 dži 10 sekundenge.

Parametra

Bičhalav vaj e kanonikano nav vaj e native nav, na duj. Kanonikane nava

NavTip standardnoMuklo Vakeripe
enable_safety_checkeropcionalno
Tipboolean
standardnotrue
Sigurnostake kontrole šaj te aven phandade numa kontoski autorizacijasar; mangipena bi autorizaciaja sajekhvar kontrolin pes.
prompttrubul
Tipstring
≤ 2,500 simbolura
Ordenoske referenca istiven @Element1, @Element2, thaj avka majdur e elementonge, thaj @Image1, @Image2, thaj avka majdur e kiponge.
video_urltrubul video
Tipurl · video
URL e referencakre videosko ande .mp4 vaj .mov formato, na buter 200MB. Duj dimensiona musaj te aven maškar 720px thaj 2160px, kadroni brzinasar 24.0–60.0 FPS thaj lungipasa 3–10 sekunda (maksimalno 10.05 sekunda). E timeout si 30.0 sekunda.
keep_audioopcionalno
Tipboolean
standardnofalse
Kontrolol te ačhel vaj na ačhel e videosko originalno audio.
image_urlsopcionalno images
Tipurl[] · image
Kipura save sikaven stilosa vaj dikhipasa, adresade andre prompto @Image1, @Image2, thaj avka majdur. Videoske inputosa e elementura thaj referencakre kipura khetane na šaj te aven buter 4 zapisi. Sako fajlo si limitosar 50 MB, e largura thaj e uči najman 300 px, aspektosko ratio 0.40 dži 2.50.
elementsopcionalno
Tipobject[]
Karakterura vaj objektoja save trubun te aven andre, adresade andre prompto @Element1, @Element2, thaj avka majdur. Videoske inputosa e elementura thaj referencakre kipura khetane na šaj te aven buter 4 zapisi.
elements[].frontal_image_urltrubul
Tipurl · image
Frontalno kipo savo sikavel e elementoski angluni dikhipen, limitosar 50 MB. E largura thaj e uči musaj te aven najman 300 px, aspektosko ratio 0.40 dži 2.50. E timeout si 20 sekunda.
elements[].reference_image_urlsopcionalno
Tipurl[] · image
De 1–3 dodatno referencakre kipura save sikaven aver angle. Sako kipo musaj te avel aspektoske ratiosa maškar 0.40 thaj 2.50, najman 300px ande duj dimensiona, thaj na buter 50.0MB.
aspect_ratioopcionalno
Tipenum
standardnoauto
auto16:99:161:1
Kadroenge širimosko thaj učipesko ratio ande kerdo video. Kana alosarel pes 'auto', o ratio alosarel pes avtomatikane, najpašeder e inputone videoske ratioske.
durationopcionalno
Tipenum
standardno5
345678910
Videosqi lungepen merime ande sekunda.
trubul Kanonikano nav, vi akceptime

Fajloske parametra lel jekh publikano https:// URL, jekh data: URI dži 10 MB, vaj e file_url uploadoski. Fajlura

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/o1/video-to-video/reference",
  "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": 840,
    "usd": "0.84",
    "charged": 840,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
video
object {url, content_type, file_name, file_size}Video kerdo le modelostar.

Bute modeli: Video ko Video

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/kling-video/o1/video-to-video/reference.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt