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

# Trellis2UpsampleStage - ComfyUI Built-in Node Documentation

> This node upscales a 512-resolution shape latent into high-resolution sparse coordinates and prepares the second shape-stage sampling pass at the target resolution.

This node upscales a 512-resolution shape latent into high-resolution sparse coordinates and prepares the second shape-stage sampling pass at the target resolution. It attaches per-stage metadata to the conditioning so the model can consume it during generation.

## Inputs

| Parameter | Description | Data Type | Required | Range |
| - | - | - | - | - |
| `positive` | The positive conditioning to which the upsampling-stage shape metadata is attached. | CONDITIONING | Yes | |
| `negative` | The negative conditioning to which the upsampling-stage shape metadata is attached. | CONDITIONING | Yes | |
| `shape_latent` | The 512-resolution shape latent output from the first shape-stage KSampler. | LATENT | Yes | |
| `vae` | The Trellis2 VAE used to decode the shape latent into high-resolution sparse coordinates. | VAE | Yes | |
| `target_resolution` | Voxel resolution of the upsampled shape. Higher = more detail, more VRAM. Default: 1024. | INT | Yes | 1024 - 2048 (step 128) |

## Outputs

| Output Name | Description | Data Type |
| - | - | - |
| `positive` | Positive conditioning with the upsampling-stage shape metadata attached. | CONDITIONING |
| `negative` | Negative conditioning with the upsampling-stage shape metadata attached. | CONDITIONING |
| `latent` | Zero-filled latent prepared for the second shape-stage sampling pass at the target resolution, carrying the upsampled coordinates, per-sample coordinate counts, and coordinate resolution metadata. | 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/Trellis2UpsampleStage/en.md)

***

**Source fingerprint (SHA-256):** `0582579bfab487718d69789de508a5ec243d98a0e06ad7165c406154a64677d6`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.