# Wan 2.7 Video Continuation

The Wan 2.7 Video Continuation node generates a new video segment that continues seamlessly from the end of an input video clip. It uses the Wan 2.7 model to synthesize the continuation based on a text prompt and can optionally guide the ending towards a specific target frame.

## Inputs

| Parameter | Description | Data Type | Required | Range |
|-----------|-------------|-----------|----------|-------|
| `model` | The video generation model to use. | COMBO | Yes | `"wan2.7-i2v"` |
| `model.prompt` | Prompt describing the elements and visual features. Supports English and Chinese. (default: empty string) | STRING | Yes | - |
| `model.negative_prompt` | Negative prompt describing what to avoid. (default: empty string) | STRING | Yes | - |
| `model.resolution` | The resolution for the output video. | COMBO | Yes | `"720P"`<br>`"1080P"` |
| `model.duration` | Total output duration in seconds. The model generates continuation to fill the remaining time after the input clip. (default: 5) | INT | Yes | 2 to 15 |
| `first_clip` | Input video to continue from. Duration: 2s-10s. The output aspect ratio is derived from this video. | VIDEO | Yes | - |
| `last_frame` | Last frame image. The continuation will transition towards this frame. | IMAGE | No | - |
| `seed` | Seed to use for generation. (default: 0) | INT | Yes | 0 to 2147483647 |
| `prompt_extend` | Whether to enhance the prompt with AI assistance. (default: True) | BOOLEAN | Yes | - |
| `watermark` | Whether to add an AI-generated watermark to the result. (default: False) | BOOLEAN | Yes | - |

**Note:** The `first_clip` input video must be between 2 and 10 seconds in duration.

## Outputs

| Output Name | Description | Data Type |
|-------------|-------------|-----------|
| `output` | The generated video continuation. | VIDEO |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/Wan2VideoContinuationApi/en.md)

---
**Source fingerprint (SHA-256):** `591e551676969bc1fedb5f820f6866512c132bb98ee8ef1766d1e0b389e2dc11`
