Qwen: Qwen Image 2.0
Qwen text-to-image model. Billed per successfully generated image at CNY 0.2/image; failed generations are not billed.
Supply channels
Direct official channels with shared authentication, billing and observability. Use the same API key as for other models.
Channels are ordered by request volume over the last 24 hours. A valid public provider name is shown when available; otherwise a generic channel label is used. Availability, latency and throughput use a rolling 24-hour window. Hourly colors show operational, degraded, down or no-traffic periods. Hover for actual values. The price is the same across channels.
Quick start
OpenAI compatible: change the base URL and set the model to qwen/qwen-image-2.0.
from openai import OpenAI
client = OpenAI(
base_url="https://api.goodputai.cn/v1",
api_key="GOODPUT_API_KEY",
)
resp = client.images.generate(
model="qwen/qwen-image-2.0",
prompt="West Lake in spring, watercolor style",
size="1024*1024",
n=1, # Image count (billed per image)
)
print(resp.data[0].url) # Download URL of the generated imageBilling method:Billed per generated image: CN¥0.20 per image. n sets the image count.
Related models
Qwen speech recognition model. Accepts audio via base64 (≤10MB) or a public URL. Transcribed text output is not billed.
Qwen text-to-speech model. Billed by input characters at CNY 0.1 per 1,000 characters. Supports multiple voices via the voice parameter; default: Cherry.
Qwen's visual understanding model with image input and thinking mode.
Add Qwen: Qwen Image 2.0 to your app
Change the base URL and start calling after you sign up.