Qwen Image 2 Pro
qwen-image-2-proThe pro version of Qwen Image 2 from Alibaba's Qwen team. Enhanced text rendering, realism, and semantic adherence for high-quality image generation and editing.
- Price
- $0.090/image
- Aspect ratios
- 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, 1:2
- Input â output
- Text â Image
- Developer
- Alibaba (Qwen)
- Updated
- September 24, 2026
Playground
Try Qwen Image 2 Pro
Input & output
This run
$0.09 ¡ 9 credits
For accounts without a purchase: runs above 2 credits need a top-up.
New here?
10 free credits ($0.10) when you sign up with Google
Usable 24 hours after sign-up, up to 5 runs per day and at most 2 credits per run. Other sign-in methods start without credits.
Examples
Open full sizePrompt
A wide-angle smartphone photograph of a modern glass whiteboard mounted on a wall inside a bright, airy office room with floor-to-ceiling windows overlooking the Great Wall of China winding across misty mountain ridges at golden hour â warm sunlight casts soft reflections and long shadows across the scene.\nCentered in the frame, a woman in her late 20s wearing a relaxed-fit white t-shirt prominently featuring a sleek âQwen-Imageâ logo in gradient blue typography is writing on the board with a fine-tip magnetic stylus.\nHer handwriting is natural, slightly imperfect, and expressive â with visible pressure variation, subtle smudges, and organic line weight â conveying authentic human authorship.\nIn the lower-left corner of the glass surface, the photographerâs faint but unmistakable reflection appears: blurred outline of a person holding a phone at armâs length, capturing the moment.\n\nOn the left side of the whiteboard, clean, legible handwritten text appears in dark gray marker with exceptional stroke fidelity:\nâQwen-Image-2.0 Core Innovations:\n⢠Complex Typography Engine: 1K-token instruction support for professional PPTs, posters & infographics â pixel-perfect multi-script layout, sophisticated text-image composition, and complete rendering of large-volume textual content\n⢠Extreme Photorealism: Native 2K resolution (2048Ă2048) with microscopic detail on skin pores, fabric weave, architectural textures & natural foliage\n⢠Unified Omni Model: Generation + editing inâŚ
Settings
- aspect_ratio
- 1:1
Open full sizePrompt
A dramatic coastal lighthouse at sunset, waves crashing against rocky cliffs, golden light illuminating the scene, photorealistic
Settings
- aspect_ratio
- 4:3
About Qwen Image 2 Pro
Qwen Image 2 Pro is a model by Alibaba (Qwen) in the Image generation category. On Railwail, Qwen Image 2 Pro costs $0.090 per image. Supported aspect ratios: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, and 1:2.
Pricing
| Per image | $0.090 per image |
|---|
- 1 credit = $0.01
Cost calculator
Price calculator
Total
$9.00
900 credits
Per run
$0.09 ¡ 9 credits
Fixed price per run, known before the run starts.
API
curl https://railwail.com/api/v1/images/generations \
-H "Authorization: Bearer $RAILWAIL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-image-2-pro",
"prompt": "A lighthouse on a rocky coast at sunset, photorealistic"
}'import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["RAILWAIL_API_KEY"],
base_url="https://railwail.com/api/v1",
)
image = client.images.generate(
model="qwen-image-2-pro",
prompt="A lighthouse on a rocky coast at sunset, photorealistic",
)
print(image.data[0].url)import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.RAILWAIL_API_KEY,
baseURL: "https://railwail.com/api/v1",
});
const image = await client.images.generate({
model: "qwen-image-2-pro",
prompt: "A lighthouse on a rocky coast at sunset, photorealistic"
});
console.log(image.data[0].url);// npm install railwail
import railwail from "railwail";
const rw = railwail(process.env.RAILWAIL_API_KEY);
const res = await rw.image("qwen-image-2-pro", "A lighthouse on a rocky coast at sunset, photorealistic");
console.log(res.data[0].url);Specifications
- Model ID
qwen-image-2-pro- Developer
- Alibaba (Qwen)
- Category
- Image generation
- Input
- Text
- Output
- Image
- Aspect ratios
- 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, 1:2
- Billing
- Fixed price, known before the run
- Catalog entry updated
- September 24, 2026
Input parameters
Inputs and settings from the model's input schema. The example in the API section shows which of them the API accepts.
promptrequiredType: TextDefault: âAllowed values: âaspectRatioType: ChoiceDefault: âAllowed values: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, or 1:2
Tags
- replicate
- qwen
- text-to-image
Use cases
Frequently asked questions
What is Qwen Image 2 Pro?
Qwen Image 2 Pro is a model by Alibaba (Qwen) in the Image generation category. On Railwail you can call it with an API key through the Railwail API.
How much does Qwen Image 2 Pro cost on Railwail?
On Railwail, Qwen Image 2 Pro costs $0.090 per image. The price is known before the run starts. Usage is paid from prepaid credits; 1 credit equals $0.01.
Which settings does Qwen Image 2 Pro support?
According to its input schema, Qwen Image 2 Pro knows these parameters: prompt and aspectRatio (1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, or 1:2).
How fast is Qwen Image 2 Pro?
There are not enough measured runs of Qwen Image 2 Pro on Railwail yet to state a run time. It depends on the input, the settings and the load at the provider.
Is Qwen Image 2 Pro better than FLUX 1.1 Pro?
That depends on the task. Qwen Image 2 Pro (Alibaba (Qwen)) and FLUX 1.1 Pro (Black Forest Labs) are both models in the Image generation category. The comparison page shows their prices and specifications side by side.
Compare Qwen Image 2 Pro and FLUX 1.1 ProHow do I use Qwen Image 2 Pro through the API?
Create a Railwail API key and send your request with the model ID qwen-image-2-pro. Code examples for curl, Python and JavaScript are in the API section of this page.
Comparable models
All in this category- FLUX 1.1 ProBlack Forest Labs
Black Forest Labs' flagship text-to-image model. Faster generation than FLUX.1 Pro at higher prompt adherence, with strong photorealism and reliable spatial composition. Runs as a hosted Replicate model.
- Flux 1.1 Pro UltraBlack Forest Labs
FLUX 1.1 Pro in ultra mode. Up to 4 megapixel images with raw mode for photorealism.
- Flux DevBlack Forest Labs
Black Forest Labs' development model. Fast, high-quality image generation with LoRA support.
Use Qwen Image 2 Pro via the API
One API key for every model on Railwail. Usage is charged from prepaid credits, 1 credit = $0.01.