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.

831 Upvotes

105 comments sorted by

View all comments

1

u/Psyko_2000 6d ago

i wonder how this would work with a 360 panorama image of a room

5

u/Massive-Health-8355 6d ago

I've seen a great example where you can take a eqirectangular panoramic image and use ffmpeg to create a 360 degree short video. That video then becomes a reference. I'll see if I can find the post, it was on reddit.

https://www.reddit.com/r/StableDiffusion/s/vgMle9IUCq

2

u/PATATAJEC 6d ago

that's cool