Wan 2.7 API

The model enables precise control over style, layout, and branding while maintaining high-quality, coherent outputs across large image sets.

Modalities
TextVideo
Price
$0.03per generation
Model type
Image generation
Released
Apr 6, 2026

Wan 2.7 overview

Sample Wan 2.7 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.7 by Alibaba Cloud

Wan 2.7 Image is a production-ready AI image generation and editing model by Alibaba Cloud, offering text-to-image, instruction-based editing, and multi-image consistency through a unified API.

Wan 2.7 specs

Model ID
alibaba/wan2.7-image
Developer
Alibaba Cloud
Input
Text
Output
Video
Endpoint
POST https://api.aimlapi.com/v1/images/generations

Wan 2.7 Image API, Unified AI Image Generation

Wan 2.7 Image is a production-ready AI image generation and editing model developed by Alibaba Cloud. Unlike typical experimental tools, it offers text-to-image generation, instruction-based editing, multi-image consistency, and high-resolution output through a single, unified API.

Designed for developers and teams, Wan 2.7 Image delivers fast inference, lower cost per request, higher rate limits, and unified billing, critical for scaling AI-powered applications efficiently. Its capabilities make it ideal for e-commerce, marketing automation, media production, and interactive applications.

Overview

Wan 2.7 Image is built to support full visual content workflows rather than single-shot outputs. Its core focus is enabling developers to create consistent, high-quality images at scale, with precise control over style, layout, and textual elements.

Feature Description
Generation Modes Text-to-Image, Image-to-Image, Multi-Image, Instruction Editing
Output Resolutions Up to 4K (Pro version)
Batch Support Yes, multi-image sets per request
API Type RESTful endpoint, production-ready
Cost Efficiency Low cost per image, fewer retries needed

Text-to-Image Generation with Control

Wan 2.7 Image enables developers to generate images directly from text prompts while maintaining high control over layout, color, and style. It resolves common production issues like inconsistent branding, unreadable typography, and repeated facial features in generated images.

Aspect Wan 2.7 Traditional Diffusion Models
Text Rendering High precision Limited control
Multi-Image Consistency Supported Rarely consistent
Fine-Grained Control Color, layout, object placement Minimal control
Production Suitability Designed for pipelines Often experimental

Instruction-Based Image Editing

Developers can modify images using natural language instructions. This includes object replacement, style adjustments, and regional edits. Unlike many models that require complex pipelines, Wan 2.7 integrates editing directly into the generation workflow, reducing API calls and development overhead.

Editing Capability Description
Object Modification Add, remove, or replace objects in images
Style Transformation Blend multiple references or apply specific artistic styles
Regional Edits Targeted changes to selected image areas
Layout Control Maintain spatial structure during edits

Multi-Image Consistency

One of Wan 2.7 Image’s most valuable features is its ability to generate coherent sets of images with consistent style, identity, and visual elements. This capability is particularly useful in scenarios where uniformity across multiple images is critical. For example, in product catalogs, it ensures that all items share a consistent visual style. In marketing campaigns, it helps maintain brand identity across diverse creative assets. For storyboarding, it enables the generation of sequential images that preserve visual continuity, while in character design, it keeps key facial features, costumes, and stylistic elements consistent across multiple shots. This multi-image coherence makes Wan 2.7 ideal for automated content pipelines and production-ready workflows.

High Rate Limits

The API is built on Alibaba Cloud’s enterprise-grade infrastructure, allowing developers to handle large-scale requests without throttling. High rate limits ensure that batch generation and concurrent requests run smoothly, making the model suitable for production systems with heavy demand.

Use cases

Wan 2.7 is documented as suited to high-quality image generation, including detailed, well-composed outputs. It is also documented for image style transfer, where photos can be edited or restyled with bilingual prompts.

Wan 2.7 is documented as suited to cinematic video from text, producing video with 1080p output, multiple aspect ratios, and up to 15 seconds of duration. It is also documented for talking-head videos, using audio-driven lip-sync from a portrait photo.

Wan 2.7 is documented as suited to product animations, where product shots can be animated with controlled motion. It is also documented for loopable social content, using first-frame and last-frame control to create seamless loops.

Wan 2.7 benchmarks by Artificial Analysis

Human-preference results for Wan 2.7 in text to image, next to models available on AI/ML API. Data retrieved Nov 3, 2026.

Text to image

Elo · text-to-image arena

AI/ML API price

USD per generation

Models on AI/ML API

Arena results for models you can call with the same API key.

Text to image

Blind pairwise human votes on images generated from text prompts. Wan 2.7 ranks #55 of 98.

Wan 2.7 API pricing

Wan 2.7 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.7 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.7$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.7 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.7-image",
  "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."
}'

Wan 2.7 FAQ

How much does Wan 2.7 cost?

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

Who created Wan 2.7?

Wan 2.7 was built by Alibaba Cloud.

What is the Wan 2.7 model ID?

Use alibaba/wan2.7-image 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.7

Wan 2.7 API

alibaba/wan2.7-image

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.7-image",
  "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."
}'