Qwen 2.1: Pembuat Gambar AI

Buat gambar fotorealistis dengan Qwen 2.1. Latar transparan, 9 rasio aspek, resolusi hingga 2K. Coba gratis — bayar per generasi. Qwen 2.1 Text to Image adalah model teks-ke-gambar Alibaba untuk adegan fotorealistis, fotografi editorial, dan tipografi terbaca dari prompt bahasa alami. Mendukung latar opak dan transparan, sembilan rasio aspek, resolusi 1K/2K, serta penulisan ulang prompt bawaan untuk hasil lebih tajam dan terperinci. Untuk mengedit atau menggabungkan gambar, lihat Qwen 2.1 Image to Image; untuk generasi Alibaba yang lebih baru, lihat Qwen 3.0 Text to Image.

Kontrol model interaktif

Buat gambar fotorealistis dengan Qwen 2.1. Latar transparan, 9 rasio aspek, resolusi hingga 2K. Coba gratis — bayar per generasi.

📝

Ikhtisar

Tentang model ini

Qwen 2.1 Text to Image adalah model teks-ke-gambar Alibaba untuk adegan fotorealistis, fotografi editorial, dan tipografi terbaca dari prompt bahasa alami. Mendukung latar opak dan transparan, sembilan rasio aspek, resolusi 1K/2K, serta penulisan ulang prompt bawaan untuk hasil lebih tajam dan terperinci. Untuk mengedit atau menggabungkan gambar, lihat Qwen 2.1 Image to Image; untuk generasi Alibaba yang lebih baru, lihat Qwen 3.0 Text to Image.

1Mode & Editorial: Buat fotografi bergaya kampanye dengan teks terbaca pada pakaian atau papan.
2Fotografi Produk: Hasilkan foto produk, kemasan, dan interior fotorealistis dari brief teks.
3Materi Pemasaran: Buat PNG/WebP berlatar transparan yang siap ditempatkan pada tata letak apa pun.
4Konten Sosial & Iklan: Buat gambar sesuai rasio aspek platform, dari persegi hingga sangat lebar.
5Seni Konsep: Ulangi komposisi adegan dan ide pencahayaan sebelum produksi penuh.
💰

Harga & Nilai

Analisis biaya

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

Harga tetap per gambar tanpa dipengaruhi rasio aspek.

Fal.aiTidak tersedia

Qwen 2.1 saat ini belum tercantum di Fal.ai.

ReplicateTidak tersedia

Qwen 2.1 saat ini belum tercantum di Replicate.

** Harga pesaing diperkirakan berdasarkan arsitektur model dan tingkat penggunaan yang serupa.

⚙️

Detail Teknis

Skema konfigurasi

cepatstring

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

Nilai BawaanA corgi wearing a yellow rain hat sitting on stone steps after the rain, shallow depth of field
rasio aspekEnum (opsi 9)

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

Nilai Bawaan1:1
ResolusiEnum (opsi 2)

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

Nilai Bawaan1K
BackgroundEnum (opsi 2)

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

Nilai Bawaanopaque
Format keluaranEnum (opsi 3)

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

Nilai Bawaanpng
Enhance Promptboolean

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

Nilai Bawaantrue
Benihinteger

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

Nilai Bawaan-
📖

Panduan Implementasi

Dokumentasi pengembang

Cara Menggunakan Qwen 2.1 Text to Image API

  1. Tulis prompt: jelaskan subjek, adegan, gaya, dan teks di dalam gambar, hingga 5000 karakter.
  2. Pilih rasio aspek dan resolusi: choose from 1:1, 16:9, 9:16, 21:9, and more, plus 1K or 2K resolution.
  3. Pilih latar dan format: set background to transparent for a cut-out subject on PNG/WebP, or leave opaque with png/webp/jpeg.
  4. Kirim tugas:
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. Periksa hasilnya: use the returned request_id pada endpoint hasil prediksi standar hingga status bernilai completed.
❓

Pertanyaan Umum

Sering ditanyakan

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.