Nodes/Network Bending for ComfyUI/Latent Format Converter
ComfyUI Node

Latent Format Converter

A ComfyUI node in network_bending with 7 inputs and 1 output.

By DavidPiazza·Created about a year ago·Updated 8 months ago· 0
Latent Format Converter
  • samples
  • samples
conversion_modeauto_detect
target_height64
target_width64
reshape_methodreshape
target_channels-1
channel_modeproject
Categorynetwork_bending

Inputs (7)

NameTypeDefaultDescription
samplesLATENTLatent samples to convert
conversion_modeCOMBOauto_detectConversion direction
target_heightINT648–512Target height when converting to image format
target_widthINT648–512Target width when converting to image format
reshape_methodCOMBOreshapeMethod for reshaping tensors
target_channelsINT-1-1–256Target number of channels (-1 to keep original, 4 for SD, 64 for StableAudio)
channel_modeCOMBOprojectMethod for converting channels

Outputs (1)

NameTypeDescription
samplesLATENTConverted latent samples