सामग्री पर जाएँ

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

आउटपुट के आयाम इस प्रकार सेट करें कि इमेज का कुल पिक्सेल काउंट 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
आउटपुट के आयाम इस प्रकार सेट करें कि इमेज का कुल पिक्सेल काउंट 512 × 512 और 2048 × 2048 के बीच हो।
enable_prompt_expansionवैकल्पिक
प्रकारboolean
डिफ़ॉल्टtrue
परिणाम बेहतर करने के लिए LLM द्वारा प्रॉम्प्ट के स्वचालित पुनर्लेखन को नियंत्रित करता है।
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/hi/developers/models/alibaba/qwen-image-3/text-to-image.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt