> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-mintlify-b90d3c69.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Wan2VideoContinuationApi - ComfyUI Built-in Node Documentation

> Complete documentation for the Wan2VideoContinuationApi node in ComfyUI. Learn its inputs, outputs, parameters and usage.

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):** `44f71824f1289351fe44ff0f830ee391d2387146444f50ba50309ecba2e54456`
