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]
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.
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.
| Type | Price |
|---|---|
| Output | |
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
Wan 2.7 Image This page | Image generation at scale | |||
| Image generation at scale | ||||
| Image generation at scale | ||||
| Image generation at scale | ||||
| Image generation at scale |
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.