Alibaba's text-to-image and image-to-image generation model from the Wan AI suite, offering high-quality visual generation capabilities
Example outputs coming soon
Details
wan-2.5-preview
Providers & Pricing (1)
Wan 2.5 (Preview) is available exclusively through fal.ai, starting at $0.05/image.
fal/wan-2.5-preview
Wan 2.5 (Preview) API OpenAI-compatible
Lumenfall provides an OpenAI-compatible API for Wan 2.5 to programmatically generate high-quality images and perform precise image-to-image edits.
https://api.lumenfall.ai/openai/v1
wan-2.5-preview
Text to Image Generate
Create images from text descriptions
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.5-preview",
"prompt": "A serene mountain landscape at sunset",
"size": "1024x1024"
}'
# Response:
# { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] }
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.5-preview',
prompt: 'A serene mountain landscape at sunset',
size: '1024x1024'
});
// { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] }
console.log(response.data[0].url);
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.5-preview",
prompt="A serene mountain landscape at sunset",
size="1024x1024"
)
# { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] }
print(response.data[0].url)
Image Editing Edit
Transform existing images with text instructions
curl -X POST \
https://api.lumenfall.ai/openai/v1/images/edits \
-H "Authorization: Bearer $LUMENFALL_API_KEY" \
-F "model=wan-2.5-preview" \
-F "[email protected]" \
-F "prompt=Add a starry night sky to this image" \
-F "size=1024x1024"
# Response:
# { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] }
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.5-preview',
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);
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.5-preview",
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)
Gallery
View all 1 imagesWan 2.5 (Preview) FAQ
Wan 2.5 (Preview) starts at $0.05 per image through Lumenfall. Pricing varies by provider. Lumenfall does not add any markup to provider pricing.
You can use Wan 2.5 (Preview) through Lumenfall's OpenAI-compatible API. Send requests to the unified endpoint with model ID "wan-2.5-preview". Code examples are available in Python, JavaScript, and cURL.
Wan 2.5 (Preview) is available through fal.ai on Lumenfall. Lumenfall automatically routes requests to the best available provider.
Overview
Wan 2.5 (Preview) is a high-performance image generation model developed by Alibaba’s Wan AI team. It is designed for both text-to-image and image-to-image workflows, focusing on high-fidelity visual output and nuanced prompt adherence. This preview release represents Alibaba’s latest advancement in generative modeling, aiming to compete with leading diffusion models by balancing computational efficiency with aesthetic quality.
Strengths
- Prompt Adherence: The model demonstrates a strong ability to follow complex, multi-part descriptive prompts, accurately placing objects and maintaining specified color palettes.
- Image-to-Image Versatility: Beyond generating images from scratch, it excels at taking reference images and applying stylistic or structural modifications while preserving the essence of the source material.
- Compositional Detail: It is particularly effective at rendering scenes with realistic lighting, shadows, and textures, reducing the common “plastic” look sometimes found in earlier diffusion iterations.
- Text Rendering: Its architecture shows improved reliability in rendering legible text within generated images compared to older generation models in the same class.
Limitations
- Sensitivity to Short Prompts: As a preview model, it often performs best with detailed descriptions; very brief or ambiguous prompts may lead to generic or unpredictable results.
- Anatomical Accuracy: Like many current diffusion models, it can occasionally struggle with complex human anatomy, such as intricate hand positions or high-action poses, requiring iterative prompting to resolve.
- Regional Latency: Depending on the provider infrastructure, inference times may be slightly higher than lightweight distilled models, making it less suitable for real-time applications.
Technical Background
Wan 2.5 is part of the Wan AI suite and utilizes a diffusion-based architecture optimized for high-resolution synthesis. The model is trained on a massive dataset of high-quality image-text pairs, employing specific training techniques to enhance spatial reasoning and visual consistency. While specific architectural whitepapers for this preview release are forthcoming, it follows the transformer-based diffusion paradigm (DiT) that has become the standard for modern high-performance generative AI.
Best For
- Creative Asset Generation: Ideal for designers needing concept art, marketing visuals, or high-fidelity backgrounds with precise control.
- Style Transfer and Editing: Strong for workflows where a user needs to transform an existing image into a different aesthetic or update specific elements of a composition.
- Prototyping: Useful for developers building applications that require high-quality visual outputs for user-facing content.
Wan 2.5 (Preview) is available for immediate testing through Lumenfall’s unified API and interactive playground, allowing you to integrate it into your production environment or experiment with its capabilities alongside other leading models.
Try Wan 2.5 (Preview) in Playground
Generate images with custom prompts — no API key needed.