Skip to content
Alibaba · Qwen Image

qwen-image-2.0-pro API

Generate images with stronger text rendering and refined realistic textures using qwen-image-2.0-pro on Openrouter API.

Image generationImageAsync task
Model id
qwen-image-2.0-pro

qwen-image-2.0-pro API pricing

All prices in USD. Openrouter API rates compared with the official list price for the same unit.

OptionOpenrouter APIOfficialSave
DefaultDefault$0.055$0.075−27%

Prices are per image.

What is qwen-image-2.0-pro?

qwen-image-2.0-pro is Alibaba’s Pro model in the Qwen Image family, designed for image generation with stronger text rendering and more refined realistic textures than the standard version. It is suited to workflows involving text-bearing visuals, realistic imagery, and reference-based variations. Generate from a text prompt or supply reference images through publicly accessible URLs. Controls include seven aspect ratios, 1K and 2K resolution tiers, a negative prompt, and one to six images per request.

On Openrouter API, submit requests to POST /v1/images/generations using your API key and the model ID. Generation is asynchronous: the response supplies a task ID that you poll for results. Openrouter API Default pricing is $0.055 per image, about 27% below the developer's list price of $0.075 per image. Billing applies only to successfully generated images, with no charge for failures.

qwen-image-2.0-pro highlights

Stronger Text Rendering

The Pro version offers stronger text rendering than qwen-image-2.0, alongside more refined realistic textures.

Reference Image Generation

Generate images from text prompts or use image_urls for image-to-image generation with reference images.

Ratio and Resolution Controls

Choose from seven aspect ratios and 1K or 2K resolution tiers. Output dimensions depend on the combination of size and resolution.

Multi-Image Requests

Set n from 1 to 6 to generate multiple images in one request. Openrouter API bills per successfully generated image.

How to call the qwen-image-2.0-pro API in 4 steps

  1. 01

    Get an API key

    Sign in to Openrouter API, top up from $50, and create an sk-ora key in the console.

  2. 02

    Set the base URL

    Use https://openrouterapi.ru/v1 as the base URL in your SDK or HTTP client.

  3. 03

    Send the request

    Call POST /v1/images/generations with "model": "qwen-image-2.0-pro" and the parameters below.

  4. 04

    Handle the response

    The response contains a task_id. Poll GET /v1/tasks/{task_id} until the status is completed, then download the result URLs.

curl --request POST \
  --url https://openrouterapi.ru/v1/images/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "qwen-image-2.0-pro",
    "prompt": "A cute orange cat napping in the sunshine"
  }'

Parameters

ParameterTypeRequiredDefaultDescription
modelstringRequired—Model name
nsfw_checkbooleanOptionalfalseWhether to run content moderation before submitting the image task.
promptstringRequired—Text description for image generation, up to 800 characters
sizestringOptional1:1Image aspect ratio
resolutionstringOptional1KResolution tier
nintegerOptional1Number of images to generate
negative_promptstringOptional—Negative prompt (content you don't want to appear), up to 500 characters
image_urlsarrayOptional—Reference image URL array (image-to-image mode)

What you can build with qwen-image-2.0-pro

Text-bearing campaign visuals

Build a workflow for generating promotional concepts that include text, using the Pro version’s stronger text rendering.

Realistic visual concepts

Generate realistic imagery for creative review, with prompts describing the textures and appearance your team wants to explore.

Reference-based variations

Let users provide publicly accessible reference image URLs and a text description to create image-to-image variations.

Multi-format content tools

Build image-generation tools with square, landscape, and vertical ratio options for different content layouts.

Tips for better results

  • 01

    Keep prompts within bounds

    Limit prompt to 800 characters and negative_prompt to 500 characters. Use the negative prompt to describe content you do not want to appear.

  • 02

    Set ratio and tier

    Use size to select the aspect ratio and resolution to select 1K or 2K. Omitting both uses the default 1:1 ratio and 1K tier.

  • 03

    Plan for polling

    Read task_id from the submission response, then poll /v1/tasks/{task_id} for results rather than expecting completed images immediately.

  • 04

    Control image count

    Set n explicitly between 1 and 6 to match the number of images you need. Each successfully generated image is billed at $0.055 per image under Openrouter API Default pricing.

Limits and things to know

  • Generation is asynchronous and requires polling for results.

  • Reference images must use publicly accessible URLs; base64 input is not supported.

  • Each request supports up to 6 images, an 800-character prompt, and a 500-character negative prompt.

qwen-image-2.0-pro API FAQ

How much does qwen-image-2.0-pro cost on Openrouter API?

Openrouter API Default pricing is $0.055 per image, compared with the developer's list price of $0.075 per image—about 27% below list price. Only successfully generated images are billed; failures are not charged.

How do I call qwen-image-2.0-pro through the API?

Send a POST request to https://openrouterapi.ru/v1/images/generations with Bearer Token authentication, model set to qwen-image-2.0-pro, and a required prompt. The response returns a task_id; poll /v1/tasks/{task_id} for results.

Which image-generation parameters are supported?

Supported controls include size, resolution, n, negative_prompt, image_urls, and nsfw_check. Defaults are a 1:1 aspect ratio, 1K resolution, one image, and moderation disabled.

What resolutions and image counts are supported?

The model supports 1K and 2K resolution tiers and 1–6 images per request. Exact dimensions depend on the aspect ratio; for example, 1:1 produces 1024×1024 at 1K or 2048×2048 at 2K.

Can I use generated images commercially?

Commercial use is subject to the model developer’s terms. Review the applicable terms and any rights associated with your prompts and reference images before using outputs commercially.

How does qwen-image-2.0-pro compare with qwen-image-2.0?

The documentation describes qwen-image-2.0 as balancing quality and performance. It describes qwen-image-2.0-pro as offering stronger text rendering and more refined realistic textures; both support up to 6 images per request.

Related models

Depth: 250+ models · Minimum top-up $50

Start building with qwen-image-2.0-pro

One key, pay as you go from $50, billed only for successful requests.