Nodes/ComfyUI_LC_ModelBuilder_nodes/LC Anima Block Merge Advanced
ComfyUI Node

LC Anima Block Merge Advanced

Anima merge with a draggable per-block ratio curve across the 28 blocks, plus sliders for the named parts outside them (x embedder, timestep embedder and norm, LLM adapter, final layer). Reuses ComfyUI's own ModelMergeBlocks. Save writes web/anima_block_presets/<name>.json.

By lonecatone23·Created 19 days ago·Updated about 17 hours ago· 3
LC Anima Block Merge Advanced
  • model1
  • model2
  • model
◄preset50_50►
◄edit_modesmooth►
◄smooth_radius2►
◄blocks_curve0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5►
◄x_embedder0.50►
◄t_embedder0.50►
◄t_embedding_norm0.50►
◄llm_adapter0.50►
◄final_layer0.50►
◄save_name►
◄save_curvefalse►
CategoryLC ModelBuilder/Anima

Inputs (13)

NameTypeDefaultDescription
model1MODELRatio 0 side. Blocks/regions at 0.0 come entirely from this checkpoint.
model2MODELRatio 1 side. Blocks/regions at 1.0 come entirely from this checkpoint.
presetCOMBO50_50Bundled: 50_50, model2_early (blocks 0-6 from model2), model2_look (blocks 7-20, where an Anima finetune's look sits), model2_late (21-27), plus anything you save. Loading one sets the curve and the named sliders. Custom keeps what you dragged.
edit_modeCOMBOsmoothsmooth = drag one block and blend neighbors. spike = move one block only.
smooth_radiusINT20–8Neighbor window (in blocks) for smooth mode (0 = spike-like).
blocks_curveSTRING0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5Comma list of 28 ratios (blocks.0. - blocks.27.). 0 = all model1, 1 = all model2. Source of truth when preset is Custom.
x_embedderFLOAT0.500–1x_embedder. — turns the image latent into tokens, before block 0.
t_embedderFLOAT0.500–1t_embedder. — timestep embedding.
t_embedding_normFLOAT0.500–1t_embedding_norm. — norm on the timestep embedding.
llm_adapterFLOAT0.500–1llm_adapter. — maps the Qwen text encoder's output into the model (how the prompt is read).
final_layerFLOAT0.500–1final_layer. — output layer, after block 27.
save_nameSTRINGFilename under web/anima_block_presets/ (no extension).
save_curveBOOLEANfalseOn run, write save_name.json into web/anima_block_presets/.

Outputs (1)

NameTypeDescription
modelMODEL—