Leum chun t-susbaint

Qwen Image 3 Text to Image

Amalaich

ID a’ mhodail 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"

An t-iarrtas seo: $0.04 40 creideasan API · ≈ ₽4.29 Ruith e air an duilleig seo

Faigh iuchair API
Alibaba Teacsa gu Ìomhaigh #typography#bilingual#budget

Modail ìomhaighean Alibaba le litrichean dà-chànanach sàr-mhath, aig 1K no 2K.

Eisimpleirean

Toradh · ~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 creideasan API

Tog iarrtas

Tha na smachdan air an cruthachadh bho sgeama a’ mhodail. Bidh an còd agus a’ phrìs ag ùrachadh fhad ’s a dh’atharraicheas tu iad.

•riatanach 178 / 5000

Teacsa a’ mìneachadh na h-ìomhaigh a chruthachadh, ann an Sìonais no Beurla, cuibhrichte gu 5000 caractar.

0 / 500

Susbaint ri dùnadh às an ìomhaigh a thig às, cuibhrichte gu 500 caractar.

image_size bun-roghainn square_hd

Suidhich na meudan às-chuir gus am bi àireamh piogsail iomlan na h-ìomhaighe eadar 512 × 512 agus 2048 × 2048.

num_images bun-roghainn 1

Àireamh nan ìomhaighean a chaidh iarraidh airson gineadh.

Adhartach output_format · seed · enable_prompt_expansion
output_format bun-roghainn png

Cruth faidhle na h-ìomhaigh a thig às.

Sìol air thuaiream airson toraidhean ath-riochdachail, bho 0 gu 2147483647.

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

Ruith an t-iarrtas seo

Fuirichidh an iuchair agad sa bhrobhsair seo: thèid a cur chun Doitong API a-mhàin agus a sàbhaladh (localStorage) a-mhàin ma chuireas tu comharra ri Cuimhnich. Faigh iuchair API

Mu Qwen Image 3 Text to Image

Tha Qwen Image 3 air leth math air teacsa Beurla is Sìonach a ghabhas leughadh a chur ann an dealbhan: soidhnichean, bileagan, sliseagan agus memes. Gabhaidh e ri prompt àicheil, leudachadh prompt fèin-obrachail roghainneil agus sìol, agus reandaraichidh e bho 512x512 suas gu 2048x2048 piogsail. Suas ri sia ìomhaighean gach iarrtas ann am PNG, JPEG no WebP.

Paramadairean

Cuir an t-ainm canonical no an t-ainm dùthchasach, chan e an dà chuid. Ainmean canonical

AinmSeòrsa Bun-roghainnCeadaichte Tuairisgeul
promptriatanach
Seòrsastring
≤ 5,000 caractar
Teacsa a’ mìneachadh na h-ìomhaigh a chruthachadh, ann an Sìonais no Beurla, cuibhrichte gu 5000 caractar.
negative_promptroghainneil
Seòrsastring | null
Bun-roghainn
≤ 500 caractar
Susbaint ri dùnadh às an ìomhaigh a thig às, cuibhrichte gu 500 caractar.
image_sizeroghainneil
Seòrsaobject
Bun-roghainnsquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Suidhich na meudan às-chuir gus am bi àireamh piogsail iomlan na h-ìomhaighe eadar 512 × 512 agus 2048 × 2048.
enable_prompt_expansionroghainneil
Seòrsaboolean
Bun-roghainntrue
A’ cumail smachd air ath-sgrìobhadh fèin-obrachail a’ phrompt le LLM gus toraidhean a leasachadh.
seedroghainneil
Seòrsainteger | null
Sìol air thuaiream airson toraidhean ath-riochdachail, bho 0 gu 2147483647.
num_imagesroghainneil num_outputs
Seòrsainteger
Bun-roghainn1
1 – 6
Àireamh nan ìomhaighean a chaidh iarraidh airson gineadh.
output_formatroghainneil
Seòrsaenum
Bun-roghainnpng
jpegpngwebp
Cruth faidhle na h-ìomhaigh a thig às.
riatanach Ainm canonical, gabhar ris cuideachd

Toradh

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"
  }
}
Na faidhlichean agad, do roghainnTha gach outputs[].url na lethbhreac air an stòradh againn: air a chumail gu bràth (air a phàigheadh gach GB-mìos) no 7 latha an-asgaidh, a rèir suidheachadh a’ chunntais agad no ?storage=.
An aon chruth air gach modailtype, url, content_type, width, height agus duration, airson dealbhan, bhidio agus fuaim le chèile. ’S e output nì toraidh a’ mhodail fhèin.
Raointean toraidh
images
array of object {url, content_type, file_name, file_size}Ìomhaighean a chaidh a chruthachadh le gineadh.
seed
integerLuach sìl a chaidh a chur an sàs rè gineadh.

Barrachd mhodalan: Teacsa gu Ìomhaigh

Do riochdairean AI: tha an duilleag seo mar Markdown aig https://doitong.com/gd/developers/models/alibaba/qwen-image-3/text-to-image.md. Na modailean agus na treòraichean uile: https://doitong.com/developers/llms.txt