atlascloud/qwen-image/text-to-image

Qwen-Image , a 20B MMDiT model for next-gen text-to-image generation.

TEXT-TO-IMAGENEWHOT
文生图

Qwen-Image , a 20B MMDiT model for next-gen text-to-image generation.

输入

正在加载参数配置...

输出

空闲
生成的图片将在这里显示
配置参数后点击运行开始生成

每次运行将花费 0.02。$10 可运行约 500 次。

你可以继续:

1. 代码示例

2. Schema

3. LLM 提示词

4. 参数

import requests
import time

# Step 1: Start image generation
generate_url = "https://api.atlascloud.ai/api/v1/model/generateImage"
headers = {
    "Content-Type": "application/json",
    "Authorization": "Bearer $ATLASCLOUD_API_KEY"
}
data = {
    "model": "atlascloud/qwen-image/text-to-image",
    "prompt": "A beautiful landscape with mountains and lake",
    "width": 512,
    "height": 512,
    "steps": 20,
    "guidance_scale": 7.5
}

generate_response = requests.post(generate_url, headers=headers, json=data)
generate_result = generate_response.json()
prediction_id = generate_result["data"]["id"]

# Step 2: Poll for result
poll_url = f"https://api.atlascloud.ai/api/v1/model/prediction/{prediction_id}"

def check_status():
    while True:
        response = requests.get(poll_url, headers={"Authorization": "Bearer $ATLASCLOUD_API_KEY"})
        result = response.json()

        if result["data"]["status"] == "completed":
            print("Generated image:", result["data"]["outputs"][0])
            return result["data"]["outputs"][0]
        elif result["data"]["status"] == "failed":
            raise Exception(result["data"]["error"] or "Generation failed")
        else:
            # Still processing, wait 2 seconds
            time.sleep(2)

image_url = check_status()

请登录以查看请求历史

您需要登录才能访问模型请求历史记录。

登录

Qwen-Image — a 20B MMDiT model for next-gen text-to-image generation. Especially strong at creating stunning graphic posters with native text. Now open-source.

Key Highlights:

  • SOTA text rendering — rivals GPT-4o in English, best-in-class for Chinese

  • In-pixel text generation — no overlays, fully integrated

  • Bilingual support, diverse fonts, complex layouts

Also excels at general image generation — from photorealistic to anime, impressionist to minimalist. A true creative powerhouse.

详细规格

概览:

模型提供商:QWEN
模型类型:text-to-image
部署方式:推理 API;Playground
定价:$0.02/pic

关键参数:

尺寸上限:最大宽度 × 高度(用户可配置)
LoRA 支持:
种子选项:N/A

创作你的下一件杰作

300+ 模型,即刻开启,

探索全部模型