> ## 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

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

This node extends a previous Luma Ray 3.2 video generation by adding new content either after it (forward extension) or before it (backward extension). Connect the generation ID output from a prior Luma Ray 3.2 node to create a seamless 5-second extension of your video.

## 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.                                        | STRING    | Yes      | -                                                           |
| `direction`            | Forward continues after the prior clip; backward is prepended before it. When "Forward (continue after)" is selected, you can optionally enable loop mode. | COMBO     | Yes      | "Forward (continue after)"<br />"Backward (lead-in before)" |
| `loop`                 | Loop the extended video seamlessly (forward extend only).                                                                                                  | BOOLEAN   | No       | True<br />False                                             |
| `prompt`               | Text prompt for the new content.                                                                                                                           | STRING    | Yes      | -                                                           |
| `resolution`           | Output resolution for the extended video segment.                                                                                                          | 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`
