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

Qwen Image 3 Text to Image

אינטעגרירן

מאָדעל־id alibaba/qwen-image-3/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.ru/v1/run/alibaba/qwen-image-3/text-to-image?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A cozy bookstore window at dusk with a hand-painted wooden sign that reads \"Moonlight Books · 月光书店\", stacks of books, warm string lights, light rain on the glass, photorealistic."
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

דער דאָזיקער ריקוועסט: ⁨$ 0.04⁩ 40 API־קרעדיטן · ≈ ⁨₽ 4.29⁩ לויפֿן עס אויף דער דאָזיקער בלאַט

באַקומען אַן API שליסל
Alibaba טעקסט צו בילד #typography#bilingual#budget

Alibaba'ס בילד־מאָדעל מיט אויסגעצייכנטן צוויישפּראַכיקן טעקסט, אין 1K אָדער 2K.

בײַשפּילן

אויסגאַבע · ~125 s
A cozy bookstore window at dusk with a hand-painted wooden sign that reads "Moonlight Books · 月光书店", stacks of books,...

פּראָמפּטA cozy bookstore window at dusk with a hand-painted wooden sign that reads "Moonlight Books · 月光书店", stacks of books, warm string lights, light rain on the glass, photorealistic.

⁨$ 0.04⁩ · 40 API־קרעדיטן

בויען אַ בעטן

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

•פארלאנגט 178 / 5000

טעקסט וואָס באַשרײַבט דעם צו שאַפֿנדיקן בילד, אויף כינעזיש אָדער ענגליש, באַגרענעצט צו 5000 אותיות.

0 / 500

אינהאַלט וואָס זאָל אויסגעלאָזט ווערן פון דעם רעזולטירנדיקן בילד, באַגרענעצט צו 500 אותיות.

image_size סטאַנדאַרט square_hd

שטעלט די רעזולטאַט־דימענסיעס אַזוי אַז די גאַנצע פּיקסעל־צאָל פון בילד זאָל ליגן צווישן 512 × 512 און 2048 × 2048.

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

געבעטן צאָל בילדער פֿאַר גענערירונג.

פֿאָרגעשריטן output_format · seed · enable_prompt_expansion
output_format סטאַנדאַרט png

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

ראַנדאָם סיד פֿאַר רעפּראָדוצירבאַרע רעזולטאַטן, פון 0 ביז 2147483647.

POST /run/alibaba/qwen-image-3/text-to-image?wait=20 פּרײַז → ⁨$ 0.04⁩
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/alibaba/qwen-image-3/text-to-image?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A cozy bookstore window at dusk with a hand-painted wooden sign that reads \"Moonlight Books · 月光书店\", stacks of books, warm string lights, light rain on the glass, photorealistic."
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

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

וועגן Qwen Image 3 Text to Image

Qwen Image 3 איז ספּעציעל גוט אין אַרײַנשטעלן לייענבאַרן ענגלישן און כינעזישן טעקסט אין בילדער: שילדן, לאַבעלס, סלײַדס און מעמעס. עס נעמט אָן אַ נעגאַטיוון פּראָמפּט, אַן אָפּציאָנאַלע אויטאָמאַטישע פּראָמפּט־פֿאַרברייטערונג און אַ זוימען, און רענדערט פֿון 512x512 ביז 2048x2048 פּיקסעלן. ביז זעקס בילדער פּער בקשה אין PNG, JPEG אָדער WebP.

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

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

נאָמעןטיפּ סטאַנדאַרטערלויבט באַשרײַבונג
promptפארלאנגט
טיפּstring
≤ 5,000 כאַראַקטערן
טעקסט וואָס באַשרײַבט דעם צו שאַפֿנדיקן בילד, אויף כינעזיש אָדער ענגליש, באַגרענעצט צו 5000 אותיות.
negative_promptאָפּציאָנעל
טיפּstring | null
סטאַנדאַרט
≤ 500 כאַראַקטערן
אינהאַלט וואָס זאָל אויסגעלאָזט ווערן פון דעם רעזולטירנדיקן בילד, באַגרענעצט צו 500 אותיות.
image_sizeאָפּציאָנעל
טיפּobject
סטאַנדאַרטsquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
שטעלט די רעזולטאַט־דימענסיעס אַזוי אַז די גאַנצע פּיקסעל־צאָל פון בילד זאָל ליגן צווישן 512 × 512 און 2048 × 2048.
enable_prompt_expansionאָפּציאָנעל
טיפּboolean
סטאַנדאַרטtrue
קאָנטראָלירט אויטאָמאַטישע פּראָמפּט־איבערשרײַבונג דורך אַן LLM צו פֿאַרבעסערן רעזולטאַטן.
seedאָפּציאָנעל
טיפּinteger | null
ראַנדאָם סיד פֿאַר רעפּראָדוצירבאַרע רעזולטאַטן, פון 0 ביז 2147483647.
num_imagesאָפּציאָנעל num_outputs
טיפּinteger
סטאַנדאַרט1
1 – 6
געבעטן צאָל בילדער פֿאַר גענערירונג.
output_formatאָפּציאָנעל
טיפּenum
סטאַנדאַרטpng
jpegpngwebp
פֿײַל־פֿאָרמאַט פון דעם רעזולטירנדיקן בילד.
פארלאנגט קאַנאָנישער נאָמען, אויך אַקצעפּטירט

אויסגאַבע

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "alibaba/qwen-image-3/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": 40,
    "usd": "0.04",
    "charged": 40,
    "refunded": 0
  },
  "input": {
    "prompt": "A cute baby koala on a water slide holding a card that says \"Summer starts now\", bright afternoon light",
    "negative_prompt": "low resolution, blurry, deformed",
    "image_size": "square_hd"
  },
  "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
      }
    ],
    "seed": 42
  },
  "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/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}בילדער געשאַפֿן דורך גענערירונג.
seed
integerסיד־ווערט וואָס ווערט געווענדט בעת גענערירונג.

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

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