---
last_updated: 2026-11-24
source_url: https://opper.ai/alibaba/qwen-image-2-1-pro
title: "Qwen Image 2.1 Pro by Alibaba"
description: "Qwen Image 2.1 Pro, Alibaba's 7B Qwen-Image model that unifies text-to-image generation and editing, with up to 10 reference images and native transparent output."
---

# Qwen Image 2.1 Pro

By [Alibaba](https://opper.ai/alibaba).

Qwen Image 2.1 Pro belongs to Alibaba's Qwen-Image 2.1 series, which puts text-to-image generation and image editing in a single 7B-parameter model. Send a prompt alone to generate, or up to 10 reference images with an instruction to edit, combine or restyle them.

It decides from the prompt whether to return a standard image or one with a transparent (alpha) channel, which suits logos, stickers and product cutouts. Alibaba describes it as balancing generation quality, inference efficiency and cost.

Output runs from 512x512 to 2048x2048 pixels at aspect ratios from 1:8 to 8:1, and a seed gives reproducible results. Unlike the 3.0 series it does not take a negative prompt.

## Available routes

Qwen Image 2.1 Pro runs on 2 different routes through the Opper gateway. Its routes and prices, live from the catalogue, are public JSON with no API key needed at https://api.opper.ai/v3/models?q=alibaba%3Aglobal%2Fqwen-image-2.1-pro.

| Provider | Model id | Region | Zero data retention | Training | Price |
| --- | --- | --- | --- | --- | --- |
| [Alibaba Cloud](https://opper.ai/provider/alibaba) | `alibaba:global/qwen-image-2.1-pro` | Multi-region | Abuse monitoring | No | $0.0353 / generation |
| [Alibaba Cloud](https://opper.ai/provider/alibaba) | `alibaba:sg/qwen-image-2.1-pro` | Multi-region | Abuse monitoring | No | $0.04 / generation |

## Key info

- Model id: `alibaba:global/qwen-image-2.1-pro`
- Input: Text, Image
- Output: Image
- Features: none listed
- Pricing: $0.0353 / generation
- Billing: Per generation
- Zero data retention with abuse monitoring
- No training by default

## Pricing

Usage-based pricing, billed per generation, not by token.

| Variant | Price |
| --- | --- |
| Standard | $0.0353 / generation |

## Data handling per route

Each route hosting Qwen Image 2.1 Pro has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

### Alibaba Cloud — Multi-region

Zero data retention with abuse monitoring: prompts and outputs are kept for abuse monitoring only, for a window the provider does not state, and are not used for training. No training on customer data. GLOBAL; SCCs.

- Zero data retention: With abuse monitoring, window not stated.
- Training: No training on customer data.
- Logging: Abuse monitoring
- Abuse monitoring: On by default, holds flagged content
- Caching: Content cached for replay
- Transfer mechanism: SCCs

Verified by Opper on 2026-09-16.

### Alibaba Cloud — Multi-region

Zero data retention with abuse monitoring: prompts and outputs are kept for abuse monitoring only, for a window the provider does not state, and are not used for training. No training on customer data. GLOBAL; SCCs.

- Zero data retention: With abuse monitoring, window not stated.
- Training: No training on customer data.
- Logging: Abuse monitoring
- Abuse monitoring: On by default, holds flagged content
- Caching: Content cached for replay
- Transfer mechanism: SCCs

Verified by Opper on 2026-11-09.

## Get started

Call Qwen Image 2.1 Pro through the Opper gateway with one API key. Image models run on Opper's images endpoint: POST /v3/images returns the image in the response, as base64 by default.

See the [Opper images guide](https://docs.opper.ai/build/multimodal/images) and the [Opper multimodal skill](https://skills.opper.ai/opper-multimodal/SKILL.md).

Qwen Image 2.1 Pro is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

### Set it up with your agent

Paste this into a coding agent like Claude Code, Cursor or Codex and it will wire up Opper for you:

```text
Use curl to download, read and follow: https://skills.opper.ai/opper-multimodal/SKILL.md Generate an image with Qwen Image 2.1 Pro
```

### Or call it directly

cURL:

```bash
curl -s https://api.opper.ai/v3/images \
  -H "Authorization: Bearer $OPPER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "alibaba:global/qwen-image-2.1-pro",
    "prompt": "A watercolor lighthouse on a cliff at sunrise",
    "size": "1024x1024"
  }' \
  | jq -r '.data[0].b64_json' | base64 --decode > image.png

# To edit an image, add "image": "https://..." (or a file_<id>) to the body
```

JavaScript:

```javascript
import { writeFile } from "node:fs/promises";

const res = await fetch("https://api.opper.ai/v3/images", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.OPPER_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "alibaba:global/qwen-image-2.1-pro",
    "prompt": "A watercolor lighthouse on a cliff at sunrise",
    "size": "1024x1024"
  }),
});
const { data } = await res.json();
// Each image comes back as base64 (b64_json) unless you ask for a url
await writeFile("image.png", Buffer.from(data[0].b64_json, "base64"));
```

## Use Qwen Image 2.1 Pro in your apps

Pick your tool to see how to run it on Qwen Image 2.1 Pro through Opper.

- [Claude Code](https://opper.ai/apps/claude-code/qwen-image-2-1-pro)
- [Claude Cowork](https://opper.ai/apps/claude-cowork/qwen-image-2-1-pro)
- [Codex](https://opper.ai/apps/codex/qwen-image-2-1-pro)
- [DeepSeek Harness](https://opper.ai/apps/deepseek-harness/qwen-image-2-1-pro)
- [GitHub Copilot CLI](https://opper.ai/apps/github-copilot-cli/qwen-image-2-1-pro)
- [Aider](https://opper.ai/apps/aider/qwen-image-2-1-pro)
- [Goose](https://opper.ai/apps/goose/qwen-image-2-1-pro)
- [Droid](https://opper.ai/apps/droid/qwen-image-2-1-pro)
- [OpenCode](https://opper.ai/apps/opencode/qwen-image-2-1-pro)
- [Pi](https://opper.ai/apps/pi/qwen-image-2-1-pro)
- [OpenClaw](https://opper.ai/apps/openclaw/qwen-image-2-1-pro)
- [Hermes](https://opper.ai/apps/hermes/qwen-image-2-1-pro)
- [Copilot for Obsidian](https://opper.ai/apps/obsidian-copilot/qwen-image-2-1-pro)
- [OmniRoute](https://opper.ai/apps/omniroute/qwen-image-2-1-pro)
- [Cursor](https://opper.ai/apps/cursor/qwen-image-2-1-pro)
- [Cline](https://opper.ai/apps/cline/qwen-image-2-1-pro)
- [Continue](https://opper.ai/apps/continue/qwen-image-2-1-pro)
- [Kilo Code](https://opper.ai/apps/kilo-code/qwen-image-2-1-pro)
- [GitHub Copilot](https://opper.ai/apps/github-copilot/qwen-image-2-1-pro)
- [Zed](https://opper.ai/apps/zed/qwen-image-2-1-pro)
- [JetBrains AI Assistant](https://opper.ai/apps/jetbrains-ai-assistant/qwen-image-2-1-pro)
- [Voidleap Code](https://opper.ai/apps/voidleap-code/qwen-image-2-1-pro)
- [n8n](https://opper.ai/apps/n8n/qwen-image-2-1-pro)
- [LibreChat](https://opper.ai/apps/librechat/qwen-image-2-1-pro)
- [Open WebUI](https://opper.ai/apps/open-webui/qwen-image-2-1-pro)
- [See all apps](https://opper.ai/apps)

## Other models from Alibaba

- [Qwen4-Max](https://opper.ai/alibaba/qwen4-max)
- [Qwen3.8 Max](https://opper.ai/alibaba/qwen3-8-max)
- [Qwen3.8 27B](https://opper.ai/alibaba/qwen3-8-27b)
- [Qwen3.8-2.4T-A95B](https://opper.ai/alibaba/qwen3-8-2-4t-a95b)
- [Qwen3.8 Flash-Next](https://opper.ai/alibaba/qwen3-8-flash-next)
- [Qwen3.7-Max](https://opper.ai/alibaba/qwen3-7-max)
