Skip to content

Qwen Image 3 Text to Image

Integrate

Model 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"

This request: $0.04 40 API credits · ≈ ₽4.29 Run it on this page

Get API key
Alibaba Text to Image #typography#bilingual#budget

Alibaba's image model with excellent bilingual lettering, at 1K or 2K.

Examples

Output · ~125 s
A cozy bookstore window at dusk with a hand-painted wooden sign that reads "Moonlight Books · 月光书店", stacks of books,...

PromptA 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 credits

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required 178 / 5000

Text describing the image to create, in Chinese or English, limited to 5000 characters.

0 / 500

Content to exclude from the resulting image, limited to 500 characters.

image_size default square_hd

Set the output dimensions so that the image's total pixel count falls between 512 × 512 and 2048 × 2048.

num_images default 1

Image count requested for generation.

Advanced output_format · seed · enable_prompt_expansion
output_format default png

File format for the resulting image.

Random seed enabling reproducible results, ranging from 0 to 2147483647.

POST /run/alibaba/qwen-image-3/text-to-image?wait=20 quote → $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"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Qwen Image 3 Text to Image

Qwen Image 3 is especially good at putting legible English and Chinese text into pictures: signs, labels, slides and memes. It accepts a negative prompt, an optional automatic prompt expansion and a seed, and renders from 512x512 up to 2048x2048 pixels. Up to six images per request in PNG, JPEG or WebP.

Parameters

Send either the canonical name or the native name, not both. Canonical names

NameType DefaultAllowed Description
promptrequired
Typestring
≤ 5,000 characters
Text describing the image to create, in Chinese or English, limited to 5000 characters.
negative_promptoptional
Typestring | null
Default
≤ 500 characters
Content to exclude from the resulting image, limited to 500 characters.
image_sizeoptional
Typeobject
Defaultsquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Set the output dimensions so that the image's total pixel count falls between 512 × 512 and 2048 × 2048.
enable_prompt_expansionoptional
Typeboolean
Defaulttrue
Controls automatic prompt rewriting by an LLM to improve results.
seedoptional
Typeinteger | null
Random seed enabling reproducible results, ranging from 0 to 2147483647.
num_imagesoptional num_outputs
Typeinteger
Default1
1 – 6
Image count requested for generation.
output_formatoptional
Typeenum
Defaultpng
jpegpngwebp
File format for the resulting image.
required Canonical name, also accepted

Output

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"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
images
array of object {url, content_type, file_name, file_size}Images produced by generation.
seed
integerSeed value applied during generation.

More models: Text to Image

For AI agents: this page as Markdown is at https://doitong.com/en-US/developers/models/alibaba/qwen-image-3/text-to-image.md. All models and guides: https://doitong.com/developers/llms.txt