> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# LumaRay32ExtendVideoNode - ComfyUI Built-in Node Documentation

> Luma Ray 3.2 Extend Video continues a previous Luma Ray 3.2 video generation by creating a new 5-second segment either after the original clip (forward) or before it (backward).

Luma Ray 3.2 Extend Video continues a previous Luma Ray 3.2 video generation by creating a new 5-second segment either after the original clip (forward) or before it (backward). Connect the `generation_id` output from an earlier Luma Ray 3.2 node to use that clip as the starting frame (forward) or ending frame (backward) of the extension.

## Inputs

| Parameter              | Description                                                                                                                                                        | Data Type | Required | Range                                                       |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------- | -------- | ----------------------------------------------------------- |
| `source_generation_id` | Generation ID of the prior Ray 3.2 video to extend. Connect the `generation_id` output of another Luma Ray 3.2 node. This value is required and must not be empty. | STRING    | Yes      | –                                                           |
| `direction`            | Forward continues after the prior clip; backward is prepended before it. Selecting "Forward (continue after)" also adds the `loop` option.                         | COMBO     | Yes      | "Forward (continue after)"<br />"Backward (lead-in before)" |
| `loop`                 | Loop the extended video seamlessly (forward extend only). Only available when `direction` is "Forward (continue after)". Default: False.                           | BOOLEAN   | No       | True<br />False                                             |
| `prompt`               | Text prompt for the new content. Must be between 1 and 6000 characters.                                                                                            | STRING    | Yes      | –                                                           |
| `resolution`           | Output resolution for the extended video segment. Default: "720p".                                                                                                 | COMBO     | Yes      | "540p"<br />"720p"<br />"1080p"                             |
| `seed`                 | Random seed for reproducible generation results.                                                                                                                   | INT       | Yes      | –                                                           |

**Note:** The `loop` parameter is only available when `direction` is set to "Forward (continue after)". When using "Backward (lead-in before)", the `loop` option is not available. The `prompt` must be between 1 and 6000 characters. The `source_generation_id` is required and must be connected from a prior Luma Ray 3.2 node's `generation_id` output.

## Outputs

| Output Name     | Description                                                                                                                     | Data Type |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------- | --------- |
| `VIDEO`         | The generated 5-second extended video segment.                                                                                  | VIDEO     |
| `generation_id` | Unique identifier for this generation, which can be connected to another Luma Ray 3.2 Extend Video node for further extensions. | STRING    |

> 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/LumaRay32ExtendVideoNode/en.md)

***

**Source fingerprint (SHA-256):** `a67ca53d4bcb9f3fd82bc0482b579f5f7fe4bf866f8d83cb922e1082ad320057`
