Model overview
Image generationQwen-Image-2.0-Pro is the full-capability model in the Qwen-Image-2.0 series. It unifies image generation and image editing, supports stronger text rendering with 1K-token instructions, more realistic textures, stronger semantic following, and the best text rendering and realism in the series.
Company: AlibabaProvider: Alibaba Cloud
Model capabilities
Input modalityT
Output modalityT
Model experience✓
Function calling-
Structured output-
Web search-
Prefix completion-
Context cache-
Batch inference-
Fine-tuning-
Model pricing
Image generation$0.07463/image
Rate limits and context
Maximum input length-
Context length-
Maximum output length-
RPM2
API reference
EndpointPOST /v1/images/generations
SDKOpenAI-compatible
API code examples
import os import requests response = requests.post( "https://api.wlrouter.com/v1/images/generations", headers={ "Authorization": f"Bearer {os.environ['WLROUTER_API_KEY']}", "Content-Type": "application/json", }, json={ "model": "qwen-image-2.0-pro", "prompt": "A clean product photo of a ceramic coffee cup on a white desk.", "n": 1, "size": "1024*1024" } ) response.raise_for_status() print(response.json())