# Qwen Image 2.0 Pro > Alibaba's Qwen Image 2.0 Pro model offering higher quality image generation with enhanced detail and accuracy ## Quick Reference - Model ID: qwen-image-2.0-pro - Creator: Alibaba - Status: active - Family: qwen - Base URL: https://api.lumenfall.ai/openai/v1 ## Specifications - Max Resolution: 2048x2048 - Input Modalities: text - Output Modalities: image - Supported Modes: Text to Image ## API Parameters The compiled parameter schema for this model is available via the API: `GET /v1/models/qwen-image-2.0-pro?schema=true`. ### Core Parameters - `prompt` (string) — REQUIRED: Text prompt for image generation ### Size & Layout - `size` (string): Image dimensions as WxH pixels (e.g. "1024x1024") or aspect ratio (e.g. "16:9") - `aspect_ratio` (string): Aspect ratio of the output image (e.g. "16:9", "1:1") - `resolution` (string): Output resolution tier (e.g. "1K", "4K") ### Output & Format - `response_format` (string): How to return the image. Default: url. Values: url, b64_json - `output_format` (string): Output image format. Values: png, jpeg, gif, webp, avif - `output_compression` (integer): Compression level for lossy formats (JPEG, WebP, AVIF) - `n` (integer): Number of images to generate. Default: 1 ## Model Identifiers - Primary Slug: qwen-image-2.0-pro ## Dates - Released: February 2026 ## Tags image-generation, text-to-image ## Available Providers ### Alibaba Cloud - Config Key: alibaba/qwen-image-2.0-pro - Provider Model ID: qwen-image-2.0-pro - Pricing: $0.075/image - Source: https://modelstudio.console.alibabacloud.com/ap-southeast-1?tab=doc#/doc/?type=model&url=2840914_2&modelId=group-qwen-image-2.0 ## Image Gallery 4 images available for this model. Browse all at https://lumenfall.ai/models/alibaba/qwen-image-2.0-pro/gallery ### Curated Examples - [A wide, cinematic 16:9 shot of a high-end, contemporary boutique storefront at dusk. The shop’s l...](https://assets.lumenfall.ai/GSR3UpFMXEigCl9ISMeDzglPJvOGKC57lSj3G0sY7_Q/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/3elnyqyg81aeys2l0ooyf8hq9ag1@jpeg) - [A hyper-realistic close-up of a weathered, vintage leather traveler's journal resting on a rustic...](https://assets.lumenfall.ai/pLrUMgs_B-5W7RoAtqbvwfeXrfgYavOuKxJKwMfcXD8/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/yd96b1me33fopruif4go919o0z9q@jpeg) - [A hyper-realistic close-up of an elderly craftsman's weathered hands meticulously assembling a vi...](https://assets.lumenfall.ai/TRSc9nwth886cvRPh8vRGtOoqxizoZIES4thA-hMZG4/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/lrwsewrddbtnouf5eypmm6ezk9po@jpeg) - [A cozy corner of a sunlit independent bookstore, a large wooden sign above the shelf reads "LOST ...](https://assets.lumenfall.ai/Fl6YN-GuZJGFcC-r6RWqQYeWEcqg_nx4pBY_YJaTJLw/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/21byk73789pwqbie7idael0icm03@jpeg) ## Example Prompt The following prompt was used to generate an example image in our playground: A cozy corner of a sunlit independent bookstore, a large wooden sign above the shelf reads "LOST IN A GOOD BOOK" in elegant gold leaf typography. In the soft-focus background, a capybara is calmly perched on a floor cushion near the window. ## Code Examples ### Text to Image (/v1/images/generations) #### cURL curl -X POST \ https://api.lumenfall.ai/openai/v1/images/generations \ -H "Authorization: Bearer $LUMENFALL_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "qwen-image-2.0-pro", "prompt": "", "size": "1024x1024" }' # Response: # { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] } #### JavaScript import OpenAI from 'openai'; const client = new OpenAI({ apiKey: 'YOUR_API_KEY', baseURL: 'https://api.lumenfall.ai/openai/v1' }); const response = await client.images.generate({ model: 'qwen-image-2.0-pro', prompt: '', size: '1024x1024' }); // { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } console.log(response.data[0].url); #### Python from openai import OpenAI client = OpenAI( api_key="YOUR_API_KEY", base_url="https://api.lumenfall.ai/openai/v1" ) response = client.images.generate( model="qwen-image-2.0-pro", prompt="", size="1024x1024" ) # { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } print(response.data[0].url) ## Frequently Asked Questions ### How much does Qwen Image 2.0 Pro cost? Qwen Image 2.0 Pro starts at $0.075 per image through Lumenfall. Pricing varies by provider. Lumenfall does not add any markup to provider pricing. ### How do I use Qwen Image 2.0 Pro via API? You can use Qwen Image 2.0 Pro through Lumenfall's OpenAI-compatible API. Send requests to the unified endpoint with model ID "qwen-image-2.0-pro". Code examples are available in Python, JavaScript, and cURL. ### Which providers offer Qwen Image 2.0 Pro? Qwen Image 2.0 Pro is available through Alibaba Cloud on Lumenfall. Lumenfall automatically routes requests to the best available provider. ### What is the maximum resolution for Qwen Image 2.0 Pro? Qwen Image 2.0 Pro supports images up to 2048x2048 resolution. ## Links - Model Page: https://lumenfall.ai/models/alibaba/qwen-image-2.0-pro - About: https://lumenfall.ai/models/alibaba/qwen-image-2.0-pro/about - Providers, Pricing & Performance: https://lumenfall.ai/models/alibaba/qwen-image-2.0-pro/providers - API Reference: https://lumenfall.ai/models/alibaba/qwen-image-2.0-pro/api - Benchmarks: https://lumenfall.ai/models/alibaba/qwen-image-2.0-pro/benchmarks - Use Cases: https://lumenfall.ai/models/alibaba/qwen-image-2.0-pro/use-cases - Gallery: https://lumenfall.ai/models/alibaba/qwen-image-2.0-pro/gallery - Playground: https://lumenfall.ai/playground?model=qwen-image-2.0-pro - API Documentation: https://docs.lumenfall.ai