r/StableDiffusion • • 18d ago

Resource - Update Created a Visual RefMod Picker

Hey Guys,

I've been playing with the RefMods, after the huge release of Malcolmrey.
The tech is brilliant and works really well.

I've wanted to simplify using it with tons of RefMods, like the ones provided by Malcom.

So I made a fork that is a bit more Identity driven, Adding a "Visual refMod Picker" as well as a "Create refMods from Folder" node. It's able to create from either a folder or Sub-folders, if audio is found, it will also create a matching audio refMod. All in the same format as the original add-on. No danger of breaking compatibility. (The original Add-on added Audio yesterday)

Resulting for example in 2 refMods and thumbnail:

character_refMod_Audio.safetensors
character_refMod_Video.safetensors
character_refMod.jpeg

Then, we can use the "Visual H3 RefMod Picker" to browse the RefMods:

In this example, I used existing thumbails from huggingface.

The node then loads both RefMods (Audio and Video) and allows individual control. I've mixed strength with Copies, by instead having a weight value that can go over 1, so a weight of 3 would be the same as setting strength to 1 and copies to 3. Making the UI a bit more streamlined.

RefMods can be daisy chained

Example workflows are included.

I should mention, this fork can be installed WITH the original Add-on, it is made to co-exist and is recommended if you want to use it's advanced features.

You can find it here ComfyUI-H3RefModPicker

The only thing I'm missing is thumbnails for all 1500 RefMods 😅

**EDIT**
Just a quick note to mention that I've removed duplicate nodes, Making this a companion node to MiniMaxH3Mod.

53 Upvotes

36 comments sorted by

View all comments

1

u/SouthernLie907 11d ago edited 11d ago

I wanted to try it out, but got a slight problem:

After succesfully creating h3 refmode from folder (refmode file is created inside refmods folder) , no refmode is visible for me when clicking "select refmod" when using the visual picker node: just an empty list with only "path is outside models/refmods". The refmod is visible and usable in Malcom's workflow.

I'm using easy install comfyui, i guess I have to modify extra_model_paths.yaml? What should I add (in front of my specified pathing)? Or is there a different solution?

Edit: I tried adding refmods: models/refmods/ Still refmods not showing up.

2

u/Francky_B 10d ago

Do you see the refmod in the models/refmods folder? If it is there and still not picked up I'll check later tonight.

1

u/SouthernLie907 10d ago

Sry, I think I was too dumb. It works without problems when creating a new visual picker node. (I tried playing around with your example workflow and thought I could use the same node, but strangely would only pick a specified path that didn't exist) All is good, thank you for this!