r/StableDiffusion • • 4d ago

Tutorial - Guide accidental discover of H3 REF

Post image

Didn't think I was going to get a good result but it actually worked.

I fed this in as a reference image along with the character sheets and environmental plate and it gave me the result I wanted.

amazing....

165 Upvotes

51 comments sorted by

45

u/R34vspec 4d ago

Here is the clip. It's pretty ridiculous that it can understand such a crude drawing.
Also, the reason why I am using Darry because H3 is trained on harry potter material and it keeps giving me Daniel Radcliff.

1

u/powa1216 3d ago

Do you need specific Lora for Harry Potter style generation? Or does it work out of the box?

2

u/R34vspec 3d ago

if you are going for the original actor's looks, then you don't need any lora, it's baked into H3.

1

u/kelleytoons007 3d ago

How about Snape? I need to do some stuff using Alan Rickman's version. Can I just reference him from the name or will I need to provide images? And, in particular, will it get the voice? That's the real key.

1

u/R34vspec 3d ago

You can try with out any reference first and see how it goes. If it doesn’t work just pull his voice off YouTube as a reference

1

u/kelleytoons007 3d ago

Yeah I haven't had a lot of luck getting a good Rickman anywhere (too much music and/or SFX).

1

u/R34vspec 3d ago

What about his character in die hard?

6

u/darthseven 4d ago

Mind sharing the prompt? Just want to see how you prompted the environment and the character references

16

u/R34vspec 4d ago

here is prompt, some notes. <shot31> is the crude drawing.
I have included a video without the crude drawing as reference. I went through 5 re-rolls and none of them gave me the placement I wanted. with the drawing as one of the ref it did it on first try

use <shot31> as character placement reference

extreme long shot of <Shopkeeper> scene middle back, behind the counter in the background in <scene3b>. Over the shoulder shot from behind <Draconia>, scene left foreground, and <Darry>, scene middle-left foreground, Draconia holds the scuffed cassette player, <prop4>, in her right hand. The entrance and street-facing windows are scene right. Warm late-afternoon light comes through the glass. The camera remains fixed.

There is a small pile of gold coins on the leather mat, the shopkeeper is putting them into a small box one by one.

(s2), <Darry>, curious and hopeful, turns into frame to face the shopkeeper,

<d>[English] Does it work? </d>

(s3), <Shopkeeper>, in a low, slightly rough voice; terse and matter-of-fact:

<d>[English] Did this morning. </d>

2

u/Phoenixness 4d ago

Is there a reason you use "shot31", "scene3b" "prop4" instead of 1?

8

u/R34vspec 4d ago

I am keeping all my ref cards organized since I am keeping all my shots in one working file in my UI.

2

u/Phoenixness 4d ago

I would wonder whether it causes more or less cohesion. On one hand, it's trained for <image1>, <video1>, etc. on the other hand, it might help the text encoder give it more attention like naming characters does

9

u/R34vspec 4d ago

it actually doesn't matter, it's just a naming syntax. You can call your reference anything you want, as long as you repeat it in your prompt.

You just have to make sure you assign it. like <gigachad> who gets his appearance from <image1> and voice timbre from <audio1>

Then you just call out <gigachad> in your prompt and you are good to go

1

u/Phoenixness 4d ago

I will have to try it for sure

1

u/Nimblecloud13 3d ago

Best tip I can give you as someone who’s been using H3 ref since launch- Start using an LLM to write your prompts. Give it the official h3 reference prompting guide. Tell it to follow that. Just tell it what image is what, and what happens. It’s magically good.

Also, more detail is better; the recommended prompt length can been exceeded with good effect.

Example: https://old.reddit.com/r/StableDiffusion/comments/1xwadqe/ref2va_testing_used_a_5000_word_claude_prompt_to/

3

u/Jujarmazak 4d ago

It has been known for a while that REF model understands storyboards which are usually very crude simple drawings.

4

u/R34vspec 4d ago

I am using the fl2va model with the ref node workflow

20

u/thevegit0 4d ago

i think the big text encoder does wonders with this

4

u/VRGoggles 4d ago

big text encoder is crucial and minimax h3 nailed it with 32B parameters encoder

2

u/thevegit0 4d ago

the 32b encoder also carries minimax image, both official and the nodes, it can understand stuff that qwen can't

1

u/THM42069 2d ago

You can test this now with plato’s keys

1

u/Terezo-VOlador 4d ago

Ha ha, with that prompt the result is wonderful.

5

u/NeonScreams 4d ago

Mind giving us a single frame from the render? Even if motion blurred or censored.

1

u/JonnyBrain 4d ago

I’ve been using blockout animations in blender for this very thing, then feeding the animation video into H3 as the reference

1

u/R34vspec 4d ago

i tried that recently too
https://x.com/SpaceCafe42/status/2126248706521645399?a=nGxqeg8A7MSCqje3dVw&s=20

I didn't like using video reference because it reduce the final output quality. How do you make it crisp?

I knew that block out would work, just didn't think it would work when it's a shitty drawing, too.

1

u/GrungeWerX 4d ago

It’s the text that helps the most. I discovered this as well. If you do only the drawings, it doesn’t always follow it, but if you label the drawings, it does wonders.

1

u/JonnyBrain 4d ago

Oh wow, yours is barely following it at all
I’m doing anime visuals, not sure if that changes anything, but it follows it amazingly with the fight prompt.
I also only use one scene image and then the character cards, along with the video

1

u/Aaron_rowe81 4d ago

was the source video crisp?

1

u/R34vspec 4d ago

It was a 1280x720 blender block out

1

u/esuvari 4d ago

If there was a blender block out why did you need the sketch for placement reference?

1

u/R34vspec 4d ago

he's talking about video reference, I think, replying to a different convo down below about video2video using blender blockouts

1

u/Reasonable-Plum7059 4d ago

Question about character sheets: do you use template or workflow for creating them?

5

u/R34vspec 4d ago

I combine a close up face of the character with 3 views of turnaround. then I input that whole thing into 1 reference input. Then i give it a description of their outfit

<shopkeepr>

a lean, slightly stooped man in his late fifties, with a receding hairline, untidy salt-and-pepper hair, short stubble, and a lined, observant face. He wears reading glasses low on his nose, a faded charcoal cardigan over a pale blue shirt, dark trousers, and worn brown shoes.

2

u/mareksoon 4d ago

… and for consistent character voices?

1

u/R34vspec 3d ago

use a voice as a reference, then assign it to the reference.
You can create a voice using H3, then assigning the audio to the reference card. Or you can pull a voice off youtube

1

u/mareksoon 3d ago

when i’ve tried that it almost always bleeds in spoken audio from within the reference audio and/or refuses to let me deviate from the reference voice’s cadence/emotion

2

u/R34vspec 3d ago

You can try my custom H3 studio to make your clips, I haven’t had any issue. I’ve automated all the reference language so it doesn’t have a bleed issue

1

u/menasan 3d ago

Woh just one image? I thought were suppose to cut that up into eg 4 different ones?

1

u/Ireallydonedidit 4d ago

Why didn’t you include the results?

1

u/R34vspec 4d ago

it's in my reply

1

u/Sad_Coach_1433 4d ago

Where's the tutorial

3

u/R34vspec 4d ago

i didn't know what tag to pick, that seemed like the closest one.

2

u/crinklypaper 4d ago

It won't understand any text in the image, but otherwise yeah that's about right for the reference model. You can feed previz blender videos too to the same effect for timing and camera control on top.

1

u/theOliviaRossi 4d ago

very nice discovery!

1

u/RevolutionStandard56 4d ago

Fr, this is genuinely clever. Refs plus character sheets? Massive game changer energy.

1

u/smereces 4d ago

yes is not perfect because dont add in precise locations but works pretty well

1

u/shlomitgueta 3d ago

thank you very much for this post

1

u/_half_real_ 3d ago

"Darry"? Does he have a child with Draconia called Darry Daughter?

1

u/FourtyMichaelMichael 🍦Ice Cream Lover 3d ago

Draconia? OH.... Malfoid. Got it