Nodes/ComfyUI-BrainDead/BD TRELLIS.2 Multi-Image Conditioning
ComfyUI Node

BD TRELLIS.2 Multi-Image Conditioning

Multi-image conditioning for TRELLIS.2 multi-view generation. Takes a BATCH of images + masks and encodes each with DinoV3, then concatenates the feature tokens for multi-view conditioning. This enables the model to see multiple views of an object and generate more accurate 3D shapes. Usage: 1. Batch multiple reference images (different angles) using a Batch node 2. Batch their corresponding masks 3. Connect output to BD Image to Shape or BD Shape to Textured Mesh The model attends to all image features simultaneously, similar to TRELLIS1's multi-image mode. Resolution modes: - 512: Fast, lower detail - good for shape - 1024_cascade: Balanced - 1536_cascade: Highest detail - best for texture

By BizaNator·Created 7 months ago·Updated 16 days ago· 14
BD TRELLIS.2 Multi-Image Conditioning
  • images
  • masks
  • conditioning
  • preprocessed_images
resolution1024_cascade
attn_backendflash_attn
vram_modekeep_loaded
include_1024true
background_colorgray
Category🧠BrainDead/TRELLIS2

Inputs (7)

NameTypeDefaultDescription
imagesIMAGEBatched images (B > 1) - use a Batch node to combine multiple views
masksMASKBatched masks corresponding to each image
resolutionCOMBO1024_cascadeModel resolution mode
attn_backendCOMBOflash_attnAttention implementation
vram_modeCOMBOkeep_loadedVRAM usage strategy
include_1024BOOLEANtrueExtract 1024px features (needed for cascade modes)
background_colorCOMBOgrayBackground color for preprocessing

Outputs (2)

NameTypeDescription
conditioningTRELLIS2_CONDITIONING
preprocessed_imagesIMAGE