Peke ki ngā ihirangi

Qwen Image 3 Text to Image

Whakauru

id tauira 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"

Tēnei tono: $ 0.04 40 whiwhinga API · ≈ ₽ 4.29 Whakahaerehia ki tēnei whārangi

Tikina he kī API

Ngā tauira

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

TohutohuA 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 whiwhinga API

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana 178 / 5000

Kuputuhi e whakaahua ana i te atahanga hei waihanga, ki te Hainamana, ki te reo Pākehā rānei, he 5000 pūāhua te mōrahi.

0 / 500

Ngā ihirangi hei aukati i te atahanga ka puta, he 500 pūāhua te mōrahi.

image_size taunoa square_hd

Tautuhia ngā rahinga putanga kia noho te tatau pika katoa o te atahanga i waenga i te 512 × 512 me te 2048 × 2048.

num_images taunoa 1

Te tatau atahanga e tonoa ana mō te whakaputanga.

Arā atu output_format · seed · enable_prompt_expansion
output_format taunoa png

Te hōputu kōnae mō te atahanga ka puta.

Te kākano matapōkere mō ngā putanga ka taea te tārua, mai i te 0 ki te 2147483647.

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

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Qwen Image 3 Text to Image

He tino pai a Qwen Image 3 ki te whakauru kuputuhi Ingarihi me te Hainamana e mārama ana ki ngā pikitia: ngā tohu, ngā tapanga, ngā kiriata me ngā meme. Ka whakaae ki tētahi tohutohu whakahē, ki te whakawhānui tohutohu aunoa me te kākano kōwhiri, ā, ka whakaputa mai i te 512x512 ki te 2048x2048 ira. Kia ono ngā atahanga mō ia tono i PNG, JPEG, WebP rānei.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
prompte hiahiatia ana
Momostring
≤ 5,000 pūāhua
Kuputuhi e whakaahua ana i te atahanga hei waihanga, ki te Hainamana, ki te reo Pākehā rānei, he 5000 pūāhua te mōrahi.
negative_promptkōwhiringa
Momostring | null
Taunoa
≤ 500 pūāhua
Ngā ihirangi hei aukati i te atahanga ka puta, he 500 pūāhua te mōrahi.
image_sizekōwhiringa
Momoobject
Taunoasquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Tautuhia ngā rahinga putanga kia noho te tatau pika katoa o te atahanga i waenga i te 512 × 512 me te 2048 × 2048.
enable_prompt_expansionkōwhiringa
Momoboolean
Taunoatrue
Ka whakahaere i te tuhi anō aunoa a tētahi LLM i te tohutohu hei whakapai ake i ngā hua.
seedkōwhiringa
Momointeger | null
Te kākano matapōkere mō ngā putanga ka taea te tārua, mai i te 0 ki te 2147483647.
num_imageskōwhiringa num_outputs
Momointeger
Taunoa1
1 – 6
Te tatau atahanga e tonoa ana mō te whakaputanga.
output_formatkōwhiringa
Momoenum
Taunoapng
jpegpngwebp
Te hōputu kōnae mō te atahanga ka puta.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Putanga

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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
images
array of object {url, content_type, file_name, file_size}Ngā atahanga i whakaputaina.
seed
integerTe uara kākano i whakamahia i te whakaputanga.

Ētahi atu tauira: Kuputuhi ki te Atahanga

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/alibaba/qwen-image-3/text-to-image.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt