مواد پر جائیں

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

آؤٹ پٹ dimensions اس طرح مقرر کریں کہ تصویر کے کل پکسلز 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 میں محفوظ ہوتی ہے جب آپ Remember منتخب کریں۔ 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
آؤٹ پٹ dimensions اس طرح مقرر کریں کہ تصویر کے کل پکسلز 512 × 512 اور 2048 × 2048 کے درمیان ہوں۔
enable_prompt_expansionاختیاری
قسمboolean
ڈیفالٹtrue
نتائج بہتر بنانے کے لیے LLM کے ذریعے خودکار پرامپٹ rewriting کو کنٹرول کرتا ہے۔
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/ur/developers/models/alibaba/qwen-image-3/text-to-image.md. تمام ماڈلز اور گائیڈز: https://doitong.com/developers/llms.txt