Unlimited Open Source Models

Get Plan
Skip to main content
Available now on ModelsLab · Image Generation

Wan 2.7 — Text-to-Image, Edit, VideoAll four Wan 2.7 checkpoints via one API key — no Alibaba Cloud account.

Four checkpoints, one API surface

Text-to-Image

High-quality image generation

Wan 2.7 T2I produces 1024×1024 images with strong prompt adherence — understands composition, lighting, and spatial relationships.

Image Edit

Instruction-based editing

Swap backgrounds, change subjects, adjust style — all from a single text command via Wan 2.7 I2I.

Text-to-Video

Generate video clips

Wan 2.7 T2V generates short clips with consistent motion and subjects. Preserves identity across frames.

Image-to-Video

Animate still images

Wan 2.7 I2V turns a single image into a short clip with optional motion prompt for direction and speed.

Unified API

One key, four checkpoints

All four Wan 2.7 variants share the same request/response shape. Swap model_id to change capability.

Pricing

$0.03 per image

Wan 2.7 text-to-image and image edit are $0.03 per image; video is billed per second of output at the rate on each model page. Billed from the usage included in your plan, then from wallet balance.

Examples

See what Wan 2.7 can do

Copy any prompt below and try it yourself in the playground.

Product photography

“a cinematic product shot of a red fox in snow, depth of field, golden hour light”

Background swap

“change the background to a neon-lit Tokyo street, keep the subject and pose identical”

Short clip from text

“a cat gracefully jumping across wooden rooftops at dusk, slow motion”

Animate a product photo

“rotate the product slowly 360 degrees, preserve lighting and background”

For Developers

A few lines of code.
Swap model_id to change capability.

ModelsLab handles the infrastructure: fast inference, auto-scaling, and a developer-friendly API. No GPU management needed.

  • Serverless: scales to zero, scales to millions
  • Pay per generation, on plans from $21/month
  • Python and JavaScript SDKs, plus REST API
import requests
response = requests.post(
"https://modelslab.com/api/v7/images/text-to-image",
json={
"key": "YOUR_API_KEY",
"width": 1024,
"height": 1024,
"prompt": "a cinematic shot of a red fox in snow",
"samples": 1,
"model_id": "wan-2.7-t2i"
}
)
print(response.json())

FAQ

Common questions about Wan 2.7 — Text-to-Image, Edit, Video

Read the docs

Wan 2.7 is Alibaba Cloud's latest multimodal generation family. It ships four specialised checkpoints — text-to-image, image edit, text-to-video, and image-to-video — trained on a unified multimodal backbone with strong prompt adherence.

Create a ModelsLab account, subscribe to a plan (from $21/month), generate an API key, and POST to the relevant endpoint with the Wan 2.7 model_id (wan-2.7-t2i, wan-2.7-i2i, wan2.7-t2v, or wan2.7-i2v). No Alibaba Cloud account required.

Wan 2.7 text-to-image and image edit are $0.03 per image on their model pages (checked 2026-09-23). Video is billed per second of output, scaled by resolution, at the rate on each model page. Wan 2.7 is a third-party model, billed from the usage included in a ModelsLab plan from $21/month, then from wallet balance.

No. Wan 2.7 runs on Alibaba Cloud, so each call is billed from the usage included in a ModelsLab plan from $21/month, then from wallet balance. Open Source Unlimited covers the open-weight Wan 2.2 that ModelsLab self-hosts, not Wan 2.7.

Wan 2.7 T2I generates images from scratch using a text prompt. Wan 2.7 I2I (image edit) modifies an existing image using an instruction prompt (e.g. "change background to snowy mountains"). Both run through the same REST endpoint; only the model_id and request payload differ.

Wan 2.7 is the only one of the three with text-to-image + image-edit checkpoints in the same family. Kling v1.5 leads on cinematic motion quality; Seedance 2 offers native audio sync. All three are available on ModelsLab behind one key.

Each Wan 2.7 video call produces up to 5–10 seconds. For longer sequences, generate multiple clips and stitch them together with a transition model — a common pattern for 30-60s social videos.

Yes. Pass a webhook URL in the request body and ModelsLab POSTs the completed asset (image or video) to your endpoint when generation finishes — useful for async video jobs and high-throughput batch workflows.

Ready to create?

Start generating with Wan 2.7 — Text-to-Image, Edit, Video on ModelsLab.

Wan API models

Every Wan model on ModelsLab, with the task it runs and the price billed per unit. Each one has its own page with a playground and API docs.

ModelTaskPriceModel ID
Wan 2.7 Image EditImage to Image$0.03 per imagewan-2.7-i2i
Wan 2.7 Text To ImageText to Image$0.03 per imagewan-2.7-t2i
Wan 2.5 Image to VideoImage to VideoFrom $0.1 per second of videowan2.5-i2v
Wan 2.5 Text to VideoText to VideoFrom $0.1 per second of videowan2.5-t2v
Wan 2.6 Image To VideoImage to VideoFrom $0.1 per second of videowan2.6-i2v
Wan 2.6 Image To Video (Flash)Image to VideoFrom $0.1 per second of videowan2.6-i2v-flash
Wan 2.6 Text To VideoText to VideoFrom $0.1 per second of videowan2.6-t2v
Wan 2.7 Image To VideoImage to VideoFrom $0.1 per second of videowan2.7-i2v
Wan 2.7 Text To VideoText to VideoFrom $0.1 per second of videowan2.7-t2v
Wan 3.0 Image To VideoImage to VideoFrom $0.05 per second of videowan3.0-i2v
Wan 3.0 Reference to VideoImage to VideoFrom $0.05 per second of videowan3.0-r2v
Wan 3.0 Text To VideoText to VideoFrom $0.05 per second of videowan3.0-t2v
Wan 2.2 (open weights)Text to Video, Image to Video$0.075 per generationwan2.2

Wan API quickstart

Call wan2.7-t2v with your API key:

curl --request POST \
  --url https://modelslab.com/api/v7/video-fusion/text-to-video \
  --header "Content-Type: application/json" \
  --data '{
    "key": "YOUR_API_KEY",
    "model_id": "wan2.7-t2v",
    "init_audio": "https://assets.modelslab.ai/generations/74c4f2e6-2fa6-4d8f-a0e3-09ff1a94d9e1.mp3",
    "prompt": "I man talking towards camera from great wall of china and saying, Welcome to my vlogs the beautiful views from this place is breathetaking and amazing you should also come here",
    "duration": "5",
    "resolution": "720P"
}'