Wan 2.7 Video Edit API — pricing & specs

Wan 2.7 Video Edit is an Alibaba model that edits or restyles an existing video clip. On KeepRouter, Wan 2.7 Video Edit costs $0.0860 per second of video, billed pay-as-you-go with no monthly fee. Call it through a compatible KeepRouter endpoint supported by its active route, with the model id wan2.7-videoedit.

MakerAlibaba
ModalityVideo-to-video
Clip length2 to 15 seconds
Output price$0.0860 per second of video
CapabilitiesVideo-to-video, Asynchronous task: poll for the finished clip
EndpointPOST /v1/video/generations, then GET /v1/videos/{id}
Model idwan2.7-videoedit

How pricing works for Wan 2.7 Video Edit

Wan 2.7 Video Edit is billed per second of generated video — $0.0860 per second of video, charged when the render is submitted. There is no monthly fee; the clip's `duration` is the billed quantity, so a 5-second clip costs five times the published per-second rate.

Calling Wan 2.7 Video Edit on KeepRouter

Point a compatible client at the supported KeepRouter endpoint and set the model to wan2.7-videoedit. KeepRouter preserves the client-facing request shape while handling upstream routing or translation. Submit the render to POST /v1/video/generations, then poll GET /v1/videos/{id} until status is completed and read url.

cURL

# This model needs an input: media[0].type is "video", and the URL must be fetchable by the provider.
# 1. Submit the render and keep the task id
TASK=$(curl -s https://keeprouter.com/v1/video/generations \
  -H "Authorization: Bearer $KEEPROUTER_KEY" -H "Content-Type: application/json" \
  -d '{"model":"wan2.7-videoedit","prompt":"a paper plane gliding over a sunlit desk","duration":5,"media":[{"type":"video","url":"https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4"}]}' \
  | python3 -c 'import json,sys; print(json.load(sys.stdin)["id"])')
# 2. Poll until the clip is ready
curl -s https://keeprouter.com/v1/videos/$TASK -H "Authorization: Bearer $KEEPROUTER_KEY"

Python

import os, time, requests
headers = {"Authorization": "Bearer " + os.environ["KEEPROUTER_KEY"]}
task = requests.post("https://keeprouter.com/v1/video/generations", headers=headers, json={
    "model": "wan2.7-videoedit", "prompt": "a paper plane gliding over a sunlit desk", "duration": 5,
    "media": [{"type": "video", "url": "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4"}],
}).json()
while True:
    state = requests.get(f"https://keeprouter.com/v1/videos/{task['id']}", headers=headers).json()
    if state["status"] in ("completed", "failed", "canceled"):
        break
    time.sleep(5)
print(state["url"] or state["error"])

JavaScript

const headers = { Authorization: "Bearer " + process.env.KEEPROUTER_KEY, "Content-Type": "application/json" };
const task = await (await fetch("https://keeprouter.com/v1/video/generations", {
  method: "POST", headers,
  body: JSON.stringify({ model: "wan2.7-videoedit", prompt: "a paper plane gliding over a sunlit desk", duration: 5, media: [{ type: "video", url: "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4" }] }),
})).json();
let state;
do {
  await new Promise((r) => setTimeout(r, 5000));
  state = await (await fetch("https://keeprouter.com/v1/videos/" + task.id, { headers })).json();
} while (state.status !== "completed" && state.status !== "failed" && state.status !== "canceled");
console.log(state.url ?? state.error);

Estimate API costs

At the current KeepRouter customer price, an example workload of 6 seconds of generated video per request costs approximately $0.5161 per request. At 100 requests per day, that is $1548.22 over 30 days. This is a usage estimate, excluding processing fees, taxes, retries and application infrastructure. Actual usage, cache hits and supported generation durations need their own checks.

Adjust quantities in the API cost calculator.

How to evaluate Wan 2.7 Video Edit

Wan 2.7 Video Edit is listed on KeepRouter as video-to-video under the exact id wan2.7-videoedit. Use POST /v1/video/generations, then GET /v1/videos/{id} for the listed route; a maker's upstream features do not automatically apply to this gateway endpoint. No context limit is asserted here because the exact upstream limit has not been verified for this catalog entry.

First workload: Render one short representative clip, then inspect motion, consistency and the billed duration. Published duration range: 2–15 seconds.

Before production: Video generation is asynchronous and billed by generated seconds. Poll the task result; keep failed or refused jobs separate in your cost accounting.

Public model usage evidence

No public, exact-variant usage figure has been verified for this KeepRouter model id. Missing data is not zero usage; family-level or maker-wide traffic is not presented as this model's traffic.

Published examples and cases

No exact-model customer case has been verified for this entry. The workload above is an evaluation recipe, not a claim of a public deployment.

Source and verification boundary

Official Alibaba website. KeepRouter's live catalog is authoritative for the customer price and enabled endpoint shown here; the maker remains authoritative for upstream model capabilities and limits.

Pricing and implementation guides

Related models

All models & pricing · Quickstart · KeepRouter vs OpenRouter · Glossary · Get an API key

Catalog facts and prices last changed .

Page content reviewed .