Nodes/AAA Metadata System/LoRA Tester v03
ComfyUI Node

LoRA Tester v03

A ComfyUI node in loaders/lora tester with 20 inputs and 14 outputs.

By EricRollei·Created 9 months ago·Updated 8 months ago· 12
LoRA Tester v03
  • model
  • clip
  • model
  • clip
  • lora_name
  • lora_path
  • trigger_words_all
  • trigger_words_selected
  • combined_prompt
  • lora_list
  • total_loras
  • selected_loras
  • associated_images
  • model_strength_used
  • clip_strength_used
  • gallery_images
dir_search_terms
file_search_terms
additional_path
architectureAny
categoryAny
trigger_search
seed0
modedirect_load
model_strength0.80
clip_strength1.00
use_database_defaultstrue
query_civitaifalse
force_civitai_fetchfalse
prompt_placementauto
max_gallery_images50
gallery_image_size512
input_prompt
primary_trigger_override
Categoryloaders/lora tester

Inputs (20)

NameTypeDefaultDescription
dir_search_termsSTRINGComma-separated terms to search in directory paths. Use -term to exclude.
file_search_termsSTRINGComma-separated terms to search in LoRA filenames. Use -term to exclude (e.g., -pony,-inpaint).
additional_pathSTRINGAdditional directory to search for LoRAs
architectureCOMBOAnyFilter by model architecture
categoryCOMBOAnyFilter by LoRA category
trigger_searchSTRINGSearch terms to match in trigger words. Use -term to exclude.
seedINT00–18446744073709550000LoRA number to load (0 = random, 1 = first in list)
modeCOMBOdirect_loaddirect_load: Apply LoRA to model/CLIP, info_only: Just output LoRA info
model_strengthFLOAT0.80-5–5Strength multiplier for model (used if direct_load mode)
clip_strengthFLOAT1.00-5–5Strength multiplier for CLIP (used if direct_load mode)
use_database_defaultsBOOLEANtrueUse LoRA-specific defaults from database if available
query_civitaiBOOLEANfalseAutomatically query Civitai for trigger words when LoRA has none
force_civitai_fetchBOOLEANfalseForce fetch from Civitai even if tags already exist
prompt_placementCOMBOautoWhere to place trigger words: auto (use database setting), beginning, end, or none (no insertion)
max_gallery_imagesINT501–200Maximum number of images to include in gallery
gallery_image_sizeINT512128–1024Target size for gallery images (they will be resized to this)
modeloptMODELInput model (required for direct_load mode)
clipoptCLIPInput CLIP (required for direct_load mode)
input_promptoptSTRINGInput prompt text to combine with trigger words
primary_trigger_overrideoptSTRINGOverride the primary trigger word selection

Outputs (14)

NameTypeDescription
modelMODEL
clipCLIP
lora_nameSTRING
lora_pathSTRING
trigger_words_allSTRING
trigger_words_selectedSTRING
combined_promptSTRING
lora_listSTRING
total_lorasINT
selected_lorasINT
associated_imagesIMAGE
model_strength_usedFLOAT
clip_strength_usedFLOAT
gallery_imagesIMAGE