กำลังโหลดเทมเพลต…
✦

qwen2-1/text-to-image

⚡ รันผ่าน API

Access Qwen Image 2.1 API on ModelFold for efficient image generation and editing.

ประเภทโมเดล:

ราคา: 9.6 เครดิตต่อภาพ

พื้นที่ทดลอง

กรอกข้อมูลตามข้อกำหนดของโมเดลไว้แล้ว เรียกใช้ได้ทันทีหรือปรับแต่ละช่องก่อนก็ได้

พร้อมใช้งาน
พรอมต์

Describe the image you want to generate. Any language is supported, up to 5000 characters.

อัตราส่วนภาพ

Output aspect ratio. The actual pixel size also depends on the resolution tier.

ความละเอียด

Output resolution tier. Only 1K and 2K are supported. 2K takes noticeably longer to generate.

background

Background type. transparent outputs a PNG or WebP with a real alpha channel and cannot be used with JPEG. When using transparent, describe only the subject — prompts that mention a background, scene, surface, etc. may produce a non-transparent result.

output_format

Output image format. JPEG has no alpha channel, so it cannot be combined with a transparent background.

enhance_prompt

Rewrites the prompt into a fuller scene description before generating, which noticeably improves quality. Enabled by default (also when the parameter is omitted); pass false to turn it off.

ค่าเริ่มต้นการสุ่ม

The same seed with the same prompt and parameters reproduces the same image on the same model version. The seed actually used is returned with the result.

nsfw_checker

A configurable parameter. Defaults to true in the Playground.

ยอดคงเหลือ: —ยอดกันไว้โดยประมาณ9.6 เครดิต(ประมาณการก่อนสร้าง แสดงยอดที่หักจริงเมื่อเสร็จสิ้น)
ผลลัพธ์
ประวัติ

นี่คือตัวอย่างผลลัพธ์ของรุ่นนี้ กดเรียกใช้เพื่อสร้างผลลัพธ์ของคุณเอง

ดูโมเดลประเภท รูปภาพ เพิ่มเติม

โมเดล AI อื่นจาก Alibaba

ดูโมเดลทั้งหมด →
≡
README
คู่มือฉบับสมบูรณ์สำหรับการใช้ Qwen Image 2.1

Qwen Image 2.1 API

Generate or edit images with Qwen Image 2.1 on ModelFold.

What this model is for

Image generation

Turn text prompts into images for illustrations, posters, and product visuals.

Text and layout

Generate images that combine visual composition and text. Describe the wording and placement in your prompt.

Image editing

Provide a reference image and describe the changes to create an edited image.

Pricing

Billed per image using the selected variant and size. See the current price in the Playground and rate table. Final charges follow the completed task; failed generations are not charged.

FAQ

What model id do I send?⌄

Choose the exact model ID shown in the Playground: qwen2-1/text-to-image, qwen2-1/image-to-image. Send it to POST https://modelfold.ai/v1/jobs/createTask with an input object and Authorization: Bearer YOUR_API_KEY.

Does it support tools?⌄

No. This is an image generation or editing API, not a Chat Completions model with tools or tool_choice.

ตารางราคา
text to image9.6 เครดิต image
image to image4.8 เครดิต image

ราคาคงที่ต่อการรันหนึ่งครั้ง ไม่เปลี่ยนตามระยะเวลา

เริ่มต้นใช้งาน
POST/v1/images/generations
curl https://modelfold.ai/v1/images/generations \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen2-1/text-to-image","prompt":"..."}'