Dža ko lil

Qwen Image 3 Text to Image

Integriruj

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

Kava mangipen: $0.04 40 API krediti · ≈ ₽4.29 Phir les kate

Lel API klidin
Alibaba Teksto ko Kip #typography#bilingual#budget

Alibaba-ro kipo-modelo lačhe bilingvalno lettering-esa, ko 1K vaj 2K.

Primerura

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

PromptoA 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 krediti

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

•trubul 178 / 5000

Teksto savo opisarel o kipo te kerdol, ande chinaki vaj anglikani čhib, limitime pe 5000 karaktero.

0 / 500

Sadržai savo te na avel ande rezultato kipo, limitime pe 500 karaktero.

image_size standardno square_hd

Čhutin e rezultato dimenzije kaj totalno pixel-gin si maškar 512 × 512 thaj 2048 × 2048.

num_images standardno 1

Manglo kipoqo gin vaš generiripe.

Lučhe output_format · seed · enable_prompt_expansion
output_format standardno png

Fajlo-formato e rezultato kipoqo.

Randomno seed vaš reproducibilno rezultato, 0 dži 2147483647.

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

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal Qwen Image 3 Text to Image

Qwen Image 3 si but lačho te čhivel šaj te ginavipe Anglikanesko thaj Chinesesko tekstos ande kipo: čhinavena, etikete, slajdura thaj memeja. Lijel jekh negativno prompto, jekh opcionalno avtomatikano promptosko pheravipen thaj jekh semeno, thaj kerel kipo katar 512x512 dži 2048x2048 pikselura. Dži šov kipo per mangipen, ande PNG, JPEG vaj WebP.

Parametra

Bičhalav vaj e kanonikano nav vaj e native nav, na duj. Kanonikane nava

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
≤ 5,000 simbolura
Teksto savo opisarel o kipo te kerdol, ande chinaki vaj anglikani čhib, limitime pe 5000 karaktero.
negative_promptopcionalno
Tipstring | null
standardno
≤ 500 simbolura
Sadržai savo te na avel ande rezultato kipo, limitime pe 500 karaktero.
image_sizeopcionalno
Tipobject
standardnosquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Čhutin e rezultato dimenzije kaj totalno pixel-gin si maškar 512 × 512 thaj 2048 × 2048.
enable_prompt_expansionopcionalno
Tipboolean
standardnotrue
Kontrolisarel automatikano prompt-o paruvipe e LLM-eça vaš maj lašo rezultato.
seedopcionalno
Tipinteger | null
Randomno seed vaš reproducibilno rezultato, 0 dži 2147483647.
num_imagesopcionalno num_outputs
Tipinteger
standardno1
1 – 6
Manglo kipoqo gin vaš generiripe.
output_formatopcionalno
Tipenum
standardnopng
jpegpngwebp
Fajlo-formato e rezultato kipoqo.
trubul Kanonikano nav, vi akceptime

Rezultato

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"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
images
array of object {url, content_type, file_name, file_size}Kipo kerdine generiripeça.
seed
integerSeed-valoro aplikovano ko generiripe.

Bute modeli: Teksto ko Kip

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/alibaba/qwen-image-3/text-to-image.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt