r/StableDiffusion • u/Ok_Gas1070 • 17h ago
Question - Help Minimax H3 Reference not Referencing
Hey everyone seasons greetings,
Not sure if I'm not prompting properly, or I'm just not connecting nodes properly but I can't really get Minimax H3 to use a "second reference" in my output. It has no problem referencing the first image that originates in the workflow by default. But I'm finding if I try to do character swaps in reference videos it misses it completely. Same thing if I try to add a second image, example: "place the hat in <image_01> on man's head of <image_00>". Sometimes it generates the thing mentioned but not in the way that it is referenced in the prompt. Sometimes it generates a completely different object and scene entirely.
Have you all ran into these issues as well, and how did you resolve them?
4
u/chorjin 17h ago
Just follow the prompt guide and define the subjects properly. It's not <image_00>, that's the wrong format. The model has some intuitive understanding of what you're aiming for and can compensate for some mistakes, but when you mangle the subject definitions like that there's nothing it can do because you're essentially referring it to an incomprehensible definition.
4
u/MastMaithun 17h ago
Most probably the prompting issue and specially with the "retention_analysis" block. There are multiple prompt writers floating online and you can use it. But if you want something without fluff, use the prompt writer ai agent skill provided by minimax team themselves. You can integrate with any ai model of your choice, online or offline which will take care of prompts.
https://github.com/MiniMax-AI/MiniMax-H3/tree/main/.agents/skills/h3-prompt-writing
4
u/Coach_Bate 17h ago
i have a fast good (NSFW) prompt enhancer that uses ollama and gemma 4. it will fix your <image_01> mistakes and use <Picture 1> and <Subject 1> for you. Check out my civitai page models section. username: coachbate
1
u/purelawan 15h ago
For character swaps on a reference video, two things fixed it for me. First, clean the video before feeding it in: blur any burned-in subtitles or watermarks, because H3 copies them and will happily write the caption text into your output. Second, give the new face twice, one full-body picture and one tight close-up, and say in the subject definition that <Subject 1> has the face of <Picture 1> and <Picture 3> and the body of <Picture 2>. Then say plainly what comes from the video (motion, framing, timing) and what doesn't (the original person, the room). Without that last sentence it tends to keep the original actor.
1
u/Cequejedisestvrai 14h ago
try:
place the hat from the reference <image_01> on man's head from the reference <image_00>or even better:
place the hat from the reference <image_01> on <Subject 1>'s headOr course you need prior to that specify the <Subject 1>.
1
u/bstr3k 13h ago
What I find more reliable is to generate a character sheet of what you want first, I.e if the person (picture 1) is wearing a hat from picture 2 then generate this as a character sheet first then it will be easy to include the hat
It’s easy and a bit more reliable than trusting the prompt for me
1
u/thevegit0 12h ago
it's starts from 1
1
u/Etsu_Riot 11h ago
I used two visual references. One is this hat.
Full prompt: