Siirry sisältöön

Kling O1 Reference Image to Video [Standard]

Integroi

Mallin tunniste kling-video/o1/standard/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.com/v1/run/kling-video/o1/standard/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Tämä pyyntö: 0,42 $ 420 API-krediittiä Suorita tällä sivulla

Hanki API-avain

Tehty Doitongilla

Doitong-yhteisön Kling O1-mallilla tekemät julkiset työt. Käytä kehotetta uudelleen yhdellä napsautuksella.

Näytetyt julkiset työt: 16
Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while ... Video

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

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

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

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

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

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

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

Muodosta pyyntö

Säätimet luodaan mallin skeemasta. Koodi ja hinta päivittyvät, kun muutat arvoja.

•pakollinen 88 / 2500

Järjestetyt viitteet käyttävät elementeille tunnisteita @Element1, @Element2 ja niin edelleen sekä kuville tunnisteita @Image1, @Image2 ja niin edelleen.

duration 5 s

Videon pituus sekunteina.

aspect_ratio oletus 16:9

Generoidun videon ruutujen leveys–korkeus-suhde.

Lisäasetukset images · enable_safety_checker · elements
image_urls
Pudota tiedosto tai

Tyylin tai ulkoasun ohjaamiseen käytettävät lisäkuvat, joihin viitataan kehotteessa tunnisteilla @Image1, @Image2 ja niin edelleen. Elementtien, viitekuvien ja aloituskuvan yhteismäärä saa olla enintään 7. Kukin tiedosto saa olla enintään 50 MB, leveyden ja korkeuden on oltava vähintään 300 px ja kuvasuhteen 0.40–2.50.

Videossa näkyvät hahmot tai kohteet, joihin viitataan kehotteessa tunnisteilla @Element1, @Element2 ja niin edelleen. Elementtien, viitekuvien ja aloituskuvan yhteismäärä saa olla enintään 7.

POST /run/kling-video/o1/standard/reference-to-video?wait=20 hinta → 0,42 $
# 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/standard/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Suorita tämä pyyntö

Avaimesi säilyy tässä selaimessa: se lähetetään vain Doitong APIlle ja tallennetaan localStorageen vain, jos valitset Muista. Hanki API-avain

Tietoja: Kling O1 Reference Image to Video [Standard]

Luo videon promptin, viitekuvien (`image_urls`) ja elementtien (`elements`) avulla. Niihin viitataan promptissa muodossa @Image1 tai @Element1. Viitteitä saa olla yhteensä enintään 7. `duration` voi olla 3–10 sekuntia ja `aspect_ratio` 16:9, 9:16 tai 1:1. Tämä on Standard-versio.

Parametrit

Lähetä joko kanoninen nimi tai natiivi nimi, älä molempia. Kanoniset nimet

NimiTyyppi OletusSallitut Kuvaus
enable_safety_checkervalinnainen
Tyyppiboolean
Oletustrue
Turvatarkistukset voi poistaa käytöstä vain tilin valtuutuksella; valtuuttamattomat pyynnöt tarkistetaan aina.
promptpakollinen
Tyyppistring
≤ 2 500 merkkiä
Järjestetyt viitteet käyttävät elementeille tunnisteita @Element1, @Element2 ja niin edelleen sekä kuville tunnisteita @Image1, @Image2 ja niin edelleen.
image_urlsvalinnainen images
Tyyppiurl[] · image
Tyylin tai ulkoasun ohjaamiseen käytettävät lisäkuvat, joihin viitataan kehotteessa tunnisteilla @Image1, @Image2 ja niin edelleen. Elementtien, viitekuvien ja aloituskuvan yhteismäärä saa olla enintään 7. Kukin tiedosto saa olla enintään 50 MB, leveyden ja korkeuden on oltava vähintään 300 px ja kuvasuhteen 0.40–2.50.
elementsvalinnainen
Tyyppiobject[]
Videossa näkyvät hahmot tai kohteet, joihin viitataan kehotteessa tunnisteilla @Element1, @Element2 ja niin edelleen. Elementtien, viitekuvien ja aloituskuvan yhteismäärä saa olla enintään 7.
elements[].frontal_image_urlpakollinen
Tyyppiurl · image
Elementin päänäkymän tarjoava etukuva, enintään 50 MB. Leveyden ja korkeuden on oltava vähintään 300 px ja kuvasuhteen 0.40–2.50. Aikakatkaisu on 20 sekuntia.
elements[].reference_image_urlsvalinnainen
Tyyppiurl[] · image
Toimita 1–3 lisäviitekuvaa eri kulmista. Kunkin kuvan kuvasuhteen on oltava 0.40–2.50, kummankin mitan vähintään 300px ja koon enintään 50.0MB.
durationvalinnainen
Tyyppienum
Oletus5
345678910
Videon pituus sekunteina.
aspect_ratiovalinnainen
Tyyppienum
Oletus16:9
16:99:161:1
Generoidun videon ruutujen leveys–korkeus-suhde.
pakollinen Kanoninen nimi, myös hyväksytty

Tiedostoparametrit hyväksyvät julkisen https://-URL:n, enintään 10 MB:n data:-URI:n tai lähetyksen file_url-arvon. Tiedostot

Tulos

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/o1/standard/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": 420,
    "usd": "0.42",
    "charged": 420,
    "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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Tiedostosi, valintasiJokainen outputs[].url on kopio tallennustilassamme: säilytetään ikuisesti (maksetaan gigatavu-kuukauden mukaan) tai 7 päivää ilmaiseksi tiliasetuksesi tai ?storage= perusteella.
Sama rakenne kaikissa malleissatype, url, content_type, width, height ja duration kuville, videolle ja äänelle. output on mallin oma tulosobjekti.
Tuloksen kentät
video
object {url, content_type, file_name, file_size}Mallin tuottama video.

Lisää malleja: Viitteestä videoksi

Tekoälyagenteille: tämän sivun Markdown-muoto on osoitteessa https://doitong.com/fi/developers/models/kling-video/o1/standard/reference-to-video.md. Kaikki mallit ja oppaat: https://doitong.com/developers/llms.txt