Pereiti prie turinio

Kling Image · O3 · Text to Image

Integruoti

Modelio id kling-image/o3/text-to-image
# 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/o3/text-to-image?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"

Ši užklausa: 0,028 $ 28 API kreditai Paleisti šiame puslapyje

Gauti API raktą
Kling Tekstas į vaizdą 4K išvestisNuorodų įvestysiki 4K #text-to-image

O3 teksto vertimas į vaizdą 1K, 2K arba 4K raiška, su elementais pagrįstu veido valdymu ir serijos išvestimi

Sukurta naudojant Doitong

Doitong bendruomenės sukurti vieši darbai naudojant Kling Image. Vienu spustelėjimu panaudokite iš naujo raginimą.

Rodomi vieši darbai: 16
Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while ... Vaizdo įrašas

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... Vaizdo įrašas

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... Vaizdo įrašas

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... Vaizdo įrašas

**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... Vaizdo įrašas

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 ... Vaizdo įrašas

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... Vaizdo įrašas

**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... Vaizdo įrašas

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

Sukurti užklausą

Valdikliai sugeneruojami pagal modelio schemą. Keisdami juos atnaujinsite kodą ir kainą.

•privaloma 88 / 2500

Vaizdų generavimo raginys, kurio ilgis ribojamas iki 2500 simbolių.

resolution numatytoji 1K

Išvesties vaizdo raiška: 1K standartinei, 2K aukštai arba 4K itin aukštai raiškai.

aspect_ratio numatytoji 16:9

Generuojamų vaizdų pločio ir aukščio santykis.

num_images numatytoji 1

Išvesties vaizdų skaičius nuo 1 iki 9; taikoma tik kai `result_type` yra `single`.

Išplėstiniai result_type · output_format · series_amount · enable_safety_checker · elements
result_type numatytoji single

Išvesties tipas: `single` sukuria vieną vaizdą, o `series` – kelis susijusius vaizdus.

output_format numatytoji png

Galutinio vaizdo failo formatas.

Serijos vaizdų skaičius nuo 2 iki 9; taikoma tik kai `result_type` yra `series`.

Pasirinktiniai veido valdymo elementai, vaizduojantys veikėjus arba objektus, raginyje nurodomi kaip @Element1, @Element2 ir t. t.

POST /run/kling-image/o3/text-to-image?wait=20 kaina → 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/o3/text-to-image?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"

Vykdyti šią užklausą

Jūsų raktas lieka šioje naršyklėje: jis siunčiamas tik į Doitong API ir išsaugomas (localStorage) tik pažymėjus Prisiminti. Gauti API raktą

Apie Kling Image · O3 · Text to Image

Sukuria vaizdus iš iki 2500 simbolių raginimo. `resolution` yra 1K, 2K arba 4K, o `aspect_ratio` palaiko 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3 ir 21:9. Generuokite 1–9 vaizdus arba 2–9 susijusių vaizdų seriją naudodami `result_type`. `elements` leidžia valdyti veikėjų ir objektų veidus.

Parametrai

Siųskite arba kanoninį, arba savąjį pavadinimą, bet ne abu. Kanoniniai pavadinimai

PavadinimasTipas Numatytoji reikšmėLeidžiama Aprašas
promptprivaloma
Tipasstring
≤ 2 500 simbolių
Vaizdų generavimo raginys, kurio ilgis ribojamas iki 2500 simbolių.
elementsneprivalomas
Tipasobject[]
Pasirinktiniai veido valdymo elementai, vaizduojantys veikėjus arba objektus, raginyje nurodomi kaip @Element1, @Element2 ir t. t.
elements[].frontal_image_urlneprivalomas
Tipasurl · image
Pasirinktinis iš priekio rodomas vaizdas, pateikiantis pagrindinį elemento vaizdą. Failas negali būti didesnis nei 10.0 MB; plotis ir aukštis turi būti ne mažesni nei 300px, formato koeficientas nuo 0.40 iki 2.50.
elements[].reference_image_urlsneprivalomas
Tipasurl[] · image
Pasirinktinis 0–3 papildomų vaizdų rinkinys, rodantis kitus kampus. Kiekvienas failas turi būti ne didesnis nei 10.0 MB, o plotis ir aukštis – ne mažesni nei 300px, formato koeficientas nuo 0.40 iki 2.50.
resolutionneprivalomas
Tipasenum
Numatytoji reikšmė1K
1K2K4K
Išvesties vaizdo raiška: 1K standartinei, 2K aukštai arba 4K itin aukštai raiškai.
result_typeneprivalomas
Tipasenum
Numatytoji reikšmėsingle
singleseries
Išvesties tipas: `single` sukuria vieną vaizdą, o `series` – kelis susijusius vaizdus.
num_imagesneprivalomas num_outputs
Tipasinteger
Numatytoji reikšmė1
1 – 9
Išvesties vaizdų skaičius nuo 1 iki 9; taikoma tik kai `result_type` yra `single`.
series_amountneprivalomas
Tipasinteger | null
2 – 9
Serijos vaizdų skaičius nuo 2 iki 9; taikoma tik kai `result_type` yra `series`.
aspect_rationeprivalomas
Tipasenum
Numatytoji reikšmė16:9
16:99:161:14:33:43:22:321:9
Generuojamų vaizdų pločio ir aukščio santykis.
output_formatneprivalomas
Tipasenum
Numatytoji reikšmėpng
jpegpngwebp
Galutinio vaizdo failo formatas.
enable_safety_checkerneprivalomas
Tipasboolean
Numatytoji reikšmėtrue
Patikrą galima sušvelninti nustačius false, jei skambinantysis turi teisę tai daryti.
privaloma Kanoninis pavadinimas, taip pat priimamas

Išvestis

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-image/o3/text-to-image",
  "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"
  },
  "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"
  }
}
Jūsų failai — jūsų pasirinkimasKiekvienas outputs[].url yra kopija mūsų saugykloje: saugoma neribotą laiką (mokama už GB per mėnesį) arba 7 dienos nemokamai, pagal paskyros nustatymą arba ?storage=.
Ta pati struktūra kiekviename modelyjetype, url, content_type, width, height ir duration taikomi vaizdams, vaizdo įrašams ir garsui. output yra paties modelio rezultatų objektas.
Išvesties laukai
images
array of object {url, content_type, file_name, file_size, width, height}Modelio sukurti vaizdai.

Daugiau modelių: Tekstas į vaizdą

AI agentams: šis puslapis Markdown formatu pateikiamas adresu https://doitong.com/lt/developers/models/kling-image/o3/text-to-image.md. Visi modeliai ir vadovai: https://doitong.com/developers/llms.txt