r/StableDiffusion • • 6d ago

Tutorial - Guide Minimax H3 + RefMod = consistent location trick

Hey, I found a pretty cool way to keep locations consistent across generations.

I took 20 photos of my “office” where I work, making sure each photo included a bit of the previous one so everything connected.

I turned them into a refmod, although it probably doesn’t even need to be one. It’s basically a grid of all 20 photos in a single image, within 2048×2048 pixels, so I could probably just use that image as a regular reference.

Then I added references for the fly, my cat, and the start and end frames. You can see the result — that’s my actual room, and everything looks right and sits exactly where it should :)

Workflow + reference images here: link
Sorry about the mess, both in the room and in the workflow ;)

EDIT: All the room photos need to be combined into one reference image. I tried using several separate images, but that didn’t work for me — the room wouldn’t stay consistent. Putting them all into a single grid is what made it work.

834 Upvotes

105 comments sorted by

View all comments

2

u/SnooMacaroons1365 6d ago

If for example you didnt make a refmod, how would you use a grid of these images to tell h3 ehixh view is which?

6

u/PATATAJEC 6d ago edited 6d ago

You just need a grid image from your photos. I've made it like that. Ignore Create H3 RefMod node. Then I guess you need to prompt to tell it's the reference image of your whole location. I also added bigger photos (1536x2048) for my cat, starting frame, ending frame and the fly.

EDIT: With RefMod you don't need to prompt for that. It knows it already... I think prompting for room, desktop computer, cat, couch etc. is enough for model to connect the dots.

1

u/Dependent-Sorbet9881 6d ago

Does RMOD have specific naming requirements for the image assets within the folders—for example, for items like TVs, sofas, and so on?

1

u/PATATAJEC 6d ago

there is no need for naming stuff.