Nodes/Realtime LoRA Trainer/MOSS-Image Analyzer + Selective Loader V2
ComfyUI Node

MOSS-Image Analyzer + Selective Loader V2

Analyze and edit LoRA weights for MOSS-Image's 42 main layers. Use other_weights for text-refiner, embedding, modulation, and output weights. Supports positional/named profiles and strength scheduling. Saving bakes in layer weights only. Apply the saved LoRA at the same overall strength.

By shootthesound·Created 12 months ago·Updated 7 days ago· 577
MOSS-Image Analyzer + Selective Loader V2
  • model
  • positive
  • negative
  • model
  • positive
  • negative
  • analysis
  • analysis_json
  • weights_output
◄lora_name▾►
◄strength1.00►
◄presetDefault►
◄layer_0true►
◄layer_0_str1.00►
◄layer_1true►
◄layer_1_str1.00►
◄layer_2true►
◄layer_2_str1.00►
◄layer_3true►
◄layer_3_str1.00►
◄layer_4true►
◄layer_4_str1.00►
◄layer_5true►
◄layer_5_str1.00►
◄layer_6true►
◄layer_6_str1.00►
◄layer_7true►
◄layer_7_str1.00►
◄layer_8true►
◄layer_8_str1.00►
◄layer_9true►
◄layer_9_str1.00►
◄layer_10true►
◄layer_10_str1.00►
◄layer_11true►
◄layer_11_str1.00►
◄layer_12true►
◄layer_12_str1.00►
◄layer_13true►
◄layer_13_str1.00►
◄layer_14true►
◄layer_14_str1.00►
◄layer_15true►
◄layer_15_str1.00►
◄layer_16true►
◄layer_16_str1.00►
◄layer_17true►
◄layer_17_str1.00►
◄layer_18true►
◄layer_18_str1.00►
◄layer_19true►
◄layer_19_str1.00►
◄layer_20true►
◄layer_20_str1.00►
◄layer_21true►
◄layer_21_str1.00►
◄layer_22true►
◄layer_22_str1.00►
◄layer_23true►
◄layer_23_str1.00►
◄layer_24true►
◄layer_24_str1.00►
◄layer_25true►
◄layer_25_str1.00►
◄layer_26true►
◄layer_26_str1.00►
◄layer_27true►
◄layer_27_str1.00►
◄layer_28true►
◄layer_28_str1.00►
◄layer_29true►
◄layer_29_str1.00►
◄layer_30true►
◄layer_30_str1.00►
◄layer_31true►
◄layer_31_str1.00►
◄layer_32true►
◄layer_32_str1.00►
◄layer_33true►
◄layer_33_str1.00►
◄layer_34true►
◄layer_34_str1.00►
◄layer_35true►
◄layer_35_str1.00►
◄layer_36true►
◄layer_36_str1.00►
◄layer_37true►
◄layer_37_str1.00►
◄layer_38true►
◄layer_38_str1.00►
◄layer_39true►
◄layer_39_str1.00►
◄layer_40true►
◄layer_40_str1.00►
◄layer_41true►
◄layer_41_str1.00►
◄other_weightstrue►
◄other_weights_str1.00►
◄lora_path_opt—►
◄schedule_presetCustom►
◄strength_schedule►
◄save_refined_lorafalse►
◄save_path►
◄save_filename►
◄block_weights_string►
Categoryloaders/lora

Inputs (99)

NameTypeDefaultDescription
modelMODEL—
positiveCONDITIONINGPositive conditioning from CLIP encode
negativeCONDITIONINGNegative conditioning from CLIP encode
lora_nameCOMBOLoRA file to load and analyze
strengthFLOAT1.00-10–10Overall LoRA strength (ignored when using schedule)
presetCOMBODefaultQuick preset selection. Individual toggles below override when changed.
layer_0BOOLEANtrue—
layer_0_strFLOAT1.00-5–5—
layer_1BOOLEANtrue—
layer_1_strFLOAT1.00-5–5—
layer_2BOOLEANtrue—
layer_2_strFLOAT1.00-5–5—
layer_3BOOLEANtrue—
layer_3_strFLOAT1.00-5–5—
layer_4BOOLEANtrue—
layer_4_strFLOAT1.00-5–5—
layer_5BOOLEANtrue—
layer_5_strFLOAT1.00-5–5—
layer_6BOOLEANtrue—
layer_6_strFLOAT1.00-5–5—
layer_7BOOLEANtrue—
layer_7_strFLOAT1.00-5–5—
layer_8BOOLEANtrue—
layer_8_strFLOAT1.00-5–5—
layer_9BOOLEANtrue—
layer_9_strFLOAT1.00-5–5—
layer_10BOOLEANtrue—
layer_10_strFLOAT1.00-5–5—
layer_11BOOLEANtrue—
layer_11_strFLOAT1.00-5–5—
layer_12BOOLEANtrue—
layer_12_strFLOAT1.00-5–5—
layer_13BOOLEANtrue—
layer_13_strFLOAT1.00-5–5—
layer_14BOOLEANtrue—
layer_14_strFLOAT1.00-5–5—
layer_15BOOLEANtrue—
layer_15_strFLOAT1.00-5–5—
layer_16BOOLEANtrue—
layer_16_strFLOAT1.00-5–5—
layer_17BOOLEANtrue—
layer_17_strFLOAT1.00-5–5—
layer_18BOOLEANtrue—
layer_18_strFLOAT1.00-5–5—
layer_19BOOLEANtrue—
layer_19_strFLOAT1.00-5–5—
layer_20BOOLEANtrue—
layer_20_strFLOAT1.00-5–5—
layer_21BOOLEANtrue—
layer_21_strFLOAT1.00-5–5—
layer_22BOOLEANtrue—
layer_22_strFLOAT1.00-5–5—
layer_23BOOLEANtrue—
layer_23_strFLOAT1.00-5–5—
layer_24BOOLEANtrue—
layer_24_strFLOAT1.00-5–5—
layer_25BOOLEANtrue—
layer_25_strFLOAT1.00-5–5—
layer_26BOOLEANtrue—
layer_26_strFLOAT1.00-5–5—
layer_27BOOLEANtrue—
layer_27_strFLOAT1.00-5–5—
layer_28BOOLEANtrue—
layer_28_strFLOAT1.00-5–5—
layer_29BOOLEANtrue—
layer_29_strFLOAT1.00-5–5—
layer_30BOOLEANtrue—
layer_30_strFLOAT1.00-5–5—
layer_31BOOLEANtrue—
layer_31_strFLOAT1.00-5–5—
layer_32BOOLEANtrue—
layer_32_strFLOAT1.00-5–5—
layer_33BOOLEANtrue—
layer_33_strFLOAT1.00-5–5—
layer_34BOOLEANtrue—
layer_34_strFLOAT1.00-5–5—
layer_35BOOLEANtrue—
layer_35_strFLOAT1.00-5–5—
layer_36BOOLEANtrue—
layer_36_strFLOAT1.00-5–5—
layer_37BOOLEANtrue—
layer_37_strFLOAT1.00-5–5—
layer_38BOOLEANtrue—
layer_38_strFLOAT1.00-5–5—
layer_39BOOLEANtrue—
layer_39_strFLOAT1.00-5–5—
layer_40BOOLEANtrue—
layer_40_strFLOAT1.00-5–5—
layer_41BOOLEANtrue—
layer_41_strFLOAT1.00-5–5—
other_weightsBOOLEANtrue—
other_weights_strFLOAT1.00-5–5—
lora_path_optoptSTRINGOptional: Override LoRA selection with a path
schedule_presetoptCOMBOCustomSelect a preset schedule (populates the text field below for editing)
strength_scheduleoptSTRINGStrength schedule: 0:.2,.5:.8,1:1.0 (step:strength pairs). Edit freely after selecting preset.
save_refined_loraoptBOOLEANfalseEnable to save the refined LoRA to disk
save_pathoptSTRINGDirectory to save refined LoRA
save_filenameoptSTRINGFilename for saved LoRA (timestamp auto-appended). Leave empty for auto-name.
block_weights_stringoptSTRINGInput/Output block profile string. Positional text syncs with the UI. String input overrides UI values.

Outputs (6)

NameTypeDescription
modelMODELModel with LoRA applied (filtered by enabled blocks).
positiveCONDITIONINGPositive conditioning (with hooks if using schedule).
negativeCONDITIONINGNegative conditioning (with hooks if using schedule).
analysisSTRINGPer-block analysis showing impact scores.
analysis_jsonSTRINGJSON analysis data for UI coloring.
weights_outputSTRINGBlock profile string output for chaining or reuse.