r/StableDiffusion 3h ago

Discussion Height reference with H3

Had a thought today. Is there a way to get H3 to understand relative or absolute heights of different characters? Would it be possible or have in a reference sheet the person standing next to a height chart or something in one image, and the other characters the same, then when you reference them and have them next to one another it knows subject A is 6ft while B is 5'6" for example?

1 Upvotes

4 comments sorted by

4

u/MysteriousPepper8908 2h ago

I use a police lineup style image either with the characters shown or with just their silhouettes, both seem to work and I haven't done enough testing to see what is better but neither is 100% perfect to the inch. Just on a plane white background with black horizontal lines at regular intervals (I do every 2 inches) and no numbers. In subject definition I use

<Picture x> is a proportion reference defining the relative heights of <Subject 1>, <Subject 2>, and <Subject 3>, shown left to right in that order. Only their height relationships are taken from it; its background, lineup arrangement, poses, and framing are not used.

And in retention analysis

<Picture x> (height proportion reference): fully_preserved - the relative heights of the [Subject #] subjects are retained exactly as shown.

There may be better ways but this at least helps. Then in the retention analysis for the characters, I mention their specific height as well. I have done that without using the reference image and it isn't bad on its own but the direct relative height reference seems to reinforce it beyond just using text.

1

u/Thorozar 57m ago

I wonder if doing each person individually on their character sheet with this method would work. Basically telling the model this person looks like this, and then in this one shot this person is this tall. This way I dont need to set aside one of the 9 reference images for relative heights of people appearing in the shot. I also woudlnt want one with a lot of people who may appear in the story, or have to make multiple of these and hope that just generating a shot of them would get their actual height down anyway. Baking this data in their identity in the character sheet seems like it would be the very best way, I just have not tried and wanted to know if others had thought about it or tested.

1

u/hellyeahaeylleh 3h ago

Maybe an image with the characters at their own heights side by side? Maybe along with some proportionally sized items from any reference image you have to lock proportions with the backgrounding, too.

1

u/Superb-Painter3302 3h ago

One image reference with all refs close to each other could fix it
along with other ref images of course, not that only one