---
title: "Wan 2.7 Video Edit API & Playground - Comfy"
description: "Wan 2.7 Video Edit: Edits an uploaded video from a prompt and an optional reference image into a 2–10 second clip, and can keep the original audio via the API."
canonical: https://comfy.org/hub/models/wan-2-7-video-edit/
lang: en
index: https://comfy.org/llms.txt
---

[Back to all models](https://comfy.org/hub/models/)

Wan

[Edit videos](https://comfy.org/hub/models/?useCase=edit-videos)

# Wan 2.7 Video Edit

Edits an uploaded video from a prompt and an optional reference image into a 2–10 second clip, and can keep the original audio via the API.

Cost depends on your settings.

[Read docs](https://docs.comfy.org/development/comfy-router/models#wan)

Input

Prompt

Source video

-

Reference image

Select or drop an image PNG, JPEG, WEBP ·  up to 25 MiB

Duration

Resolution

Advanced settings

Seed

Reuse a seed with the same inputs to make results more repeatable.

Watermark

Prompt extend

Output

00:00

Example

## Try an example

-

## More from Wan

[Browse all Browse all models](https://comfy.org/hub/models/)

- [Wan

  ### HappyHorse Video Edit](https://comfy.org/hub/models/happyhorse-video-edit/)

  Video to video

  [Try model](https://comfy.org/hub/models/happyhorse-video-edit/) [Use API](https://comfy.org/hub/models/happyhorse-video-edit/#api)
- [Wan

  ### Wan 2.7](https://comfy.org/hub/models/wan-2-7-image-to-video/)

  Image to video

  [Try model](https://comfy.org/hub/models/wan-2-7-image-to-video/) [Use API](https://comfy.org/hub/models/wan-2-7-image-to-video/#api)
- [Wan

  ### Wan 2.7 Reference-to-Video](https://comfy.org/hub/models/wan-2-7-reference-to-video/)

  Image to video

  [Try model](https://comfy.org/hub/models/wan-2-7-reference-to-video/) [Use API](https://comfy.org/hub/models/wan-2-7-reference-to-video/#api)
- [Wan

  ### Wan 2.7](https://comfy.org/hub/models/wan-2-7-text-to-video/)

  Text to video

  [Try model](https://comfy.org/hub/models/wan-2-7-text-to-video/) [Use API](https://comfy.org/hub/models/wan-2-7-text-to-video/#api)
