# Wan 2.7 Pro > Alibaba's Wan 2.7 Pro image generation and editing model with higher-quality outputs and support for 4K image generation ## Quick Reference - Model ID: wan-2.7-pro - Creator: Alibaba - Status: active - Family: wan - Base URL: https://api.lumenfall.ai/openai/v1 ## Specifications - Max Resolution: 4096x4096 - Max Output Images: 4 - Max Input Images: 9 - Input Modalities: text, image - Output Modalities: image ## Model Identifiers - Primary Slug: wan-2.7-pro - Aliases: wan2.7-image-pro ## Dates - Released: April 2026 ## Tags image-generation, text-to-image, image-editing, multi-image ## Available Providers ### Alibaba Cloud - Config Key: alibaba/wan-2.7-pro-image - Provider Model ID: wan2.7-image-pro - Pricing: $0.075/image ## Image Gallery 4 images available for this model. - Curated examples: 4 - "A wide-angle cinematic shot of a luxury boutique storefront at dusk, where the name "Wan 2.7 Pro" is elegantly render..." - "A medium shot of an elderly artisan in a sun-drenched Mediterranean workshop, meticulously carving an intricate woode..." - "A hyper-realistic close-up of a weathered, wooden artisan’s workbench scattered with vintage watchmaking tools. High-..." - "A beautiful hand-painted ceramic bowl sitting on a rustic wooden table, filled with fresh lemons. The text "Zesty & S..." ## Example Prompt The following prompt was used to generate an example image in our playground: A beautiful hand-painted ceramic bowl sitting on a rustic wooden table, filled with fresh lemons. The text "Zesty & Sweet" is elegantly embossed in gold script on the side of the bowl. In the soft-focus garden background, a capybara naps in the sun. ## Code Examples ### Text to Image (Generation) #### 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": "wan-2.7-pro", "prompt": "A serene mountain landscape at sunset", "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: 'wan-2.7-pro', prompt: 'A serene mountain landscape at sunset', 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="wan-2.7-pro", prompt="A serene mountain landscape at sunset", size="1024x1024" ) # { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } print(response.data[0].url) ### Image Editing #### cURL curl -X POST \ https://api.lumenfall.ai/openai/v1/images/edits \ -H "Authorization: Bearer $LUMENFALL_API_KEY" \ -F "model=wan-2.7-pro" \ -F "image=@source.png" \ -F "prompt=Add a starry night sky to this image" \ -F "size=1024x1024" # Response: # { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] } #### JavaScript import OpenAI from 'openai'; import fs from 'fs'; const client = new OpenAI({ apiKey: 'YOUR_API_KEY', baseURL: 'https://api.lumenfall.ai/openai/v1' }); const response = await client.images.edit({ model: 'wan-2.7-pro', image: fs.createReadStream('source.png'), prompt: 'Add a starry night sky to this image', 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.edit( model="wan-2.7-pro", image=open("source.png", "rb"), prompt="Add a starry night sky to this image", size="1024x1024" ) # { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } print(response.data[0].url) ## Frequently Asked Questions ### How much does Wan 2.7 Pro cost? Wan 2.7 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 Wan 2.7 Pro via API? You can use Wan 2.7 Pro through Lumenfall's OpenAI-compatible API. Send requests to the unified endpoint with model ID "wan-2.7-pro". Code examples are available in Python, JavaScript, and cURL. ### Which providers offer Wan 2.7 Pro? Wan 2.7 Pro is available through Alibaba Cloud on Lumenfall. Lumenfall automatically routes requests to the best available provider. ### What is the maximum resolution for Wan 2.7 Pro? Wan 2.7 Pro supports images up to 4096x4096 resolution. ## Links - Model Page: https://lumenfall.ai/models/alibaba/wan-2.7-pro - About: https://lumenfall.ai/models/alibaba/wan-2.7-pro/about - Providers, Pricing & Performance: https://lumenfall.ai/models/alibaba/wan-2.7-pro/providers - API Reference: https://lumenfall.ai/models/alibaba/wan-2.7-pro/api - Benchmarks: https://lumenfall.ai/models/alibaba/wan-2.7-pro/benchmarks - Use Cases: https://lumenfall.ai/models/alibaba/wan-2.7-pro/use-cases - Gallery: https://lumenfall.ai/models/alibaba/wan-2.7-pro/gallery - Playground: https://lumenfall.ai/playground?model=wan-2.7-pro - API Documentation: https://docs.lumenfall.ai