Wan 2.7 API

Multimodal video model supporting T2V, I2V, video editing, and reference-to-video, with high-fidelity output from text, image, or video inputs.

Alibaba CloudVideo GenerationSingaporeProprietary Endpoint

About Wan 2.7

Multimodal video model supporting T2V, I2V, video editing, and reference-to-video, with high-fidelity output from text, image, or video inputs.

audio synccharacter consistencymulti shot

Wan 2.7 specs

Model ID
wan-2-7
Provider
Alibaba Cloud
Category
Video Generation
Input
text, image, video, audio
Output
video
Region
Singapore
Endpoints
POST /v1/videos/generations

Wan 2.7 API pricing

Live pay-as-you-go rates from the EmpirioLabs catalog. You are billed only for what you use, with no monthly minimum.

Type
Spec
Rate
All Modes 720P
per second
$0.10
All Modes 1080P
per second
$0.150
Compare on the full pricing page

How to call the Wan 2.7 API

Wan 2.7 runs through POST /v1/videos/generations. The request returns a job_id right away; poll GET /v1/jobs/{job_id} until the job completes and read the output URLs from the result. Get an API key from the EmpirioLabs dashboard.

cURL: submit the job
curl https://api.empiriolabs.ai/v1/videos/generations \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "wan-2-7",
    "prompt": "Describe what you want Wan 2.7 to generate."
  }'
cURL: poll for the result
curl https://api.empiriolabs.ai/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY"
Python
import requests

response = requests.post(
    "https://api.empiriolabs.ai/v1/videos/generations",
    headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
    json={
        "model": "wan-2-7",
        "prompt": "Describe what you want Wan 2.7 to generate.",
    },
)
job = response.json()

# Generation runs as an async job. Poll until it completes.
import time
while True:
    status = requests.get(
        f"https://api.empiriolabs.ai/v1/jobs/{job['job_id']}",
        headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
    ).json()
    if status.get("status") in ("completed", "failed"):
        print(status)
        break
    time.sleep(5)
Full Wan 2.7 API reference

Wan 2.7 API parameters

Request parameters supported by the Wan 2.7 API on EmpirioLabs. Defaults apply when a field is omitted.

ParameterTypeDefaultRange / valuesDescription
promptstring--Scene description.
modeenumautoauto, t2v, i2v, videoedit, r2vt2v: text-to-video. i2v: animate the attached image. videoedit: edit the attached video. r2v: reference-to-video.
resolutionenum1080p720p, 1080pOutput resolution. Larger = higher fidelity but slower / more expensive.
durationnumber52 to 15Clip length in seconds.
aspect_ratioenum-16:9, 9:16, 1:1, 4:3, 3:4Optional. If omitted, the model picks based on input.
imagestring--Reference image URL. Required for i2v / r2v / videoedit.
videostring--Reference video URL. Required for videoedit / r2v.
negative_promptstring--What to avoid.
seednumber--Reproducibility seed.
audio_settingenumautoauto, originauto: generate native audio. origin: keep audio from the reference video (videoedit/r2v only).
prompt_extendbooleantrue-Let DashScope rewrite the prompt for better results.

Good to know

Generation can take 30+ minutes. Modes auto-detected from attachments — or override with the mode parameter.

Modes

  • T2V: no attachments
  • I2V (First Frame): 1 image
  • I2V (First + Last): exactly 2 images
  • I2V Continuation: 1 video (2-10s) + optional last-frame image
  • Video Edit: 1 video (2-10s, ≤100 MB, MP4/MOV) + up to 3 reference images
  • R2V: up to 5 references combined; reference subjects in your prompt with Video1, Image1, etc.

Optional audio

  • T2V/I2V: 2-30s
  • R2V: 1-10s (used as a voice timbre sample)
  • Max 15 MB, .mp3 or .wav

Billing

  • Video Edit and R2V are billed for input + output duration combined.

Uploaded media preprocessing

  • Reference and edit videos are normalized to provider-compatible MP4 when needed.
  • Reference-video duration follows the mode limits shown above.

Wan 2.7 API: common questions

How much does the Wan 2.7 API cost?

On EmpirioLabs, Wan 2.7 is billed pay as you go: All Modes 720P $0.10 per second; All Modes 1080P $0.150 per second. The live rate card on this page always matches what the API charges.

Which endpoint does Wan 2.7 use?

Wan 2.7 is served through POST /v1/videos/generations on api.empiriolabs.ai with standard bearer-token authentication.

Can I try Wan 2.7 in the browser before integrating?

Yes. The EmpirioLabs playground runs Wan 2.7 in the browser with the same parameters the API exposes, so you can test prompts before writing code.

How do I get a Wan 2.7 API key?

Create an EmpirioLabs account, then generate a key under API Keys in the dashboard. Billing is pay-as-you-go credits, so you only pay for the requests you make.

Ready to use better endpoints?

Explore our models, or contact us about business inquiries, custom deployments, or anything else.