Wan 2.7 Image API

alibaba/wan-2-7-image
Wan 2.
Output
$0.03 / gen
Released
Apr 6, 2026

Overview

What is Wan 2.7 Image API?

Wan 2.7 is a next-generation text-to-image model from Alibaba Cloud with enhanced visual quality and detail.

Technical Specifications
- Supported inputs: Image, Text
- Output: Image
- Endpoint: /images/generations

Performance Benchmarks
[embed]

Wan 2.7 Image API Pricing
- Pricing on request

Where to Use Wan 2.7 Image

High-volume image generation
Produce product visuals, thumbnails, and marketing assets programmatically at scale.

Creative and concept art
Turn text prompts into illustrations, mockups, and design explorations.

Image editing and variations
Provide a reference image to guide edits, restyles, or variations.

Code Sample
[embed]

Use cases

Wan 2.7 Image is documented as being suited to generating images from text and to processing multiple images at once for creative work. It is also described as useful for creating cohesive storyboards. Alibaba says it can be used for architectural renderings. It is also documented for e-commerce campaigns and product-focused visual production.

How to use Wan 2.7 Image API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to alibaba/wan-2-7-image.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/images/generations",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "alibaba/wan-2-7-image",
      "prompt": "A cat holding a sign that says hello"
    },
)
print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/images/generations", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "alibaba/wan-2-7-image",
    "prompt": "A cat holding a sign that says hello"
  }),
});
console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/images/generations \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"alibaba/wan-2-7-image","prompt":"A cat holding a sign that says hello"}'

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Wan 2.7 Image API Pricing

TypePrice
Output
$0.03 / gen

Wan 2.7 Image vs other models

ModelInputOutputContextBest for
Wan 2.7 Image
This page
$0.03 / gen
Image generation at scale
$0.25 / 1M tokens
$60 / 1M tokens
128K tokens
Image generation at scale
$5 / 1M tokens
$30 / 1M tokens
Image generation at scale
$0.25 / gen
Image generation at scale
$0.015 / MP (variable)
Image generation at scale

Frequently asked questions

Wan 2.7 Image takes image, text as input and returns image.

Wan 2.7 Image is priced at $0.039 / gen.

Wan 2.7 Image is billed per generation — a fixed charge per output rather than by prompt length.

Yes, Wan 2.7 Image accepts image input as well as a text prompt.

Wan 2.7 Image was built by Alibaba Cloud.

Send a request to https://api.aimlapi.com/v1/images/generations with alibaba/wan-2-7-image as the model id.

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

The model ID is alibaba/wan-2-7-image.

Start building with Wan 2.7 Image

Get API Key
1000+ models, one API.