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

# LoadLatent - ComfyUI Built-in Node Documentation

> The LoadLatent node loads previously saved latent representations from .latent files in the input directory.

The LoadLatent node loads previously saved latent representations from .latent files in the input directory. It reads the latent tensor data from the selected file and applies any necessary scaling adjustments before returning the latent data for use in other nodes.

## Inputs

| Parameter | Description                                                                        | Data Type | Required | Range                                                                          |
| --------- | ---------------------------------------------------------------------------------- | --------- | -------- | ------------------------------------------------------------------------------ |
| `latent`  | Selects which .latent file to load from the available files in the input directory | COMBO     | Yes      | All .latent files in the input directory (dynamic list, sorted alphabetically) |

Note: The list of available files is generated dynamically and only includes files ending in .latent that are present in the input directory. If the selected file no longer exists, the node reports it as an invalid latent file.

## Outputs

| Output Name | Description                                                                                                                                                                                                                                                                           | Data Type |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
| `LATENT`    | Returns the loaded latent representation data from the selected file as a float tensor. If the file does not contain the `latent_format_version_0` marker, the tensor is scaled by 1/0.18215 before being returned; files that contain the marker are returned at their stored scale. | LATENT    |

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

***

**Source fingerprint (SHA-256):** `0938214361687a3a98e03878b8cbc0240100cbeacc0b157c4a299e59e7728a13`
