VARIANTE · Alibaba / Wan

Wan wan-2.7-edit-video API

A model variant exposed through RunAPI's unified AI API.

Operational · video · Commercial use supported
# 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
APERÇU

Wan wan-2.7-edit-video is available through the same RunAPI auth, SDKs, and agent skill workflow.

  • Unified endpoint
  • SDK snippets
  • Agent install path
  • Les générations échouées ne sont pas facturées
TARIFS

TARIFS

Les générations échouées ne sont pas facturées
Edit video
$0.16-$0.24 / second
Output resolution: 720p $0.16
Output resolution: 1080p $0.24
FICHE TECHNIQUE

FICHE TECHNIQUE

Model ID wan-2.7-edit-video
Fournisseur Alibaba
Modalité video
Task type asynchronous
Facturation second
Endpoint /api/v1/wan/edit_video
Commercial Yes
Status Operational
DÉMARRAGE RAPIDE

Quickstart — wan-2.7-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.7-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.7-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.7-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
FONCTIONNEMENT

How to use wan-2.7-edit-video

01

Choose endpoint

Pick the endpoint and copy the SDK snippet.

02

Pass model ID

Use this variant ID in the request body.

03

Run task

Submit the request and store the returned task ID.

04

Collect output

Poll or receive the callback when the task finishes.

DIFFÉRENCES

How wan-2.7-edit-video compares

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

wan-2.7-edit-video

Image-anchored video on the 2.2 architecture

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

wan-2.7-edit-video

Audio input drives video motion and lip-sync

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

wan-2.7-edit-video

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

CAS D’USAGE

Where to use this variant

Product video

Generate short production-ready clips from prompts.

Creative iteration

Test multiple directions quickly.

Agent workflows

Let agents create video assets via tool calls.

FAQ

Frequently asked questions about wan-2.7-edit-video

How do I select wan-2.7-edit-video?

Pass the model ID shown in the quickstart.

Is pricing usage-based?

Yes. Pricing is metered per call or unit.

COMMENCER

Start with Wan today.