ComfyUI Node
Latent Format Converter
A ComfyUI node in network_bending with 7 inputs and 1 output.
Latent Format Converter
- samples
- samples
◄conversion_modeauto_detect►
◄target_height64►
◄target_width64►
◄reshape_methodreshape►
◄target_channels-1►
◄channel_modeproject►
Categorynetwork_bending
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| samples | LATENT | Latent samples to convert | |
| conversion_mode | COMBO | auto_detect | Conversion direction |
| target_height | INT | 648–512 | Target height when converting to image format |
| target_width | INT | 648–512 | Target width when converting to image format |
| reshape_method | COMBO | reshape | Method for reshaping tensors |
| target_channels | INT | -1-1–256 | Target number of channels (-1 to keep original, 4 for SD, 64 for StableAudio) |
| channel_mode | COMBO | project | Method for converting channels |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| samples | LATENT | Converted latent samples |