VARIANT · Alibaba / Wan

Wan wan-2.6-edit-video API

Same API, same SDK — switch variants by changing one parameter.

Operational · video · Commercial OK
# Works with Claude Code, Codex, Gemini CLI, Cursor, and 50+ agents
npx skills add runapi-ai/wan -g
The -g flag installs globally so every project picks it up.
Or paste this prompt to your AI agent:
Install the Wan skill for me:

1. Clone https://github.com/runapi-ai/wan
2. Copy the skills/wan/ directory into your
   user-level skills directory (e.g. ~/.claude/skills/
   for Claude Code, ~/.codex/skills/ for Codex).
3. Verify that SKILL.md is present.
4. Confirm the install path when done.
Switch variant
OVERVIEW

wan-2.6-edit-video targets the sweet spot of quality and cost within the Wan family.

  • Pay-per-call pricing in USD
  • Failed generations not charged
  • Streaming when supported by the model
  • Schema-validated tool calls
PRICING

Pricing

Failed generations are not charged
Edit video
$0.14-$0.21 / second
Output resolution: 720p $0.14
Output resolution: 1080p $0.21
SPEC SHEET

Technical details

Model ID wan-2.6-edit-video
Provider Alibaba
Modality video
Task type asynchronous
Billing unit second
API endpoint /api/v1/wan/edit_video
Commercial license Yes — included via API
Status Operational
QUICKSTART

Quickstart — wan-2.6-edit-video

runapi.ai
curl -X POST https://runapi.ai/api/v1/wan/edit_video \
  -H "Authorization: Bearer $RUNAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "wan-2.6-edit-video",
  "video_url": "https://cdn.runapi.ai/public/samples/video.mp4",
  "prompt": "Generate a 5-second video of a cat jumping onto a bookshelf, natural indoor lighting, handheld camera feel."
}'
import { WanClient } from "@runapi.ai/wan";

const client = new WanClient();
const result = await client.editVideo.run({
    model: "wan-2.6-edit-video",
    video_url: "https://cdn.runapi.ai/public/samples/video.mp4",
    prompt: "Generate a 5-second video of a cat jumping onto a bookshelf, natural indoor lighting, handheld camera feel.",
});
require "runapi/wan"

client = RunApi::Wan::Client.new
result = client.edit_video.run(
    model: "wan-2.6-edit-video",
    video_url: "https://cdn.runapi.ai/public/samples/video.mp4",
    prompt: "Generate a 5-second video of a cat jumping onto a bookshelf, natural indoor lighting, handheld camera feel."
)
@runapi.ai/wan v1
HOW IT WORKS

Use wan-2.6-edit-video in four steps

01

Install

Install the model SDK or agent skill for this model line.

02

Configure

Set the model field to the full model ID shown on this page.

03

Call

Send a typed request with your prompt, inputs, and callback settings.

04

Receive

Read the task response, webhook callback, or cached output URL from RunAPI.

DIFFERENCES

What's different about wan-2.6-edit-video

VS WAN-2.2-A14B-IMAGE-TO-VIDEO-TURBO

Video editing with subject + camera control

Image-anchored video on the 2.2 architecture

VS WAN-2.2-A14B-SPEECH-TO-VIDEO-TURBO

Video editing with subject + camera control

Audio input drives video motion and lip-sync

VS WAN-2.2-A14B-TEXT-TO-VIDEO-TURBO

Video editing with subject + camera control

Open-source MoE; runs on 12 GB VRAM; baseline quality

USE CASES

Best for

Ad & social content

Generate product launch clips and short-form ads from a text brief, cutting production from weeks to hours.

E-learning

Convert lesson scripts into animated explainer videos at scale without a camera or crew.

Creator workflows

Produce viral short-form content for social platforms directly from a prompt.

FAQ

Frequently asked questions about wan-2.6-edit-video

Is the model ID stable across versions?

RunAPI keeps the model ID stable and handles compatible version refreshes without changing your request shape.

What's the rate limit on this variant?

Per-key rate limits scale with usage tier. See pricing page for current limits.

Can I switch variants later?

Yes — variant is a flag. Switch by changing the model parameter.

Does it stream?

Where streaming is available, RunAPI streams end-to-end.

Where do I report quality issues?

Open an issue on the public GitHub repo or email support.

START NOW

Start building with Wan.