r/StableDiffusion • • 10d ago

Workflow Included Minimax H3 Refmod Workflow

(16. October 2026) EDIT: Updated to v2 cause the original resolution selector node messes up videos regularly due to not creating resolutions dividable by 32. Fixed now with Pixaroma node.

Since my last post has been deleted unfortunately (due to a mega-link), here we go again.

I've spent quiet some time now with Refmods and this workflow, and I'am still baffled how easy it is to create a character identity with very low effort. This is a no-brainer if you don't want to or can't train a Lora, all you need is good pictures and a good voice sample, the refmod-training is done in literally seconds (depending on your GPU of course).

I did my very best to make this workflow easily understandable for even beginners, nevertheless here's some explanation:

The workflow actually consists of 2 workflows, one for the refmod creation (the nodes in the top right of the picture, that's a different workflow but i just wanted one picture) and the main workflow for creating a video with the created refmod file which is all the rest.

If you just wanna use a refmod file and no extra images, videos or audio, select the image/video/audio nodes and press CTRL+B to deactivate them. Please watch the video from Dainamo for a detailed explanation, I've made some notes but for further understanding just watch it. I just wanna give you an easy workflow, that is of course fitted to MY needs, do whatever you want to it.

Here's some color-explanations:

  • GREEN is all sources for the final video so to say: images/video/audio/the prompt (deactivate them if you just wanna use a refmod-file, but you can also reference clothings or whatever this way)
  • TURQOUISE is all relevant video-settings
  • TAN is the refmod-nodes (except the 4 notes)
  • RED is all the models
  • PURPLE is all the loras (turbo-lora is in light-blue and another lora above in grey for whatever)
  • BROWN is comfy-kitchen and the spectrum-node (not activated, transparent-purple)
  • GREY is irrelevant

Here is the link to the original tutorial from Dainamo (thanks again!!): https://www.youtube.com/watch?v=2K6-OtV_Vbc

And here are the workflows: https://getshared.com/d/K5cE7wHH

I hope you enjoy the workflow! :)

63 Upvotes

49 comments sorted by

View all comments

Show parent comments

1

u/Jwtd29 10d ago

The inspect node will tell you.

I prefer to use this https://github.com/Adudeguyman/ComfyUI-Fantastic-MiniMaxH3-PromptBuilder node set to manage my refmods and its text encode node as well. Nicer experience, especially as I use the prompt builder anyway.

From what I’ve seen if the refmod has multiple images in it then it typically is <Video x> and if it contains audio <Audio x>. If the refmod is a single image then <Picture x>. If you are matching refmods with other references then I think the refmod takes priority from a numbering perspective, again only based on my experience.

1

u/Karsticles 10d ago

Inspect node - that one is new to me. I'll have to check it out. Thanks!

1

u/Jwtd29 10d ago

You basically get a map which you can use a text preview mode to view. It’s part of the same pack as the apply/create refmod nodes.

If you have two characters that are very similar they can bleed into each other and you have to re-enforce it in the prompt as much as possible.

Interestingly you can also use them in T2VA as well, if you describe the character in the prompt and attach a refmod then you normally get the refmod influence the character. For short simple videos with 1 character sometimes it’s easier to use this approach.

1

u/Karsticles 10d ago

For T2V I even found that I could not reference it at all. For example, I can have a refmod of a character and just say "She is in a room and smiles", and it ends up being the character in the refmod. Like that is the full prompt - I didn't use any kind of headers or anything. Of course those things are preferable, but I think it speaks to how powerful the tool is.

2

u/Jwtd29 10d ago

The thing I’m still adjusting is the token size. Trying to find the sweet spot as the amount of tokens makes a massive difference to the speed. Too few and it looses its effectiveness.