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

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

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

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

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе... ווידעא

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе с панорамными окнами. Внутри деревянный интерьер, мягкие диваны и живые цветы. Они садятся за столик, перед ними стоят дымящиеся чашки чая. Мягкий свет ламп создает уют. Средний план, уровень глаз. (...

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

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты вн... ווידעא

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты внешности, возраст, причёски и одежду. Мужчины слегка поворачивают головы, естественно моргают и едва заметно улыбаются. Женщина слева спокойно смотрит в камеру и мягко моргает. Маленький ребёнок слегка...

A five-second orbital camera move circling completely around a red-haired woman in a yellow rainc... ווידעא

A five-second orbital camera move circling completely around a red-haired woman in a yellow raincoat standing in an autumn forest holding a vintage lantern, she remains stationary facing forward while the camera circles 180 degrees from her left side to her right side at eye level, golden fallen...

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a w... ווידעא

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a wooden cutting board in a bright kitchen, camera suddenly swings in a rapid blur motion panning right at high speed creating motion blur, ending sharply focused on a barista pouring latte art in a...

בויען אַ בעטן

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

•פארלאנגט 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