שפּרינגען צו אינהאַלט

Kling Image · v3 · Text to Image

אינטעגרירן

מאָדעל־id kling-image/v3/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/v3/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"

דער דאָזיקער ריקוועסט: ⁨$ 0.028⁩ 28 API־קרעדיטן לויפֿן עס אויף דער דאָזיקער בלאַט

באַקומען אַן API שליסל
Kling טעקסט צו בילד רעפֿערענץ־אײַנגאַבעסביז 2K #text-to-image

v3 טעקסט־צו־בילד מיט נעגאַטיוון פּראָמפּט און עלעמענט־פּנים־קאָנטראָל ביי 1K אָדער 2K

געמאַכט אויף Doitong

עפֿנטלעכע ווערק געמאַכט מיט Kling Image פֿון דער Doitong קהילה. ניצט אַ פּינטלעך מיט איין קליק.

געוויזענע עפֿנטלעכע ווערק: 16
Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while ... ווידעא

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... ווידעא

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... ווידעא

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... ווידעא

**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... ווידעא

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 ... ווידעא

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... ווידעא

**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... ווידעא

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

בויען אַ בעטן

קאָנטראָלן ווערן דזשענערירט פֿון דעם מאָדעל־סכעמע. דער קאָד און דער פּרײַז דערהײַנטיקן זיך ווען איר ענדערט זיי.

•פארלאנגט 88 / 2500

פּראָמפּט פֿאַר בילד־גענערירונג מיט אַ באַגרענעצונג פֿון 2500 אותיות.

resolution סטאַנדאַרט 1K

רעזולטאַט־בילד־רעזאָלוציע: 1K פֿאַר סטאַנדאַרט־רעזאָלוציע אָדער 2K פֿאַר הויכע רעזאָלוציע.

aspect_ratio סטאַנדאַרט 16:9

ברייט־צו־הייך־פֿאַרהעלטעניש פֿאַר גענערירטע בילדער.

num_images סטאַנדאַרט 1

צאָל רעזולטאַט־בילדער, פֿון 1 ביז 9.

פֿאָרגעשריטן negative_prompt · output_format · enable_safety_checker · elements
0 / 2500

ספּעציפיצירט נישט־געוווּנטשן אינהאַלט מיט דעם נעגאַטיוון פּראָמפּט; רעקאָמענדירט ווערט צו שרײַבן אויסנאַמען ווי נעגאַטיווע זאַצן אינעווייניק אין די פּאָזיטיווע פּראָמפּטן.

output_format סטאַנדאַרט png

פֿײַל־פֿאָרמאַט פון דעם רעזולטירנדיקן בילד.

אָפּציאָנאַלע זאַמלונג פֿאַר פּנים־קאָנטראָל, מיט אַ פֿראָנטאַלן בילד און אָפּציאָנאַלע רעפֿערענץ־בילדער פֿאַר יעדן איינטראָג. איינטראָגן באַשרײַבן כאַראַקטערן אָדער אָביעקטן וואָס זאָלן דערשײַנען אינעם בילד.

POST /run/kling-image/v3/text-to-image?wait=20 פּרײַז → ⁨$ 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/v3/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"

לויפֿן דעם ריקוועסט

אײַער key בלײַבט אין דעם בלעטערער: זי ווערט געשיקט נאָר צום Doitong API און אָפּגעהיט (localStorage) נאָר אויב איר טיקט אָן געדענקען. באַקומען אַן API שליסל

וועגן Kling Image · v3 · Text to Image

גענערירט 1-9 בילדער פֿון אַ פּראמפּט מיט ביז 2500 צייכנס, אָפּציאָנאַל אַוועקגעפֿירט פֿון נישט־געוווּנטשן אינהאַלט מיט `negative_prompt`. `resolution` איז 1K אָדער 2K און `aspect_ratio` אָפפערט אַכט פּראָפּאָרציעס אַרײַנגערעכנט 21:9. `elements` טראָגן אַ פראָנטאַלן בילד און אָפּציאָנאַלע רעפֿערענצן פֿאַר קאָנסיסטענטע פּנימער. דער רעזולטאַט איז jpeg, png אָדער webp.

פּאַראַמעטערס

שיקט אָדער דעם קאַנאָנישן נאָמען אָדער דעם נאַטיוון נאָמען, נישט ביידע. קאַנאָנישע נעמען

נאָמעןטיפּ סטאַנדאַרטערלויבט באַשרײַבונג
promptפארלאנגט
טיפּstring
≤ 2,500 כאַראַקטערן
פּראָמפּט פֿאַר בילד־גענערירונג מיט אַ באַגרענעצונג פֿון 2500 אותיות.
negative_promptאָפּציאָנעל
טיפּstring | null
≤ 2,500 כאַראַקטערן
ספּעציפיצירט נישט־געוווּנטשן אינהאַלט מיט דעם נעגאַטיוון פּראָמפּט; רעקאָמענדירט ווערט צו שרײַבן אויסנאַמען ווי נעגאַטיווע זאַצן אינעווייניק אין די פּאָזיטיווע פּראָמפּטן.
elementsאָפּציאָנעל
טיפּobject[]
אָפּציאָנאַלע זאַמלונג פֿאַר פּנים־קאָנטראָל, מיט אַ פֿראָנטאַלן בילד און אָפּציאָנאַלע רעפֿערענץ־בילדער פֿאַר יעדן איינטראָג. איינטראָגן באַשרײַבן כאַראַקטערן אָדער אָביעקטן וואָס זאָלן דערשײַנען אינעם בילד.
elements[].frontal_image_urlאָפּציאָנעל
טיפּurl · image
אָפּציאָנעלער פֿאָרנט־בילד וואָס גיט דעם הויפּט־אויסזען פון עלעמענט. פֿײַל־גרייס טאָר נישט איבערגיין 10.0 MB; ברייט און הייך מוזן יעדער זײַן ווייניקסטנס 300px, מיט אַ אַספּעקט־ראַטע פֿון 0.40 ביז 2.50.
elements[].reference_image_urlsאָפּציאָנעל
טיפּurl[] · image
אָפּציאָנעלע זאַמלונג פון 0–3 נאָך בילדער וואָס ווײַזן אַנדערע ווינקלען. יעדער פֿײַל טאָר נישט זײַן גרעסער ווי 10.0 MB, מיט ברייט און הייך יעדער ווייניקסטנס 300px און אַ אַספּעקט־ראַטע פֿון 0.40 ביז 2.50.
resolutionאָפּציאָנעל
טיפּenum
סטאַנדאַרט1K
1K2K
רעזולטאַט־בילד־רעזאָלוציע: 1K פֿאַר סטאַנדאַרט־רעזאָלוציע אָדער 2K פֿאַר הויכע רעזאָלוציע.
num_imagesאָפּציאָנעל num_outputs
טיפּinteger
סטאַנדאַרט1
1 – 9
צאָל רעזולטאַט־בילדער, פֿון 1 ביז 9.
aspect_ratioאָפּציאָנעל
טיפּenum
סטאַנדאַרט16:9
16:99:161:14:33:43:22:321:9
ברייט־צו־הייך־פֿאַרהעלטעניש פֿאַר גענערירטע בילדער.
output_formatאָפּציאָנעל
טיפּenum
סטאַנדאַרטpng
jpegpngwebp
פֿײַל־פֿאָרמאַט פון דעם רעזולטירנדיקן בילד.
enable_safety_checkerאָפּציאָנעל
טיפּboolean
סטאַנדאַרטtrue
סקרינינג קען ווערן פאַרלייכטערט דורך שטעלן false, אויב דער רופער איז אָטעריזירט.
פארלאנגט קאַנאָנישער נאָמען, אויך אַקצעפּטירט

אויסגאַבע

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-image/v3/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"
  }
}
אייער טעקעס, אייער ברירהיעדער outputs[].url איז אַ קאַפּיע אין אונדזער סטאָרידזש: געהאַלטן אויף אייביק (באַצאָלט פּער GB־חודש) אָדער 7 טעג אומזיסט, לויט אײַער חשבון־באַשטעטיקונג אָדער ?storage=.
דער זעלבער פֿאָרעם בײַ יעדן מאָדעלtype, url, content_type, width, height און duration, סײַ פֿאַר בילדער, ווידעאָ און אַודיאָ. output איז דער אייגענער רעזולטאַט־אָביעקט פֿון מאָדעל.
פֿעלדער פֿון דער אויסגאַבע
images
array of object {url, content_type, file_name, file_size, width, height}בילדער געשאַפֿן פֿונעם מאָדעל.

מער מאָדעלן: טעקסט צו בילד

פֿאַר AI־אַגענטן: דער בלאַט ווי Markdown געפֿינט זיך בײַ https://doitong.com/yi/developers/models/kling-image/v3/text-to-image.md. אַלע מאָדעלן און גוידעס: https://doitong.com/developers/llms.txt