Alibaba
Available via APIVideo Generation720p / 1080p2–15sWan 2.7 API
Generate 2-15 second Alibaba Wan 2.7 videos at 720p or 1080p from text, first/last frames, or up to 5 reference images with optional audio conditioning.
- Model ID
wan-2.7- Starts at
- $0.124/second
- Free trial
- $0.20 bonus (200 credits)
New accounts start with $0.20 in free credits.
Compare all Wan API versionsWan 2.7 is developed by Alibaba. Wizzx provides API access to it and does not own the model. All trademarks belong to their respective owners.
Need a first frame? Create one with
Model Guide
About Wan 2.7
Generate 2-15 second Alibaba Wan 2.7 videos at 720p or 1080p from text, first/last frames, or up to 5 reference images with optional audio conditioning.
Why choose Wan 2.7?
Wan 2.7 is Alibaba's 27B Mixture-of-Experts video generation model, advancing Wan 2.6 with stronger prompt reasoning, multi-shot narrative coherence, reference-to-video consistency, and optional driving/reference audio conditioning across 720p and 1080p output.
In Wizzx, wan-2.7 unifies text-to-video, first/last-frame image-to-video, and multi-image reference-to-video (up to 5 images plus optional audio_url), alongside negative_prompt and prompt_extend controls.
| Wizzx control | Current behavior |
|---|---|
| Prompt | Required, 1–5,000 characters |
| Frame conditioning | Optional first_frame_image and last_frame_image (public http(s) URLs; last_frame_image requires first_frame_image and empty reference_image_urls) |
| Reference images | Optional reference_image_urls (0–5 public http(s) URLs), no extra charge |
| Audio input | Optional audio_url (public http(s) audio URL; acts as driving audio in image-to-video or voice reference in reference-to-video) |
| Resolution | 720p (default) or 1080p |
| Duration | Any whole number from 2 to 15 seconds, default 5; capped at 10 seconds when reference_image_urls is non-empty |
| Aspect ratio | 16:9 (default), 9:16, 1:1, 4:3, or 3:4 |
| Negative prompt & extend | Optional negative_prompt (up to 500 characters), prompt_extend boolean, and seed (>= 0) |
Best-fit workflows
- Audio-driven image or reference clips: pair
first_frame_imageorreference_image_urlswithaudio_urlto guide speech timing and performance rhythm. - Reference-to-video with optional opening frame: combine up to 5
reference_image_urls(optionally anchored byfirst_frame_image) for 2–10 second consistent character shots. - Controlled text & start/end-frame shots: use
prompt_extendandnegative_promptto steer 2–15 second720por1080pclips cleanly.
Prompting approach
Describe subject identity, motion progression, and camera work clearly; enable prompt_extend: true when you want terse prompts expanded into richer cinematography, and list unwanted visual artifacts in negative_prompt (up to 500 characters). Keep duration at or below 10 seconds whenever reference_image_urls is populated, and leave reference_image_urls empty if you use last_frame_image.
Wizzx scope
Wizzx returns one video per request. resolution (720p or 1080p) selects the per-second rate and duration multiplies it, with no surcharge on images or audio_url; live credit rates come from the backend /pricing catalog. Combining last_frame_image with reference_image_urls or requesting more than 10 seconds in reference-to-video mode is rejected. For clips up to 30 seconds or 480p drafts, see wan-3.0.
Sources
Wan 2.7 API example outputs
Generated with Wan 2.7
resolution: 720pduration: 5aspect_ratio: 16:9PromptAerial drone shot following a lone cyclist on a winding coastal road high above a turquoise sea at golden hour. Waves break on the cliffs below, then the camera slowly rises to reveal the whole coastline.
Aerial drone shot following a lone cyclist on a winding coastal road high above a turquoise sea at golden hour. Waves break on the cliffs below, then the camera slowly rises to reveal the whole coastline.
Live API pricing
Wan 2.7 API pricing
Transparent pay-as-you-go rates by tier. Failed tasks are automatically refunded.
| Spec | Wizzx price |
|---|---|
720p
| 124 credits / second ≈ $0.124 / second |
1080p
| 185 credits / second ≈ $0.185 / second |
1 credit = $0.001 USD. The final deduction returned by the API is authoritative.
Billed per second (2–15s, up to 10s with reference images; default 5s at 720p); supports text-to-video, first/last frame, and up to 5 reference images.
Integrate the Wan 2.7 API
Every request is asynchronous: submit the task, keep the task ID, then poll for the result. The body below uses the model's default settings.
- 1
Get a Wan 2.7 API key
Sign in and create a key in the dashboard. Set WIZZX_API_KEY in your server environment; never expose it in browser code.
- 2
Submit a task
Send a POST request to the model endpoint. A successful submission returns data.task_id; keep that ID before polling. Submission is not generation completion.
- 3
Retrieve the result
Replace YOUR_TASK_ID with the returned ID and query GET /api/v1/task/{task_id}. Wait for SUCCEEDED and read the output URLs. Stop on FAILED or REVIEW_REQUIRED; do not automatically resubmit an uncertain task.
curl -X POST \
https://api.wizzx.ai/api/v1/task/submit/wan-2.7 \
-H "Authorization: Bearer $WIZZX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"resolution": "720p",
"duration": 5,
"aspect_ratio": "16:9",
"prompt": "Aerial drone shot following a lone cyclist on a winding coastal road high above a turquoise sea at golden hour. Waves break on the cliffs below, then the camera slowly rises to reveal the whole coastline."
}'const response = await fetch("https://api.wizzx.ai/api/v1/task/submit/wan-2.7", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.WIZZX_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"resolution": "720p",
"duration": 5,
"aspect_ratio": "16:9",
"prompt": "Aerial drone shot following a lone cyclist on a winding coastal road high above a turquoise sea at golden hour. Waves break on the cliffs below, then the camera slowly rises to reveal the whole coastline."
}),
});
const payload = await response.json();
const task = payload.data ?? payload;
const taskId = task.task_id;import os
import requests
response = requests.post(
"https://api.wizzx.ai/api/v1/task/submit/wan-2.7",
headers={
"Authorization": f"Bearer {os.environ['WIZZX_API_KEY']}",
},
json={
"resolution": "720p",
"duration": 5,
"aspect_ratio": "16:9",
"prompt": "Aerial drone shot following a lone cyclist on a winding coastal road high above a turquoise sea at golden hour. Waves break on the cliffs below, then the camera slowly rises to reveal the whole coastline."
},
)
payload = response.json()
task = payload.get("data", payload)
task_id = task["task_id"]curl https://api.wizzx.ai/api/v1/task/YOUR_TASK_ID \
-H "Authorization: Bearer $WIZZX_API_KEY"const response = await fetch("https://api.wizzx.ai/api/v1/task/YOUR_TASK_ID", {
headers: {
Authorization: `Bearer ${process.env.WIZZX_API_KEY}`,
},
});
const payload = await response.json();
const task = payload.data ?? payload;
// Poll until task.status is SUCCEEDED, then read task.result_urls (stop on FAILED or REVIEW_REQUIRED)import os
import requests
response = requests.get(
"https://api.wizzx.ai/api/v1/task/YOUR_TASK_ID",
headers={
"Authorization": f"Bearer {os.environ['WIZZX_API_KEY']}",
},
)
payload = response.json()
task = payload.get("data", payload)
# Poll until task["status"] == "SUCCEEDED", then read task["result_urls"] (stop on FAILED or REVIEW_REQUIRED)Wan 2.7 API parameters
The fields this endpoint accepts on Wizzx, read from the same schema as the Playground form.
| Parameter | Type | Default | Allowed values | Description |
|---|---|---|---|---|
promptPromptrequired | string | — | ≤ 5,000 | Describe the video you want to generate |
first_frame_imageFirst Frame | url | — | — | Optional opening frame URL. |
last_frame_imageEnd Frame Image | url | — | — | Optional closing frame URL (requires First Frame; omit Reference Images). |
reference_image_urlsReference Images | url[] ≤ 5 | — | — | Optional. Up to 5 reference images (max duration 10 seconds). |
audio_urlAudio URL | url | — | — | Optional audio URL for driving or voice reference. |
durationDuration | integer | 5 | 2 – 15 | Video duration in seconds (max 10 seconds when Reference Images are used). |
resolutionResolution | string | 720p | 720p · 1080p | Resolution selects the per-second rate. |
aspect_ratioAspect Ratio | string | 16:9 | 16:9 · 9:16 · 1:1 · 4:3 · 3:4 | — |
prompt_extendPrompt Expansion | boolean | — | — | — |
negative_promptNegative Prompt | string | — | ≤ 500 | What you don't want in the video (max 500 characters) |
seedSeed | integer | — | 0 – … | Random seed for reproducibility |
Compare Wan API versions
All 7 Wan versions live on Wizzx. Prices are each version's lowest tier.
| Version | Mode | Output | Price |
|---|---|---|---|
wan-2.7-image | Text → image · edit | 1K2K | $0.034/image |
wan-2.7-image-pro | Text → image · edit | 1K2K4K | $0.084/image |
wan-2.6-flash | Image → video | 720p1080p2–15s | $0.033/second |
wan-3.0 | Text / image → video | 480p720p1080p2–30s | $0.065/second |
wan-3.0-prime | Text / image → video | 480p720p1080p2–30s | $0.097/second |
Wan 2.7This model wan-2.7 | Text / image → video | 720p1080p2–15s | $0.124/second |
wan-2.2-speech-to-video | Image + speech → video | 480p580p720p3–7s | $0.093/second |
API integration questions
- How much does the Wan 2.7 API cost?
- On Wizzx the Wan 2.7 API starts at $0.124/second (124 credits). Each tier above lists its parameters and billing unit, and failed tasks are refunded.
- What is the Wan 2.7 API model ID?
- wan-2.7. Submit tasks to POST /api/v1/task/submit/wan-2.7 with your API key.
- Am I charged if a task fails?
- No. Credits are reserved when you submit a task and refunded if it fails. You are only charged for successful tasks.
- Can I try the Wan 2.7 API for free?
- Yes. New accounts start with $0.20 in free credits, about 1 second of video at the starting price.
- Is this the official Wan 2.7 API?
- No. Wan 2.7 models are developed by Alibaba. Wizzx is an independent API platform that gives you access to them with one API key, an asynchronous task API and pay-as-you-go credits.
- Does the submit response contain the generated file?
- Generation is asynchronous. The submit response identifies the task. Query its status until it finishes, then use the output URLs in the result. See the API reference for response fields and error handling.
Wizzx API
Start building with the Wan 2.7 API
New accounts get $0.20 in free credits. Pay as you go with no subscription, and failed tasks are refunded.