Ruka hadi kwenye maudhui

Kling O1 Image

Unganisha

Kitambulisho cha modeli 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"

Ombi hili: $ 0.028 salio za API 28 Iendeshe kwenye ukurasa huu

Pata ufunguo wa API
Kling Uhariri wa Picha Ingizo za marejeleohadi 2K #edit#realism#typography

Uhariri wa picha unaoongozwa na marejeleo wenye hadi picha 10, tagi za @Image na elements, 1K au 2K, na hadi matokeo 9

Imetengenezwa kwenye Doitong

Kazi za umma zilizotengenezwa kwa Kling O1 Image na jumuiya ya Doitong. Tumia tena kidokezo kwa kubofya mara moja.

Kazi za umma zilizoonyeshwa: 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...

Unda ombi

Vidhibiti vinazalishwa kutoka kwenye schema ya modeli. Msimbo na bei husasishwa unapovibadilisha.

•inahitajika 88 / 2500

Kidokezo cha uzalishaji wa picha chenye kikomo cha vibambo 2500. Rejelea picha kwa @Image1, @Image2, na kuendelea, au @Image kwa picha moja.

•inahitajika image_urls
Dondosha faili, au

Orodha ya picha za marejeo, yenye kikomo cha picha 10; zitaje kwenye kidokezo kama @Image1, @Image2, na kuendelea, huku nambari zikianzia 1. Kila faili lazima isiwe kubwa kuliko 10.0 MB, upana na urefu kila moja uwe angalau 300px, na uwiano wa picha uwe kutoka 0.40 hadi 2.50.

resolution chaguomsingi 1K

Mwonekano wa picha ya tokeo: 1K kwa mwonekano wa kawaida au 2K kwa mwonekano wa juu.

aspect_ratio chaguomsingi auto

Uwiano wa picha iliyozalishwa, unaochaguliwa kiotomatiki kutoka kwenye maudhui ya ingizo ukiwekwa kuwa 'auto'.

num_images chaguomsingi 1

Idadi ya picha za tokeo, kutoka 1 hadi 9.

Ya kina output_format · enable_safety_checker · elements
output_format chaguomsingi png

Muundo wa faili wa picha inayotokana.

Wahusika au vitu vilivyojumuishwa kama vipengele, vinavyoshiriki kikomo cha jumla cha 10 pamoja na picha za marejeo. Marejeo ya kidokezo hutumia @Element1, @Element2, n.k.

POST /run/kling-image/o1?wait=20 makadirio → $ 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"

Endesha ombi hili

Key yako inabaki kwenye kivinjari hiki: inatumwa kwa Doitong API pekee na kuhifadhiwa (localStorage) tu ukiweka tiki kwenye Kumbuka. Pata ufunguo wa API

Kuhusu Kling O1 Image

Huhariri au kuchanganya upya picha kutoka kwenye `prompt` yenye hadi herufi 2500. Elekeza kwenye ingizo kwa @Image1, @Image2 na kadhalika, ukitumia hadi 10 katika `image_urls`; `elements` huongeza wahusika au vitu, ikiwa na jumla ya juu ya 10. `resolution` ni 1K au 2K, `num_images` ni 1 hadi 9, na `aspect_ratio` inajumuisha auto, 21:9 na 3:2. Matokeo ni png, jpeg au webp.

Vigezo

Tuma jina rasmi au jina asilia, si yote mawili. Majina rasmi

JinaAina ChaguomsingiInaruhusiwa Maelezo
promptinahitajika
Ainastring
≤ herufi 2,500
Kidokezo cha uzalishaji wa picha chenye kikomo cha vibambo 2500. Rejelea picha kwa @Image1, @Image2, na kuendelea, au @Image kwa picha moja.
image_urlsinahitajika images
Ainaurl[] · image
Orodha ya picha za marejeo, yenye kikomo cha picha 10; zitaje kwenye kidokezo kama @Image1, @Image2, na kuendelea, huku nambari zikianzia 1. Kila faili lazima isiwe kubwa kuliko 10.0 MB, upana na urefu kila moja uwe angalau 300px, na uwiano wa picha uwe kutoka 0.40 hadi 2.50.
elementssi lazima
Ainaobject[]
Wahusika au vitu vilivyojumuishwa kama vipengele, vinavyoshiriki kikomo cha jumla cha 10 pamoja na picha za marejeo. Marejeo ya kidokezo hutumia @Element1, @Element2, n.k.
elements[].frontal_image_urlsi lazima
Ainaurl · image
Picha ya hiari inayoangalia mbele na kutoa mwonekano mkuu wa kipengele. Ukubwa wa faili hauwezi kuzidi 10.0 MB; upana na urefu lazima kila moja iwe angalau 300px, na uwiano wa picha uwe kutoka 0.40 hadi 2.50.
elements[].reference_image_urlssi lazima
Ainaurl[] · image
Seti ya hiari ya picha 0–3 za ziada zinazoonyesha pembe nyingine. Kila faili lazima isiwe kubwa kuliko 10.0 MB, upana na urefu kila moja uwe angalau 300px, na uwiano wa picha uwe kutoka 0.40 hadi 2.50.
resolutionsi lazima
Ainaenum
Chaguomsingi1K
1K2K
Mwonekano wa picha ya tokeo: 1K kwa mwonekano wa kawaida au 2K kwa mwonekano wa juu.
num_imagessi lazima num_outputs
Ainainteger
Chaguomsingi1
1 – 9
Idadi ya picha za tokeo, kutoka 1 hadi 9.
aspect_ratiosi lazima
Ainaenum
Chaguomsingiauto
auto16:99:161:14:33:43:22:321:9
Uwiano wa picha iliyozalishwa, unaochaguliwa kiotomatiki kutoka kwenye maudhui ya ingizo ukiwekwa kuwa 'auto'.
output_formatsi lazima
Ainaenum
Chaguomsingipng
jpegpngwebp
Muundo wa faili wa picha inayotokana.
enable_safety_checkersi lazima
Ainaboolean
Chaguomsingitrue
Ukaguzi unaweza kulegezwa kwa kuweka false, ikiwa mpigaji simu ameidhinishwa.
inahitajika Jina rasmi, pia linakubalika

Vigezo vya faili vinakubali URL ya umma ya https://, data: URI ya hadi 10 MB, au file_url ya upakiaji. Faili

Tokeo

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"
  }
}
Faili zako, chaguo lakoKila outputs[].url ni nakala kwenye hifadhi yetu: huhifadhiwa milele (hutozwa kwa GB kwa mwezi) au 7 siku bila malipo, kulingana na mpangilio wa akaunti yako au ?storage=.
Muundo uleule kwenye kila modelitype, url, content_type, width, height na duration, kwa picha, video na sauti. output ni kitu cha matokeo cha modeli yenyewe.
Sehemu za tokeo
images
array of object {url, content_type, file_name, file_size, width, height}Picha zilizozalishwa na modeli.

Kwa mawakala wa AI: ukurasa huu katika Markdown unapatikana kwenye https://doitong.com/sw/developers/models/kling-image/o1.md. Modeli na miongozo yote: https://doitong.com/developers/llms.txt