Wan 2.5 Preview API

Wan 2.5 preview text-to-image model with no single-side length limit.

Modalities
TextImage
Price
$0.03per generation
Model type
Image generation
Released
Nov 13, 2025

Wan 2.5 Preview overview

Sample Wan 2.5 Preview image generated through AI/ML API: A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lette

Wan 2.5 Preview by Alibaba Cloud

Its flexible dimension support and high-quality output make it ideal for use in creative apps, marketing tools, content management systems, and design software.

Wan 2.5 Preview specs

Model ID
alibaba/wan2.5-t2i-preview
Developer
Alibaba Cloud
Input
Text
Output
Image
Endpoint
POST https://api.aimlapi.com/v1/images/generations

Wan 2.5 Preview API Overview

Wan 2.5 Preview is the latest iteration of the Wan series text-to-image models, delivering high-fidelity image generation from textual prompts. This release removes previous restrictions on image side length, enabling flexible and unrestricted pixel dimension choices within a defined pixel area. Wan 2.5 combines advanced AI architecture with enhanced pixel-level control to produce diverse and highly detailed visuals.

Technical Specifications

  • Model Type: Text-to-Image generative model
  • Architecture: Advanced diffusion-based generative network
  • Input: Text prompts in natural language
  • Output: Variable resolution images, any dimension within supported pixel range
  • Training Data: Diverse multimodal dataset including art, photos, and digital illustrations
  • Languages Supported: Primarily English, adaptable to other languages with tokenization

Performance Benchmarks

  • FID Score (Fréchet Inception Distance): 13.5 on standard image generation benchmarks, indicating high realism and quality.
  • Inference Speed: Average generation time of 4 seconds per 512x512 image on modern GPUs.
  • Memory Usage: Optimized to run on 12GB and above GPU VRAM configurations.
  • Resolution Support: Successfully generates images up to 4K and beyond without quality degradation.
  • Diversity: Generates a wide range of unique images for the same prompt, supporting creative exploration.

Key Features

  • High-Quality Detail: Produces crisp and intricate image features across various styles and subject matters.
  • Flexible Style Adaptation: Capable of generating artistic, realistic, or stylized images based on prompt context.
  • Fast Inference: Efficient model design enables quicker image generation compared to previous versions.
  • Scalable Resolution: Suitable for small digital thumbnails up to large-scale prints and presentations.

Comparison with Other Models

vs Stable Diffusion: Wan 2.5 is optimized for high-resolution images with fast inference and consistent quality at large sizes, while Stable Diffusion sometimes experiences quality degradation when scaling up.

vs DALL·E 3: Wan 2.5 Preview provides flexible dimension control enabling users to adapt output sizes freely, making it particularly advantageous for specialized design and print applications.

vs Midjourney: Wan 2.5 Preview is more versatile in dimension customization and supports both stylized and photorealistic outputs with rapid generation, appealing to users needing size flexibility without sacrificing detail.

vs Imagen: Wan 2.5 Preview surpasses Imagen by allowing free selection of image dimensions within pixel area limits, providing more adaptability for diverse use cases and print-ready results.

Use cases

  • Digital Art Creation: Perfect for artists seeking custom artwork in any size and style.
  • Marketing & Advertising: Quickly produce high-quality visuals tailored to campaign needs.
  • Content Generation: Enhance blogs, social media, and websites with unique images.
  • Prototyping & Design: Generate concept art and product visuals during early development stages.
  • Educational Materials: Create engaging illustrations or infographics for teaching resources.
  • Entertainment & Media: Use for storyboarding, character concepting, and visual effects assets.

Wan 2.5 Preview API pricing

Wan 2.5 Preview pricing in US dollars
UsagePriceUnit
Image generation$0.03per generation

Prices from the AI/ML API price list, checked on Nov 4, 2026.

Wan 2.5 Preview vs other image models: prices

AI/ML API rates for 5 models, per generation.

AI/ML API prices in USD per generation
ModelPer generation
Wan 2.5 Preview$0.03
Qwen Image 2.0$0.035
Qwen Image 3$0.075
Qwen Image 3 Edit$0.075
Qwen Image 2.0 Pro$0.075

How to use the Wan 2.5 Preview API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/images/generations' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "alibaba/wan2.5-t2i-preview",
  "prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}'

Related articles

All posts

Wan 2.5 Preview FAQ

What inputs and outputs does Wan 2.5 Preview support?

Wan 2.5 Preview takes image, text as input and returns image.

When was Wan 2.5 Preview released?

Wan 2.5 Preview became available on November 13, 2025.

How much does Wan 2.5 Preview cost?

Wan 2.5 Preview costs $0.03 per generation on AI/ML API, billed as you go with no subscription.

How is Wan 2.5 Preview billed?

Wan 2.5 Preview is billed per generation, a fixed charge per output rather than by prompt length.

Can Wan 2.5 Preview take an existing image as input?

Yes, Wan 2.5 Preview accepts image input as well as a text prompt.

Who created Wan 2.5 Preview?

Wan 2.5 Preview was built by Alibaba Cloud.

How do I call Wan 2.5 Preview on AI/ML API?

Send a request to https://api.aimlapi.com/v1/images/generations with alibaba/wan2.5-t2i-preview as the model id.

Is Wan 2.5 Preview available through a single API key?

Yes. Wan 2.5 Preview is served through AI/ML API, so the same key and endpoint format used for other models applies.

What is the Wan 2.5 Preview model ID?

Use alibaba/wan2.5-t2i-preview as the model parameter. Requests go to https://api.aimlapi.com/v1/images/generations with your AI/ML API key.

Start building with Wan 2.5 Preview

Wan 2.5 Preview API

alibaba/wan2.5-t2i-preview

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/images/generations' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "alibaba/wan2.5-t2i-preview",
  "prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}'