APIMart
Back to models
Qwen Image 2.0 Pro model icon
ImageQwen Image 2.0 ProText to ImageImage Editing1K / 2K

Qwen Image 2.0 Pro API

Qwen Image 2.0 Pro (qwen-image-2.0-pro) is the Pro version of Alibaba's Qwen-Image-2.0, with stronger text rendering and more refined realistic textures than the standard model. It generates and edits images at 1K or 2K for the same price.

Generated image 1

Qwen Image 2.0 Pro API Pricing

Transparent pricing with no hidden fees. Pay only for what you use.

Pricing by specification

VariantTierGoldCurrent pricePlatinumDiamondOfficialYour savings
qwen-image-2.0-pro1K/2K0.5Credits/pic~$0.05/pic0.475Credits/pic~$0.0475/pic0.45Credits/pic~$0.045/pic0.75Credits/pic~$0.075/pic33.3%

* Actual costs are subject to final output.

Qwen Image 2.0 Pro API - Sharper Text and Realistic Detail

Call qwen-image-2.0-pro through POST /v1/images/generations: describe the image in up to 800 characters, add up to 3 reference images to edit, and get 1-6 images at 1K or 2K for the same per-image price.

Active Users
50K+
Uptime
99.9%
Faster
2x
Cost Savings
33.3%

Qwen Image 2.0 Pro API Example: Text to Image and Image Editing

Call qwen-image-2.0-pro on APIMart with one POST request. Generation is asynchronous: submit a task, then poll the task endpoint for the image URLs.

  1. 1

    Authenticate Qwen Image API requests

    Save your key in the APIMART_API_KEY environment variable and send it as Authorization: Bearer <key> on every request.

  2. 2

    Submit a Qwen Image 2.0 Pro task

    POST /v1/images/generations with model qwen-image-2.0-pro, your prompt, size and resolution. Add image_urls to edit an image. The response returns a task_id. The example.com URL is a placeholder.

  3. 3

    Get the Qwen Image 2.0 Pro result

    Send GET /v1/tasks/{task_id} until status is completed, then read the image URLs from data.result.images. Results are kept for 72 hours, so download the images you want to keep. Failed tasks are refunded.

    See the Qwen Image 2.0 API reference for every parameter and response field.

POST /v1/images/generations
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-pro",
    "prompt": "A skincare product photo on wet stone with soft morning light, the bottle label reading HYDRA SERUM 30 ml, realistic water droplets",
    "n": 1,
    "size": "4:3",
    "resolution": "2K"
  }'

Qwen Image 2.0 Pro API Parameters

ParameterTypeRequiredDefaultDescription
modelstringRequiredDefault: qwen-image-2.0-proModel ID. qwen-image-2.0 takes the same parameters. Not interchangeable with the 3.0 model IDs.
promptstringRequiredDefault: —Image description, or the edit instruction when image_urls is set. Up to 800 characters.
sizestringOptionalDefault: 1:1Aspect ratio: 1:1, 4:3, 3:4, 16:9, 9:16, 3:2 or 2:3.
resolutionstringOptionalDefault: 1KResolution tier: 1K or 2K, same price. For example, 16:9 is 1280x720 at 1K and 2048x1152 at 2K.
nintegerOptionalDefault: 1Number of images to generate, 1-6.
negative_promptstringOptionalDefault: —Content you do not want in the image. Up to 500 characters.
image_urlsarrayOptionalDefault: —Reference images for image editing, up to 3. Must be publicly accessible URLs; base64 is not supported.
nsfw_checkbooleanOptionalDefault: falseSet to true to moderate the prompt and input images before the task is submitted.

Qwen Image API Models Compared

Four Qwen image models on APIMart share one endpoint and one API key. 3.0 and 2.0 use different parameters and model IDs; prices are on each model page.

ModelBest forResolution
Qwen Image 3.0 APIMost new work: posters, infographics and editing, prompts of about 4.5K tokens, text in 12 languages (per Alibaba)1K / 2K
Qwen Image 3.0 Pro APIDense text and layouts such as newspapers, storyboards, menus and exam sheets1K / 2K
Qwen Image 2.0 APIExisting 2.0 workflows: posters and natural-language edits, prompts up to 800 characters1K / 2K
Qwen Image 2.0 Pro APIThis pageStronger text and realistic textures than 2.0, with 1K and 2K at one price1K / 2K

Guides, comparisons and pricing analysis from the APIMart blog.