Qwen Image 2

Image generationNewAvailable
by Alibaba (Qwen)Model ID: qwen-image-2

A next-generation image generation and editing model from Alibaba's Qwen team. Supports text-to-image and image editing with strong text rendering, especially for Chinese.

Price
US$0.042/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
01

Playground

Try Qwen Image 2

Input & output

US$0.042/image
Try Qwen Image 2
Advanced settings (1)
Output
Your image appears here.

This run

US$0.042 · 4.2 credits

For accounts without a purchase: runs above 2 credits need a top-up.

New here?

10 free credits (US$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.

02

Examples

Real outputs from the public examples of this model on Replicate, with the prompt and settings that produced them. They were not generated live on this page.
  • Example output 1 from Qwen Image 2: A serene Japanese garden with a red bridge over a koi pond, morning lightOpen full size

    Prompt

    A serene Japanese garden with a red bridge over a koi pond, morning light

    Settings

    aspect_ratio
    4:3
  • Example output 2 from Qwen Image 2: Three green tree frogs perch side by side on a moss-covered rock glistening with moisture: the left frog has its eyes slightly closed and reOpen full size

    Prompt

    Three green tree frogs perch side by side on a moss-covered rock glistening with moisture: the left frog has its eyes slightly closed and relaxed lips, its smooth-textured skin conveying calmness; the middle frog’s eyelids are half-lowered, its gaze distant and mouth straight, its body faintly shimmering with a misty sheen that suggests aloofness; the right frog’s eyes are wide open, encircled by a soft golden glow, its lips curved into a gentle smile, a pink tongue extending about 3 millimeters, limbs naturally outstretched with clearly visible toe pads, radiating joy. The rock is blanketed in thick, lush green moss, wet and reflective, dotted with tiny water droplets and minute fragments of decaying leaves. In the softly blurred background, a tropical rainforest stream winds through the scene, morning mist drifting like gauze through the mid- and far distance, layers of ferns and banana leaves overlapping, their edges and veins adorned with crystal-clear dewdrops, some slowly sliding down. A slanted ray of morning light pierces through the forest canopy, forming a soft Tyndall beam in the mist that illuminates the frogs’ backs and nearby foliage. The image exhibits a realistic style with ultra-high-definition 8K natural photography quality, precisely controlled depth of field rendering the frogs sharply crisp while the background transitions smoothly into natural bokeh. Colors are richly saturated yet true to life—emerald frogs, deep green moss, warm gray mist, translucent…

    Settings

    aspect_ratio
    4:3
03

About Qwen Image 2

TL;DRAs of September 24, 2026

Qwen Image 2 is a model by Alibaba (Qwen) in the Image generation category. On Railwail, Qwen Image 2 costs US$0.042 per image. Supported aspect ratios: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1 and 1:2.

04

Pricing

Prices in US dollars. Usage is charged from prepaid credits.
Per imageUS$0.042 per image
  • 1 credit = US$0.01

Cost calculator

Price calculator

Total

US$4.20

420 credits

Per run

US$0.042 · 4.2 credits

Fixed price per run, known before the run starts.

05

API

Call Qwen Image 2 with your Railwail API key. Use this model ID in the request:
curl https://railwail.com/api/v1/images/generations \
  -H "Authorization: Bearer $RAILWAIL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen-image-2",
    "prompt": "A lighthouse on a rocky coast at sunset, photorealistic"
  }'
Set your key as RAILWAIL_API_KEYCreate API key
06

Specifications

Model ID
qwen-image-2
Developer
Alibaba (Qwen)
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.

  • promptrequired
    Type: Text
    Default: –
    Allowed values: –
  • aspectRatio
    Type: Choice
    Default: –
    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
07

Use cases

08

Frequently asked questions

What is Qwen Image 2?

Qwen Image 2 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 cost on Railwail?

On Railwail, Qwen Image 2 costs US$0.042 per image. The price is known before the run starts. Usage is paid from prepaid credits; 1 credit equals US$0.01.

Which settings does Qwen Image 2 support?

According to its input schema, Qwen Image 2 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?

There are not enough measured runs of Qwen Image 2 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 better than FLUX 1.1 Pro?

That depends on the task. Qwen Image 2 (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 and FLUX 1.1 Pro

How do I use Qwen Image 2 through the API?

Create a Railwail API key and send your request with the model ID qwen-image-2. Code examples for curl, Python and JavaScript are in the API section of this page.

09

Comparable models

All in this category

Use Qwen Image 2 via the API

One API key for every model on Railwail. Usage is charged from prepaid credits, 1 credit = US$0.01.