Nodes/Hellrunner's Magical Nodes/Magical Encoder (HMN)
ComfyUI Node

Magical Encoder (HMN)

Encodes and buffers a conditioning on the hard drive. Uses that buffer if enabled.

By Hellrunner2k·Created 2 years ago·Updated about a year ago· 2
Magical Encoder (HMN)
  • clip
  • LoRABox
  • model
  • CONDITIONING
  • CLIP or not
  • MODEL or not
Activetrue
Output_Path[time(%Y-%m-%d)]
NameBuffer
Overridefalse
text
Encoder_1
use_Encoder_2false
Encoder_2
use_Encoder_3false
Encoder_3
use_Encoder_4false
Encoder_4
clip_skip-2
model_type
load_device
CategoryHellrunner's/Utils

Inputs (18)

NameTypeDefaultDescription
ActiveBOOLEANtrueBoolean On/Off Switch for better integration in complex flows
Output_PathSTRING[time(%Y-%m-%d)]Subfolder Path into "output"
NameSTRINGBufferBuffer File Name (Name.conditioning)
OverrideBOOLEANfalseForce override the buffer
textSTRINGThe text to be encoded.
Encoder_1COMBOThe Encoder_1 used for encoding the text.
use_Encoder_2BOOLEANfalseEnable second encoder
Encoder_2COMBOThe Encoder_2 used for encoding the text.
use_Encoder_3BOOLEANfalseEnable 3rd encoder
Encoder_3COMBOThe Encoder_3 used for encoding the text.
use_Encoder_4BOOLEANfalseEnable 4th encoder
Encoder_4COMBOThe Encoder_4 used for encoding the text.
clip_skipINT-2-128–-1Last Layer
model_typeCOMBOModel Type to load encoders for.
load_deviceCOMBO2 options: default, cpu
clipoptCLIPThe CLIP model used for encoding the text.
LoRABoxoptLORABOXLoRABox
modeloptMODELThe model to apply the LoRABox to

Outputs (3)

NameTypeDescription
CONDITIONINGCONDITIONINGConditioning
CLIP or notCLIPUsed Clip, if encode happens. Used for chaining encoders so loading does not happen multiple times
MODEL or notMODELUsed Model, if LoRABox is not empty