Preskoči na vsebino

Kling O1 Reference Video to Video [Pro]

Integracija

ID modela 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"

Ta zahteva: 0,84 $ 840 API kreditov Zaženi na tej strani

Pridobi ključ API

Ustvarjeno v Doitong

Javna dela, ki jih je skupnost Doitong ustvarila z Kling O1. Poziv znova uporabite z enim klikom.

Prikazana javna dela: 16
Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while ... Videoposnetek

Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while speaking, with realistic facial expressions and synchronized lip movements, as if she is promoting something to the viewer. She maintains eye contact with the camera, smiles slightly, and uses subtle...

Slow, subtle push-in on the woman's face. The light from the laptop flickers softly across her ey... Videoposnetek

Slow, subtle push-in on the woman's face. The light from the laptop flickers softly across her eyes and cheeks, as if the blurry image on the screen is changing. Her eyes move slightly as she studies the screen, and she takes one slow, tense breath. Behind her, shadows of the snowstorm move...

The enormous ancient dragon descends slowly toward the snowy cliff and lands at the cave mouth. I... Videoposnetek

The enormous ancient dragon descends slowly toward the snowy cliff and lands at the cave mouth. Its huge dark leathery wings beat twice with slow, heavy strokes, sending snow swirling off the cliff in big clouds. Then it folds its wings and settles on the rock, the giant elk still held in its...

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

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

Authentic 1990s wide-angle film footage. The left man slowly pulls one wooden block from the Jeng... Videoposnetek

Authentic 1990s wide-angle film footage. The left man slowly pulls one wooden block from the Jenga tower. As the block comes out, the tower naturally loses balance and realistically collapses onto the table. Frustrated, he angrily sweeps all the fallen wooden blocks off the table with both hands....

Thermal-camera view of a snowy mountain cliff at night in false-color, deep blue and violet cold ... Videoposnetek

Thermal-camera view of a snowy mountain cliff at night in false-color, deep blue and violet cold rock, a huge orange-white heat shape hidden inside a rock crevice, two small bright amber spots glowing like eyes, faint noise grain. Cinematic videorealistic, ultra detailed, 16:9, volumetric light,...

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

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

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

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

Ustvari zahtevo

Kontrolniki se ustvarijo iz sheme modela. Koda in cena se posodobita, ko ju spreminjate.

•obvezno 88 / 2500

Razvrščene reference uporabljajo @Element1, @Element2 in tako naprej za elemente ter @Image1, @Image2 in tako naprej za slike.

•obvezno video_url
Spustite datoteko ali

URL, ki kaže na referenčni video v obliki .mp4 ali .mov, velik največ 200MB. Obe dimenziji morata biti med 720px in 2160px, hitrost sličic 24.0–60.0 FPS, trajanje pa 3–10 sekund (največ 10.05 sekunde). Časovna omejitev je 30.0 sekund.

duration 5 s

Dolžina videa, merjena v sekundah.

aspect_ratio privzeto auto

Razmerje med širino in višino sličic v ustvarjenem videu. Z izbiro 'auto' se samodejno izbere razmerje, najbližje razmerju vhodnega videa.

Napredno images · enable_safety_checker · keep_audio · elements
image_urls
Spustite datoteko ali

Slike, ki usmerjajo slog ali videz in so v pozivu naslovljene z @Image1, @Image2 in tako naprej. Pri vhodnem videu elementi in referenčne slike skupaj ne smejo preseči 4 vnosov. Vsaka datoteka je omejena na 50 MB, širina in višina pa morata biti dolgi najmanj 300 px, z razmerjem stranic med 0.40 in 2.50.

Liki ali predmeti, ki jih želite vključiti in so v pozivu naslovljeni z @Element1, @Element2 in tako naprej. Pri vhodnem videu elementi in referenčne slike skupaj ne smejo preseči 4 vnosov.

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

Zaženi to zahtevo

Vaš ključ ostane v tem brskalniku: pošlje se samo v Doitong API in shrani v localStorage samo, če označite možnost Zapomni si. Pridobi ključ API

O modelu Kling O1 Reference Video to Video [Pro]

Sprejme referenčni videoposnetek v `video_url` (mp4 ali mov, 3 do 10 sekund, 720 do 2160 px, največ 200MB) in `prompt` z največ 2500 znaki. Dodate lahko slogovne slike in `elements`, skupaj 4, v pozivu navedene kot @Image1 ali @Element1. Nastavite `keep_audio`, da ohranite izvirni zvok. Razmerje stranic je lahko auto, 16:9, 9:16 ali 1:1, trajanje pa od 3 do 10 sekund.

Parametri

Pošlji kanonično ali izvorno ime, ne obeh. Kanonična imena

ImeVrsta PrivzetoDovoljeno Opis
enable_safety_checkerneobvezno
Vrstaboolean
Privzetotrue
Varnostna preverjanja je mogoče onemogočiti samo z avtorizacijo računa; zahteve brez avtorizacije so vedno preverjene.
promptobvezno
Vrstastring
≤ 2500 znakov
Razvrščene reference uporabljajo @Element1, @Element2 in tako naprej za elemente ter @Image1, @Image2 in tako naprej za slike.
video_urlobvezno video
Vrstaurl · video
URL, ki kaže na referenčni video v obliki .mp4 ali .mov, velik največ 200MB. Obe dimenziji morata biti med 720px in 2160px, hitrost sličic 24.0–60.0 FPS, trajanje pa 3–10 sekund (največ 10.05 sekunde). Časovna omejitev je 30.0 sekund.
keep_audioneobvezno
Vrstaboolean
Privzetofalse
Določa, ali se ohrani izvirni zvok videa.
image_urlsneobvezno images
Vrstaurl[] · image
Slike, ki usmerjajo slog ali videz in so v pozivu naslovljene z @Image1, @Image2 in tako naprej. Pri vhodnem videu elementi in referenčne slike skupaj ne smejo preseči 4 vnosov. Vsaka datoteka je omejena na 50 MB, širina in višina pa morata biti dolgi najmanj 300 px, z razmerjem stranic med 0.40 in 2.50.
elementsneobvezno
Vrstaobject[]
Liki ali predmeti, ki jih želite vključiti in so v pozivu naslovljeni z @Element1, @Element2 in tako naprej. Pri vhodnem videu elementi in referenčne slike skupaj ne smejo preseči 4 vnosov.
elements[].frontal_image_urlobvezno
Vrstaurl · image
Čelna slika, ki prikazuje glavni pogled elementa, omejena na 50 MB. Širina in višina morata biti dolgi najmanj 300 px, razmerje stranic pa mora biti med 0.40 in 2.50. Časovna omejitev je 20 sekund.
elements[].reference_image_urlsneobvezno
Vrstaurl[] · image
Posredujte 1–3 dodatne referenčne slike z različnimi koti. Vsaka slika mora imeti razmerje stranic med 0.40 in 2.50, obe dimenziji dolgi najmanj 300px in velikost največ 50.0MB.
aspect_rationeobvezno
Vrstaenum
Privzetoauto
auto16:99:161:1
Razmerje med širino in višino sličic v ustvarjenem videu. Z izbiro 'auto' se samodejno izbere razmerje, najbližje razmerju vhodnega videa.
durationneobvezno
Vrstaenum
Privzeto5
345678910
Dolžina videa, merjena v sekundah.
obvezno Kanonično ime, prav tako sprejeto

Parametri datotek sprejmejo javni https:// URL, podatkovni URI data: do 10 MB ali file_url naložene datoteke. Datoteke

Izhod

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"
  }
}
Vaše datoteke, vaša izbiraVsak outputs[].url je kopija v naši shrambi: hrani se za vedno (plačilo na GB-mesec) ali 7 dni brezplačno, glede na nastavitev računa ali ?storage=.
Enaka struktura pri vsakem modelutype, url, content_type, width, height in duration za slike, videoposnetke in zvok. output je lasten objekt rezultata modela.
Polja izhoda
video
object {url, content_type, file_name, file_size}Video, ki ga ustvari model.

Več modelov: Videoposnetek v videoposnetek

Za agente AI: ta stran je v obliki Markdown na voljo na https://doitong.com/sl/developers/models/kling-video/o1/video-to-video/reference.md. Vsi modeli in vodniki: https://doitong.com/developers/llms.txt