alibaba/qwen-image-2.1-pro/text-to-imageFrom 6 credits per image· Create Image

Qwen Image 2.1 Pro is the hosted Pro tier of Alibaba's Qwen Image 2.1, offered as an API rather than as open weights.

Call it with the model name alibaba/qwen-image-2.1-pro/text-to-image on POST /jobs/createTask, from 6 credits per image ($0.06). New accounts get 30 free credits to try it in the Playground first.

  • Create Image
  • Edit Image
  • Up to 2K
  • Up to 10 reference images
  • 15 aspect ratios
  • Up to 6 per run

Introduction

Qwen Image 2.1 Pro Text to Image turns a written brief into images. Pro is Alibaba's hosted tier of Qwen Image 2.1; Alibaba offers it as an API and has not published weights for it. One request returns 1 to 6 PNG images.

Choose a mode by what you have

Starting materialMode
A written brief and nothing elseQwen Image 2.1 Pro Text to Image
One or more images to changeQwen Image 2.1 Pro Image Editing

Key features

Speed

14 to 31 seconds for a single image and 39 to 43 seconds for two 2K images in one call, end to end across our runs. Prompt expansion and thinking mode add time when they are on.

Text in the image

Our magazine cover asked for "AFTER DARK" as the masthead and "THE SILK ISSUE · NO. 07" below it and got both, letter for letter, in both images of the request.

Fifteen ratios, three sizes

Every ratio from 3:1 to 1:3 at 1k, 1.5k and 2k. At 2K:

RatioOutput size
1:12048 × 2048
16:92688 × 1536
9:161536 × 2688
4:32368 × 1760
3:22496 × 1664
2:31664 × 2496

Pro or Turbo

ProTurbo
What it isAlibaba's hosted Pro tier8-step checkpoint
WeightsNot publishedOpen, Qwen Research License
Images per request1 to 61 to 6

The request is the same, so you can send one prompt to both and keep the result you prefer. Alibaba has not published a quality comparison between them.

Request parameters

ParameterRequiredDescription
seedNoReuse the same number to get a repeatable result. ≥ 0 · ≤ 2147483647
promptYesDescribe the subject, composition, lighting, and any wording to render. There is no negative prompt: write what to leave out directly in the prompt.
resolutionNoOutput size. Bigger sizes look sharper and cost more. 1k · 1.5k · 2k · Default: 2k
num_outputsNoHow many results to make in one go. ≥ 1 · ≤ 6 · Default: 1
aspect_ratioNoThe shape of the frame: wide, square or tall. 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 21:9 · 9:21 · 2:1 · 1:2 · 3:1 · 1:3 · 5:4 · 4:5 · Default: 1:1
enable_thinkingNoSpend extra reasoning on the rewrite for better images, at the cost of a longer wait. Only works while prompt expansion is on. Default: true
enable_prompt_expansionNoLets the model add detail to a short prompt. Default: false
prompt_optimization_modeNoHow prompt expansion rewrites the brief: direct is a single pass that suits most prompts; agent is a multi-step rewrite with finer detail. direct · agent · Default: direct

Pricing

Prices are in credits, the same credits you use on the website (1 credit = $0.01). The hold is taken when the task is accepted and settled to the actual charge when it finishes; failed tasks are refunded.

OptionCredits per image≈ USD
Standard5.4$0.054

Each task is rounded up to whole credits, so one run at the lowest tier costs 6 credits per image ($0.06).

For an exact number before you run, send the same body to POST /jobs/quote.

Use cases

Editorial and magazine-style covers

Mastheads and cover lines come back as written, so covers and title cards can be produced in one pass.

Product and lifestyle shots

Describe the product, the set and the light; generate a few at once and carry the best into image editing.

Campaign variations

The same prompt at several ratios gives matching assets for feed, story and banner placements.

Prompt guide & pro tips

Turn expansion on for short everyday prompts

A six-word idea gets a fuller scene. direct suits most prompts, agent rewrites in more detail, and thinking mode spends extra time on a better rewrite. Leave expansion off when your prompt is already detailed and has to run as written.

Write in a fixed order

Subject, wardrobe, pose, light, lens and palette, in plain sentences. Name the light source and its direction instead of a mood word.

Quote the words that must appear

Put exact wording in quotation marks, keep each line short and say where it sits ("a masthead across the top", "a small line under the title").

API quick start

Call the Qwen Image 2.1 Pro API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow- and use the same credits as the website.
  2. Send the request. POST /jobs/createTask with model alibaba/qwen-image-2.1-pro/text-to-image and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "alibaba/qwen-image-2.1-pro/text-to-image",
  "input": {
    "prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
    "aspect_ratio": "1:1",
    "resolution": "2k",
    "num_outputs": 1
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

Qwen Image 2.1 Pro API questions

How much does the Qwen Image 2.1 Pro API cost?

Qwen Image 2.1 Pro starts at 6 credits ($0.06) per image with Create Image, its cheapest task. Credits are the same as on the website (1 credit = $0.01), new accounts get 30 free credits, and failed tasks are refunded.

What is the model name for Qwen Image 2.1 Pro in the API?

Put alibaba/qwen-image-2.1-pro/text-to-image for Create Image; alibaba/qwen-image-2.1-pro/edit for Edit Image in the model field of POST /jobs/createTask.

How fast is Qwen Image 2.1 Pro?

Across our runs, 14 to 31 seconds for a single text-to-image result, 39 to 43 seconds for two 2K images in one call, and 39 to 48 seconds for edits, end to end. Prompt expansion and thinking mode add time when they are on.

Can Qwen Image 2.1 Pro put text in the image?

Yes. Alibaba lists improved typography for Pro, and our magazine-cover test, "AFTER DARK" as the masthead and "THE SILK ISSUE · NO. 07" underneath, came back letter for letter in both images of the request. Quote the wording and say where it goes.

How many images and references can one request take?

One to six output images on both endpoints, and one to ten reference images for editing. Refer to references as Image 1, Image 2 and so on in the prompt.

Can I download the Qwen Image 2.1 Pro weights?

No. Alibaba offers Pro as a hosted API and has not published weights for it. The open-weight releases in the 2.1 line are Qwen Image 2.1 and Qwen Image 2.1 Turbo.

What are the limits of the Qwen Image 2.1 Pro API?

Resolutions: 1K · 1.5K · 2K; Aspect ratios: 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 +9; Outputs per call: 1–6; Prompt length (characters): 5,000. Requests outside these limits are rejected before anything is charged.

Can I try Qwen Image 2.1 Pro without writing code?

Yes. The Playground runs Qwen Image 2.1 Pro on your PopNow credits, needs no API key, and shows the matching code for every run.

All Qwen Image models

Qwen Image 2.1 Turbo takes exactly the same settings at less than half the price and suits drafts and volume. Pro is the one for the final portrait or cover.

More about Qwen Image 2.1 Pro