Back to models
dashscope

Qwen Image 2.0 Pro

qwen-image-2.0-pro
dashscope0 contextFrom $0.071 /image

Qwen-Image-2.0 Full-Version series integrates image generation and image editing capabilities. It offers more professional text rendering, support for 1K-token instructions, more refined realistic textures, detailed depiction of photorealistic scenes, and stronger semantic instruction-following capabilities. The full-version model delivers the strongest text rendering capability and realistic texture quality within the 2.0 series.

Total Context0
PricingFrom $0.071 /image

Providers for Qwen Image 2.0 Pro

AnyInt routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.

dashscope
Total Context0
PricingPriced by generation parameters

Sample code and API for Qwen Image 2.0 Pro

AnyInt generates a quickstart from this model's declared API operations, including complete polling flows for asynchronous media.

Create API key

Choose an operation and language that match this model.

Image GenerationAnyInt async media

Create a generation task, then poll its status for artifacts.

/v1/images/generations
# 1. Create a generation task and save its ID.
TASK_ID=$(curl 'https://api.anyint.ai/v1/images/generations' \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -d '{
  "model": "qwen-image-2.0-pro",
  "prompt": "Describe a calm futuristic city at sunrise.",
  "size": "1024x1024"
}' | jq -r '.task.id')

# 2. Poll until task.status is completed or failed.
curl 'https://api.anyint.ai/v1/async-tasks/'"$TASK_ID" \
  -H "Authorization: Bearer <YOUR_API_KEY>"