Qwen 2.1: เครื่องกำเนิดภาพ AI

Generate photorealistic images with Qwen 2.1. Transparent backgrounds, 9 aspect ratios, up to 2K resolution. Try free — pay per generation. Qwen 2.1 Text to Image generates high-fidelity images from text prompts with intelligent prompt rewriting, transparent backgrounds, and up to 2K resolution.

Interactive model controls

Qwen 2.1 Text to Image generates high-fidelity images from text prompts with intelligent prompt rewriting, transparent backgrounds, and up to 2K resolution.

📝

ภาพรวม

เกี่ยวกับรุ่นนี้

Qwen 2.1 Text to Image is Alibaba's text-to-image model for photorealistic scenes, editorial photography, and legible on-image typography from natural-language prompts. It supports opaque and transparent backgrounds, nine aspect ratios, and 1K/2K output resolution, with built-in prompt rewriting that expands short prompts into fuller scene descriptions for sharper, more detailed results. For image editing and recombination instead of pure generation, see Qwen 2.1 Image to Image; for Alibaba's newer generation, see Qwen 3.0 Text to Image.

1Fashion & Editorial: Generate campaign-style photography with legible text printed on clothing or signage.
2Product Photography: Render photorealistic product shots, packaging, and interiors from a text brief.
3Marketing Assets: Produce transparent-background PNGs/WebPs ready to drop onto any layout or backdrop.
4Social & Ad Creative: Generate on-brand images in the exact aspect ratio a platform requires, from square to ultra-wide.
5Concept Art: Quickly iterate on scene composition and lighting ideas before committing to a full production shoot.
💰

ราคาและความคุ้มค่า

การวิเคราะห์ต้นทุน

muapiapp$0.03 (1K) / $0.05 (2K)

Flat per-image pricing regardless of aspect ratio.

Fal.aiไม่พร้อมใช้งาน

Qwen 2.1 is not currently listed on Fal.ai.

Replicateไม่พร้อมใช้งาน

Qwen 2.1 is not currently listed on Replicate.

** ราคาของคู่แข่งประเมินโดยพิจารณาจากสถาปัตยกรรมโมเดลและระดับการใช้งานที่คล้ายคลึงกัน

⚙️

รายละเอียดทางเทคนิค

สคีมาการกำหนดค่า

พร้อมท์string

The prompt that describes the image content, style and composition you want to generate. Any language is supported, up to 5000 characters.

ค่าเริ่มต้นA corgi wearing a yellow rain hat sitting on stone steps after the rain, shallow depth of field
อัตราส่วนภาพอีนัม (9 ตัวเลือก)

The output aspect ratio. The actual pixel size also depends on resolution.

ค่าเริ่มต้น1:1
ความละเอียดอีนัม (2 ตัวเลือก)

The output resolution tier. 1K is the faster option; 2K produces four times the pixels and takes longer.

ค่าเริ่มต้น1K
Backgroundอีนัม (2 ตัวเลือก)

Background type. Transparent outputs a PNG or WebP with a real alpha channel and cannot be used with JPEG.

ค่าเริ่มต้นopaque
รูปแบบเอาต์พุตอีนัม (3 ตัวเลือก)

The output image format. jpeg has no alpha channel and cannot be combined with a transparent background.

ค่าเริ่มต้นpng
Enhance Promptboolean

Rewrites the prompt into a fuller scene description before generating, which noticeably improves quality.

ค่าเริ่มต้นtrue
เมล็ดพันธุ์integer

The random seed. Omit it to generate with a random seed.

ค่าเริ่มต้น-
📖

คู่มือการใช้งาน

เอกสารสำหรับนักพัฒนา

How to Use Qwen 2.1 Text to Image API

  1. Write your prompt: describe the subject, scene, style, and any on-image text, up to 5000 characters.
  2. Pick aspect ratio and resolution: choose from 1:1, 16:9, 9:16, 21:9, and more, plus 1K or 2K resolution.
  3. Choose background and format: set background to transparent for a cut-out subject on PNG/WebP, or leave opaque with png/webp/jpeg.
  4. Submit the task:
curl -X POST "https://api.muapi.ai/api/v1/qwen2-1-text-to-image" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A corgi wearing a yellow rain hat sitting on stone steps after the rain, shallow depth of field",
    "aspect_ratio": "16:9",
    "resolution": "1K",
    "output_format": "png"
  }'
  1. Poll for the result: use the returned request_id against the standard predictions result endpoint until status is completed.

คำถามทั่วไป

คำถามที่พบบ่อย

What is Qwen 2.1 Text to Image?

Qwen 2.1 Text to Image is Alibaba's image generation model, tuned for photorealism, clean typography, and prompt comprehension across many aspect ratios.

What resolutions and aspect ratios are supported?

1K and 2K resolution tiers, with 9 aspect ratios from 1:1 and 16:9/9:16 to ultra-wide 21:9/9:21.

Can I generate transparent-background images?

Yes — set `background` to `transparent` and use `png` or `webp` as the output format (not supported with `jpeg`).

What does `enhance_prompt` do?

When enabled (the default), the model rewrites your prompt into a fuller scene description before generating, which noticeably improves output quality. Pass `false` to disable it and use your prompt verbatim.

Can I reproduce the same image again?

Yes — pass the `seed` value returned with a previous result together with the same prompt and parameters to reproduce that image.