
01 · Illustration & storybook
A storybook scene in a floating greenhouse
Describe the characters, setting and light to create a full storybook scene, then check the character design, botanical detail and depth.
Qwen Image 2.0 (qwen-image-2.0) is Alibaba's Qwen image model for text to image and image editing in one model. Use the Qwen Image API to render readable text in posters, infographics and slides, or edit a photo with a plain-language instruction, at 1K or 2K.

Transparent pricing with no hidden fees. Pay only for what you use.
Featured examples
Pick an example to load the model, prompt and full settings, then adjust it your way.

01 · Illustration & storybook
Describe the characters, setting and light to create a full storybook scene, then check the character design, botanical detail and depth.

02 · Oil & watercolor art
Describe the subject, composition, palette, paper and brushwork to create an original watercolor, then check the washes, paper-white highlights and brush edges.
Reference03 · Style transfer
Load the reference image and keep the street layout, doors, windows and distant harbor while switching to fine ink linework with transparent watercolor. See the edited result in the output area.
Qwen Image 2.0 API by Alibaba: create posters, infographics and slides with readable in-image text, then edit images by describing the change in plain language. One endpoint handles text to image and image to image, with 1–6 images per request at 1K or 2K. Save 20% or more with membership.
Call qwen-image-2.0 on APIMart with one POST request. Generation is asynchronous: submit a task, then poll the task endpoint for the Qwen Image 2.0 image URL.
Save the key you created above in the APIMART_API_KEY environment variable and send it as Authorization: Bearer <key> on every request.
POST /v1/images/generations with model qwen-image-2.0, your prompt, size and resolution. Add image_urls to edit an existing image. The response returns a task_id.
Send GET /v1/tasks/{task_id} until status is completed, then read the image URL from data.result.images[0].url[0]. Generated images are mirrored to the APIMart CDN. Failed tasks are not charged.
See the Qwen Image 2.0 API reference for every parameter and response field.
curl -X POST https://api.apimart.ai/v1/images/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-image-2.0",
"prompt": "A minimalist coffee shop poster with the headline OPEN LATE and the line Fresh espresso until 2 AM, warm brown tones, clean sans-serif type",
"n": 1,
"size": "3:4",
"resolution": "2K"
}'import os
import time
import requests
API_BASE = "https://api.apimart.ai"
headers = {"Authorization": f"Bearer {os.environ['APIMART_API_KEY']}"}
# 1. Submit the generation task
payload = {
"model": "qwen-image-2.0",
"prompt": "A minimalist coffee shop poster with the headline OPEN LATE and the line Fresh espresso until 2 AM, warm brown tones, clean sans-serif type",
"n": 1,
"size": "3:4",
"resolution": "2K"
}
resp = requests.post(f"{API_BASE}/v1/images/generations", headers=headers, json=payload, timeout=60)
resp.raise_for_status()
task_id = resp.json()["data"][0]["task_id"]
# 2. Poll the task until it finishes
for _ in range(200):
task_resp = requests.get(f"{API_BASE}/v1/tasks/{task_id}", headers=headers, timeout=30)
task_resp.raise_for_status()
task = task_resp.json()["data"]
if task["status"] == "completed":
print(task["result"]["images"][0]["url"][0])
break
if task["status"] == "failed":
raise RuntimeError(task.get("error", {}).get("message", "generation failed"))
time.sleep(3)
else:
raise TimeoutError(f"task {task_id} did not finish in time; continue GET polling with this task ID")curl -X POST https://api.apimart.ai/v1/images/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-image-2.0",
"prompt": "Change the background to a beach at sunset and keep the person unchanged",
"n": 1,
"image_urls": [
"https://example.com/my-photo.jpg"
]
}'TASK_ID="task_xxx" # replace with the task_id returned by the POST request
curl "https://api.apimart.ai/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $APIMART_API_KEY"| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Required | Default: qwen-image-2.0 | Model ID. Use qwen-image-2.0; qwen-image-2.0-pro takes the same parameters. |
prompt | string | Required | Default: — | Text description of the image, or the edit instruction when image_urls is set. Up to 800 characters. |
size | string | Optional | Default: 1:1 | Aspect ratio: 1:1, 4:3, 3:4, 16:9, 9:16, 3:2 or 2:3. |
resolution | string | Optional | Default: 1K | Resolution tier: 1K or 2K. For example, 16:9 is 1280×720 in 1K and 2048×1152 in 2K. |
n | integer | Optional | Default: 1 | Number of images to generate, 1–6. |
negative_prompt | string | Optional | Default: — | Content you do not want in the image. Up to 500 characters. |
image_urls | array | Optional | Default: — | Reference images for image to image editing, up to 3. Must be publicly accessible URLs; base64 is not supported. |
nsfw_check | boolean | Optional | Default: false | Set to true to moderate the prompt and input images before the task is submitted. |
Guides, comparisons and pricing analysis from the APIMart blog.
What the Alibaba Qwen image model does well, and the API parameter behind each feature
Put the exact words in your prompt and the model sets them into the image as headlines, labels and short paragraphs, in English or Chinese. Prompts can be up to 800 characters, enough to spell out every text block and where it goes.
Add a photo to image_urls and describe the change, such as "change the background to a beach at sunset". The same model and endpoint handle editing, so there is no separate edit pipeline. Reference images must be public URLs; base64 is not supported.
Describe the layout as well as the content: a title bar, three labeled columns, an icon per item, a footer line. This makes the model a good fit for presentation slides, comparison charts and multi-panel layouts.
Choose 1:1, 4:3, 3:4, 16:9, 9:16, 3:2 or 2:3 with the size parameter: square posts, vertical posters and stories, or widescreen slides and banners.
resolution picks the tier: 16:9 renders at 1280×720 in 1K and 2048×1152 in 2K, and 1:1 goes up to 2048×2048. Both tiers cost the same per image, so use 2K when the image carries small text.
Set n from 1 to 6 to get several takes on one prompt in a single task. You pay per successfully generated image, and failed images are not charged.
negative_prompt (up to 500 characters) lists what to keep out of the image. Set nsfw_check to true to review the prompt and input images before the task is submitted; it is off by default.
Both models take the same parameters, so switching is a one-field change. Use qwen-image-2.0 for drafts, batches and edit iterations; move a final poster with dense small text, or a photo that needs finer realistic texture, to qwen-image-2.0-pro, which has a higher per-image price.
Text-heavy designs and quick edits where readable words in the image matter
Generate a poster with the event name, date, venue and a call to action in one pass, then produce vertical and square versions for different channels.
Turn a short outline into a slide or infographic with titles, labels and icons. Describe the sections in order and keep each text block short.
Place Chinese and English copy in the same banner or packaging mockup, which is useful for cross-border stores and campaigns.
Swap backgrounds, change props or restyle a scene while describing what must stay the same, such as the product and its label.
Create quote cards, announcement posts and story covers in 1:1 or 9:16, with several options per request through n.
Add text to image and photo editing to your product with one API key. Requests are asynchronous tasks, so batch jobs can run in the background.
Set up your account, add funds and create a key to call Qwen Image 2.0
Create your free APIMart account. One account gives you access to Qwen Image 2.0, Qwen Image 2.0 Pro and every other model in the catalog.
Top up your balance. You are charged only for successfully generated images.
Create a key in your dashboard and send it as a Bearer token with every request.
See how users are creating with Qwen Image 2.0. These are original Qwen Image 2.0 series reviews and may refer to either the standard or Pro model.
Qwen Image 2.0 on APIMart has transformed our content pipeline—we generate campaign visuals in seconds with impressive quality!
The Qwen API integration was seamless. The Pro model delivers exceptional detail, and the pricing is very competitive.
We use Qwen Image 2.0 for product imagery and the results are consistently professional. Great value for money.
The image quality from Qwen Image 2.0 is outstanding. It's become an essential part of my creative workflow.
Fast, reliable, and high-quality. APIMart's Qwen Image 2.0 handles our production needs perfectly.
The Qwen reference image feature is fantastic for style consistency. Setup was quick and the documentation is excellent.
Answers about Qwen Image 2.0, its parameters, pricing and image editing
Qwen Image 2.0 (also written Qwen-Image-2.0, model ID qwen-image-2.0) is an image model from Alibaba's Qwen team that handles text to image and image editing in one model. It is known for rendering readable text inside images, which suits posters, infographics and slides. On APIMart you call it through the Qwen Image 2.0 API.
Alibaba's Qwen team announced Qwen-Image-2.0 on February 10, 2026, as an image model that combines generation and editing. APIMart offers both qwen-image-2.0 and qwen-image-2.0-pro through the same API.
The Qwen Image API lets your code send a prompt, and optionally reference images, to qwen-image-2.0 and get image URLs back. Each request is an asynchronous task: POST returns a task_id, and you poll the task until it is completed. The example section on this page shows the full flow in cURL and Python.
They share the same endpoint, parameters, aspect ratios, 1K/2K tiers and 1–6 images per request; only the model ID and price differ. qwen-image-2.0 balances quality and performance, while qwen-image-2.0-pro gives stronger text rendering and more refined realistic texture at a higher per-image price (see the pricing table). A practical split: draft, batch and iterate edits on the standard model, then render final text-dense posters or photoreal product shots on Pro.
model (qwen-image-2.0) and prompt (up to 800 characters) are required. Optional: size (1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3; default 1:1), resolution (1K or 2K; default 1K), n (1–6; default 1), negative_prompt (up to 500 characters), image_urls (reference images for editing) and nsfw_check (default false).
Yes. Add up to 3 reference images to image_urls and write the edit as the prompt, for example "change the background to a beach at sunset". The request goes to the same endpoint as text to image. Images must be publicly accessible URLs; base64 is not supported.
Yes, that is its main strength. Put the exact text in the prompt, say where each block goes, and use 2K for small lettering. For very dense or small text in a final deliverable, compare the result with Qwen Image 2.0 Pro.
Quote the exact words that must appear, name the language, and describe the layout from top to bottom. Add style, lighting and color in a short phrase, keep the prompt under 800 characters, and move things you do not want into negative_prompt. For edits, state what to change and what must stay the same.
Send POST /v1/images/generations to https://api.apimart.ai with model qwen-image-2.0 and your prompt, then poll GET /v1/tasks/{task_id} until status is completed and read data.result.images[0].url[0]. The full reference is in the APIMart docs at docs.apimart.ai.
Qwen Image 2.0 is billed per successfully generated image, and 1K and 2K share the same unit price; failed images are not charged. A request's cost is the per-image price times n. Every price includes 20% off, and Platinum and Diamond members save up to 28%. See the pricing table on this page for the current rate.
No. APIMart offers no free quota or free trial for the Qwen Image 2.0 API. It is pay-as-you-go with no subscription: you only pay for successful requests, and every price is 20% off (Platinum and Diamond members save up to 28%). To check quality first, run a few paid requests in the Playground before scaling up.
Two tiers: 1K (default) and 2K. Combined with size, 1:1 gives 1024×1024 or 2048×2048, 16:9 gives 1280×720 or 2048×1152, and 3:4 gives 864×1152 or 1536×2048. Sending only size uses the 1K tier.
Sign up for APIMart, open the API Keys page in your dashboard and create a key. The same key calls the Alibaba Qwen Image 2.0 API and every other model on the platform, with pay-as-you-go billing and no subscription.
Yes. Qwen Image 2, Qwen Image2.0, Qwen-Image 2.0 and Qwen-Image2.0 all refer to the same model, whose API ID is qwen-image-2.0. Qwen Image 3.0 is a separate, newer model with its own page on APIMart.
Explore more models in the same category.

Qwen Image 2.0 Pro
Qwen-Image-2.0-Pro is the highest-fidelity variant of Alibaba’s Qwen image model, designed to generate and edit production-quality visuals from text or reference images. It delivers native 2K resolution with strong detail, accurate composition, and advanced text rendering, making it suitable for infographics, posters, and marketing assets. 

Z Image Turbo
Z-Image-Turbo is a “fast, efficient, and cost-effective” AI image generation model, ideal for rapid image creation and batch processing.

Nano Banana 2
Gemini-3.1-Flash-Image-Preview is a lightweight image generation and understanding preview model provided by Google.

Seedream 5.0 Lite
Seedream 5.0 Lite delivers cutting-edge text-to-image generation. Create 4K resolution images with precise text rendering, multi-reference style fusion, and unified editing capabilities.