কনটেন্টে যান

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"

এই অনুরোধ: ০.০৪$ ৪০ API ক্রেডিট · ≈ ৪.২৯₽ এই পেজে চালান

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.

০.০৪$ · ৪০ 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 মূল্য → ০.০৪$
# 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-তে পাঠানো হয় এবং Remember টিক দিলে কেবল localStorage-এ সংরক্ষিত হয়। একটি API কী পান

Qwen Image 3 Text to Image সম্পর্কে

Qwen Image 3 ছবিতে পাঠযোগ্য ইংরেজি ও চীনা টেক্সট বসাতে বিশেষভাবে দক্ষ: সাইন, লেবেল, স্লাইড ও মিম। এটি নেগেটিভ প্রম্পট, ঐচ্ছিক স্বয়ংক্রিয় প্রম্পট সম্প্রসারণ এবং একটি সিড গ্রহণ করে, এবং 512x512 থেকে 2048x2048 পিক্সেল পর্যন্ত রেন্ডার করে। PNG, JPEG বা WebP-তে প্রতি রিকোয়েস্টে সর্বোচ্চ ছয়টি ছবি।

প্যারামিটার

ক্যানোনিকাল নাম অথবা নেটিভ নাম—দুটো একসঙ্গে নয়—পাঠান। ক্যানোনিকাল নামগুলো

নামধরন ডিফল্টঅনুমোদিত বিবরণ
promptআবশ্যক
ধরনstring
≤ ৫,০০০টি অক্ষর
তৈরি করার ছবির বর্ণনা, চীনা বা ইংরেজিতে, সর্বোচ্চ 5000 অক্ষর।
negative_promptঐচ্ছিক
ধরনstring | null
ডিফল্ট
≤ ৫০০টি অক্ষর
ফলাফল ছবিতে বাদ দেওয়ার কনটেন্ট; সর্বোচ্চ 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
১ – ৬
জেনারেশনের জন্য অনুরোধ করা ছবির সংখ্যা।
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-মাস অনুযায়ী অর্থপ্রদত্ত) অথবা অ্যাকাউন্ট সেটিংস বা ?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/bn/developers/models/alibaba/qwen-image-3/text-to-image.md. সব মডেল ও গাইড: https://doitong.com/developers/llms.txt