Preskoči na vsebino

Kling O1 Image

Integracija

ID modela kling-image/o1
# 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-image/o1?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",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# 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,028 $ 28 API kreditov Zaženi na tej strani

Pridobi ključ API
Kling Urejanje slik Referenčni vnosido 2K #edit#realism#typography

Urejanje slik na podlagi referenc z do 10 slikami, oznakami @Image in elementi, izhodom 1K ali 2K ter do 9 rezultati

Ustvarjeno v Doitong

Javna dela, ki jih je skupnost Doitong ustvarila z Kling O1 Image. 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

Poziv za generiranje slike, omejen na 2500 znakov. Na slike se sklicujte z @Image1, @Image2 in tako naprej ali z @Image za eno sliko.

•obvezno image_urls
Spustite datoteko ali

Seznam referenčnih slik, omejen na 10 slik; v pozivu jih navedite kot @Image1, @Image2 in tako naprej, pri čemer se številčenje začne z 1. Posamezna datoteka ne sme biti večja od 10.0 MB, širina in višina pa morata biti najmanj 300px, razmerje stranic pa med 0.40 in 2.50.

resolution privzeto 1K

Ločljivost izhodne slike: 1K za standardno ali 2K za visoko ločljivost.

aspect_ratio privzeto auto

Razmerje stranic generirane slike, ki se pri nastavitvi 'auto' samodejno izbere iz vhodne vsebine.

num_images privzeto 1

Število izhodnih slik, od 1 do 9.

Napredno output_format · enable_safety_checker · elements
output_format privzeto png

Oblika datoteke končne slike.

Znaki ali predmeti, vključeni kot elementi, ki si z referenčnimi slikami delijo skupno omejitev 10. Sklici v pozivu uporabljajo @Element1, @Element2 itd.

POST /run/kling-image/o1?wait=20 cena → 0,028 $
# 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-image/o1?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",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# 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 Image

Ureja ali združuje slike iz `prompt`, dolgega do 2500 znakov. Na vhode se sklicujte z @Image1, @Image2 in tako naprej ter uporabite do 10 slik v `image_urls`; `elements` dodajo like ali predmete, skupaj največ 10. `resolution` je 1K ali 2K, `num_images` od 1 do 9, `aspect_ratio` pa vključuje auto, 21:9 in 3:2. Izhod je png, jpeg ali webp.

Parametri

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

ImeVrsta PrivzetoDovoljeno Opis
promptobvezno
Vrstastring
≤ 2500 znakov
Poziv za generiranje slike, omejen na 2500 znakov. Na slike se sklicujte z @Image1, @Image2 in tako naprej ali z @Image za eno sliko.
image_urlsobvezno images
Vrstaurl[] · image
Seznam referenčnih slik, omejen na 10 slik; v pozivu jih navedite kot @Image1, @Image2 in tako naprej, pri čemer se številčenje začne z 1. Posamezna datoteka ne sme biti večja od 10.0 MB, širina in višina pa morata biti najmanj 300px, razmerje stranic pa med 0.40 in 2.50.
elementsneobvezno
Vrstaobject[]
Znaki ali predmeti, vključeni kot elementi, ki si z referenčnimi slikami delijo skupno omejitev 10. Sklici v pozivu uporabljajo @Element1, @Element2 itd.
elements[].frontal_image_urlneobvezno
Vrstaurl · image
Izbirna čelna slika, ki prikazuje glavni pogled elementa. Velikost datoteke ne sme presegati 10.0 MB; širina in višina morata biti najmanj 300px, razmerje stranic pa med 0.40 in 2.50.
elements[].reference_image_urlsneobvezno
Vrstaurl[] · image
Izbirni nabor 0–3 dodatnih slik, ki prikazujejo druge kote. Posamezna datoteka ne sme biti večja od 10.0 MB, širina in višina pa morata biti najmanj 300px, razmerje stranic pa med 0.40 in 2.50.
resolutionneobvezno
Vrstaenum
Privzeto1K
1K2K
Ločljivost izhodne slike: 1K za standardno ali 2K za visoko ločljivost.
num_imagesneobvezno num_outputs
Vrstainteger
Privzeto1
1 – 9
Število izhodnih slik, od 1 do 9.
aspect_rationeobvezno
Vrstaenum
Privzetoauto
auto16:99:161:14:33:43:22:321:9
Razmerje stranic generirane slike, ki se pri nastavitvi 'auto' samodejno izbere iz vhodne vsebine.
output_formatneobvezno
Vrstaenum
Privzetopng
jpegpngwebp
Oblika datoteke končne slike.
enable_safety_checkerneobvezno
Vrstaboolean
Privzetotrue
Preverjanje je mogoče omiliti z nastavitvijo false, če je klicatelj pooblaščen.
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-image/o1",
  "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": 28,
    "usd": "0.028",
    "charged": 28,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200,
        "width": 1024,
        "height": 768
      }
    ]
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "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
images
array of object {url, content_type, file_name, file_size, width, height}Slike, ki jih ustvari model.

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