# Wan 2.7 Video Edit MCP and API - Video editing by Alibaba | FlyMy.AI

> Alibaba Wan 2.7 Video Edit changes an MP4 or MOV clip of up to 10 seconds from a text instruction and up to four reference images.

Page: https://flymy.ai/mcp/models/wan-2-7-video-edit/

MCP / Models / Reference video, editing and lip sync

# Wan 2.7 Video Edit MCP: edit clips with text, no API key

Alibaba Wan 2.7 Video Edit changes an MP4 or MOV clip of up to 10 seconds from a text instruction and up to four reference images. Run it from Claude Code, Codex, Cursor or any MCP client through one FlyMy.AI MCP, or call its API.

[Use Wan 2.7 Video Edit](https://flymy.ai/mcp/models/wan-2-7-video-edit/#start) [Inputs and price](https://flymy.ai/mcp/models/wan-2-7-video-edit/#inputs)

No API key, from $0.20 / s, Video editing, Alibaba, Commercial use

$ YOUR NEXT RUN

Claude Code, Codex, Cursor, Any agent

## Use Wan 2.7 Video Edit in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

```
Read https://flymy.ai/skill.md and https://flymy.ai/mcp/models/wan-2-7-video-edit.md. Help me connect the FlyMy.AI MCP to this assistant, then run Wan 2.7 Video Edit (flymyai/wan-2_7-video-edit) for this task: With Wan 2.7 Video Edit, make the car in my clip red and keep everything else the same.
```

[Open FlyMy.AI](https://app.flymy.ai/new-agent) [Download brief](https://flymy.ai/mcp/models/wan-2-7-video-edit.md)

## What Wan 2.7 Video Edit does

Send video_url, a prompt and a duration from 2 to 10 seconds that does not exceed the length of your clip (files up to 100 MB). Add reference_image to reference_image3, choose resolution (720P or 1080P) and ratio, and keep the original sound with audio_setting origin.

## Wan 2.7 Video Edit inputs

Every input of `flymyai/wan-2_7-video-edit` as its live schema lists them. Returns `video_url` (array).

| Input | Type, values and default |
|---|---|
| [#](https://flymy.ai/mcp/models/wan-2-7-video-edit/#input-prompt) `prompt` | string required |
| [#](https://flymy.ai/mcp/models/wan-2-7-video-edit/#input-video_url) `video_url` | string required |
| [#](https://flymy.ai/mcp/models/wan-2-7-video-edit/#input-reference_image) `reference_image` | file optional Allowed: image file, as a URL or upload |
| [#](https://flymy.ai/mcp/models/wan-2-7-video-edit/#input-negative_prompt) `negative_prompt` | string optional |
| [#](https://flymy.ai/mcp/models/wan-2-7-video-edit/#input-resolution) `resolution` | string optional Allowed: 720P, 1080P Default: `720P` |
| [#](https://flymy.ai/mcp/models/wan-2-7-video-edit/#input-ratio) `ratio` | string optional Allowed: 1:1, 3:4, 4:3, 9:16, 16:9 |
| [#](https://flymy.ai/mcp/models/wan-2-7-video-edit/#input-duration) `duration` | integer required Allowed: 2, 3, 4, 5, 6, 7, 8, 9, 10 Integer from 2 to 10. Must not exceed the actual input video length. |
| [#](https://flymy.ai/mcp/models/wan-2-7-video-edit/#input-audio_setting) `audio_setting` | string optional Allowed: auto, origin Default: `auto` |
| [#](https://flymy.ai/mcp/models/wan-2-7-video-edit/#input-prompt_extend) `prompt_extend` | boolean optional Default: `true` |
| [#](https://flymy.ai/mcp/models/wan-2-7-video-edit/#input-watermark) `watermark` | boolean optional Default: `false` |
| [#](https://flymy.ai/mcp/models/wan-2-7-video-edit/#input-seed) `seed` | integer optional Allowed: 0 to 2147483647 Default: `42` |
| [#](https://flymy.ai/mcp/models/wan-2-7-video-edit/#input-enable_safety_checks) `enable_safety_checks` | boolean optional Default: `true` |
| [#](https://flymy.ai/mcp/models/wan-2-7-video-edit/#input-reference_image1) `reference_image1, reference_image2 to reference_image3` | file optional Allowed: image file, as a URL or upload |

## Ask your agent

Requests to paste as they are, once the FlyMy.AI MCP is connected.

**“With Wan 2.7 Video Edit, make the car in my clip red and keep everything else the same.”** runs `flymyai/wan-2_7-video-edit`

**“Change the weather in my video to falling snow with Wan 2.7 Video Edit.”** runs `flymyai/wan-2_7-video-edit`

**“Restyle my clip as a risograph animation with Wan 2.7 Video Edit.”** runs `flymyai/wan-2_7-video-edit`

## Wan 2.7 Video Edit price

From $0.20 per second of duration, depending on resolution. A run costs $0.40 to $3.00, depending on resolution and duration. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

| Setting | Price |
|---|---|
| resolution 720P | $0.20 per second |
| resolution 1080P | $0.30 per second |

[See usage pricing →](https://flymy.ai/pricing/)

## Call Wan 2.7 Video Edit from code

The same model, from an agent or from your own code. Keys stay in your FlyMy.AI account.

### From an agent, through the MCP

The agent calls `get_model_schema`, then `run_model` with:

```
{
  "endpoint_id": "flymyai/wan-2_7-video-edit",
  "input": {
    "prompt": "Keep the subject and its motion, set the scene on a beach at golden hour",
    "video_url": "https://example.com/clip.mp4",
    "duration": "2"
  }
}
```

### From your code, over HTTP

Form fields, not JSON; files go as uploads or public URLs. The answer is a `prediction_id`; read the result at `https://api.flymy.ai/api/v1/flymyai/wan-2_7-video-edit/predict/async/result/?request_id=<prediction_id>`.

```
curl -X POST https://api.flymy.ai/api/v1/flymyai/wan-2_7-video-edit/predict/async/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=Keep the subject and its motion, set the scene on a beach at golden hour' \
  -F 'video_url=https://example.com/clip.mp4' \
  -F 'duration=2'
```

## Questions about Wan 2.7 Video Edit

**Do I need a Alibaba API key for Wan 2.7 Video Edit?**

No. Wan 2.7 Video Edit runs on FlyMy.AI's account, so you need no Alibaba key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.

**How much does Wan 2.7 Video Edit cost?**

From $0.20 per second of duration, depending on resolution. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-09.

**How do I use Wan 2.7 Video Edit in Claude Code, Codex or Cursor?**

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "With Wan 2.7 Video Edit, make the car in my clip red and keep everything else the same." Your agent reads the inputs with get_model_schema and runs flymyai/wan-2_7-video-edit with run_model.

**What does Wan 2.7 Video Edit need as input?**

Wan 2.7 Video Edit requires prompt, video_url and duration; it also takes 12 optional inputs, each listed on this page with its allowed values and default.

**Can I call Wan 2.7 Video Edit from my own code?**

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/wan-2_7-video-edit/predict/async/ with your FlyMy.AI API key in the X-API-KEY header.

## More reference video, editing and lip sync models

Keep characters and products from references, edit or extend a clip, sync lips to a voice.

### Wan 3.0 Reference to Video

Wan 3.0 from references: the same cast, location and voice across 30 seconds.

Reference to video / from $0.05 / s

Link: https://flymy.ai/mcp/models/wan-3-0-ref2v/

### Wan 2.7 Reference to Video

Wan 2.7 for keeping a character or style steady across a short clip.

Reference to video / from $0.10 / s

Link: https://flymy.ai/mcp/models/wan-2-7-ref2v/

### Gemini Omni 1.2 Flash Reference to Video

Gemini Omni from references: two characters and their products, kept across the clip.

Reference to video / from $0.024 / s

Link: https://flymy.ai/mcp/models/gemini-omni-1-2-flash-ref2v/

### Gemini Omni 1.2 Flash Video Edit

Gemini Omni editing a clip by instruction: swap the product, the sky or the style.

Video editing / from $0.024 / s

Link: https://flymy.ai/mcp/models/gemini-omni-1-2-flash-edit/

### Gemini Omni 1.2 Flash Video Extend

Gemini Omni that continues your clip with matching motion, cast and sound.

Video extension / from $0.024 / s

Link: https://flymy.ai/mcp/models/gemini-omni-1-2-flash-extend/

### OmniHuman 2.0

One photo plus a voice track: a presenter, singer or character that moves in sync.

Talking video / $0.07 / s

Link: https://flymy.ai/mcp/models/bytedance-omnihuman-2-0/

## Go to the source

[Wan 2.7 Video Edit in the playground →](https://app.flymy.ai/models/flymyai/wan-2_7-video-edit), [Model endpoints in the docs →](https://docs.flymy.ai/api/models-endpoints), [Reference video, editing and lip sync guide →](https://docs.flymy.ai/guides/generate-videos), [Every model on FlyMy.AI →](https://flymy.ai/mcp/models/), [Every MCP in the catalog →](https://flymy.ai/mcp/#catalog), [Usage pricing →](https://flymy.ai/pricing/)

From the FlyMy.AI model catalog of 2026-11-09: inputs from the model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.

---

For agents: the FlyMyAI operating guide (sign up, connect, run models, tools and agents) is https://flymy.ai/skill.md, and https://flymy.ai/llms.txt lists the other pages and the documentation.
