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

# LTXVConcatAVLatent - ComfyUI Built-in Node Documentation

> This node merges a video latent and an audio latent into a single joint audio-video (AV) latent, ready for AV models such as LTXV or MiniMax H3.

This node merges a video latent and an audio latent into a single joint audio-video (AV) latent, ready for AV models such as LTXV or MiniMax H3. If the video input is already an AV latent, its video stream is kept and only the audio stream is replaced with the supplied audio latent.

## Inputs

| Parameter      | Description                                                                                                                                                                     | Data Type | Required | Range |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | -------- | ----- |
| `video_latent` | The latent representation of the video data. When it already contains both video and audio streams, the node keeps its video stream and swaps in the audio from `audio_latent`. | LATENT    | Yes      |       |
| `audio_latent` | The latent representation of the audio data. Its length is adjusted to fit the video stream: longer audio is trimmed, shorter audio is zero-padded.                             | LATENT    | Yes      |       |

**Note:** The samples from both inputs are combined as a pair of video and audio streams in a nested tensor. If either input contains a `noise_mask`, the output includes a combined one; a missing mask is replaced with an all-ones mask matching the shape of its samples. When shorter audio is padded, the padded region is left unmasked so the model can generate it. The node raises an error if the audio latent cannot be fitted to the video latent, for example when the two latents differ in more than one dimension or when they differ in the batch or channel dimensions.

## Outputs

| Output Name | Description                                                                                                                                        | Data Type |
| ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
| `latent`    | A latent containing the video and audio samples packed together as two streams, plus a combined `noise_mask` when at least one input provides one. | 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/LTXVConcatAVLatent/en.md)

***

**Source fingerprint (SHA-256):** `0231f9db2ce73132d8555fbb33f295b68aa68a0c1c54e4a0c5d2e1f67b5611cb`
