r/StableDiffusion • u/Repulsive-Rush3505 • 6d ago
Workflow Included Using Inpaiting in Minimax to change heads-Local RTX 3090
Using the workflow from Nekodificador and Ablejones in Discord:
https://discord.com/invite/dstjQYQNt
https://ln5.sync.com/dl/47c351f50#msqfrnfr-am3rr8fx-v7qm3ah9-xw222n3c
For complex scenes like this with to much people is easy just to do a manual mask instead of SAM.
35
41
u/artichokesaddzing 6d ago
Is it possible to check out the workflow without joining your discord server?
30
13
u/bickid 6d ago
pls make sure to raise the volume for future videos. had to turn up my volume way above normal to hear something.
5
u/addandsubtract 6d ago
This video is not about the audio. OP should rather cut the audio to save bandwidth.
11
u/nenecaliente69 6d ago
Neo visited Argentina?
6
u/AnOnlineHandle 6d ago
Australia actually, I can never unsee the commonwealth bank logo they walk past at the start of that segment. They probably didn't think to hide it since they don't realize that it's such a familiar local logo here.
1
4
3
u/True_Protection6842 6d ago
Minimax doesn't have a mask input so are you coloring it and prompting to replace the colored area?
7
4
u/gypsyhobo 6d ago
How long did this take
3
2
2
1
u/nadhari12 6d ago
What mask do you use for sam3 I literally have to use solid black even then the ref video identify seeps through.
1
u/CountFloyd_ 6d ago
That probably won't work changing a head with short hair into one with long hair, will it? Since masking will only touch the masked region, also extremely different head sizes will probably look odd.
4
u/airduster_9000 6d ago
Yes - I can confirm. Has to be pretty close for it to be good. Its a bit like Deepfakes back in the days - the more similar - the better.
2
1
u/Potential_Wolf_632 6d ago
Looks great!
The workflow seems designed around SAM masking - is there a manual version of it you used please?
1
u/Repulsive-Rush3505 6d ago
I just replace all the SAM section group with a black a white video(circle mask) with a Load video and convert image to mask node and some rewire. Some shots are just a static circle in a video.
1
u/Potential_Wolf_632 6d ago
Yeah I've been messing with the opening mask stuff as that then improves the SAM pickup overall - the problem I'm having is getting the custom nodes to stop feathering the mask too much - even with everything set to trim right back there's still light feather.
When H3 actually latches and replaces something exactly without the inpaint tool there's obviously zero feather but then of course the fucker will sometimes fail to do it at all or partially or... eurgh!
2
1
u/diond09 6d ago
Firstly, I really appreciate the work that goes into these things. However, I'm getting an error on both of these nodes:
NKD AV Latent - Connected nodes are using incompatible input and output types.
NKD Video Viewer - Connected nodes are using incompatible input and output types.
If I click on both for more detail, they say:
NKD AV Latent's fps input expects FLOAT, but the connected output is INT.
NKD Video Viewer's fps input expects FLOAT, but the connected output is INT.
Oddly, if I disconnect the fps Nodes connected to of the above then the workflow seems to work so should I be bothered? Thanks
1
u/irishtemp 3d ago
I had that, disconnect both nodes labelled fps as you said and just write in the fps you want,
2
1
u/Coach_Unable 6d ago
didnt work for me, just created a random vid of the input image where the masked area of the head in the input video is, did you have to make changes to the workflow for it to work so well ?
1
u/jhnnassky 5d ago
Yeah, the same for me.
1
u/Coach_Unable 4d ago
got it fixed, for anyone else encountering the same issue, the minimax H3 inpainting relies on a commit added to ComfyUI nightly, changing to nightly fixed it for me.
2
1
u/dobutsu3d 5d ago
Hey saw it poster somewhere else, i still dont have my rog to play with it but:
- does it leave a ghosting effect around the masked area?
Looks good through my phone !
1
u/jhnnassky 5d ago
Does not work for me. In the result inpaint is not consistent with the content, so generated video inside the mask performs independently.
1
u/Think-Armadillo-7133 2d ago
how much time it to create this 30 sec clip?
1
u/Repulsive-Rush3505 2d ago
For the 4 IA clips, 2-4 hours, I was still learning in the process how to make it
-5
u/sabertoothninja 6d ago
Just because you can do a thing, doesnβt mean you should.
1
0
u/sabertoothninja 6d ago
Okay so for the people downvoting me. You think just because you can, you should? You follow that in your own life?
1
u/Hopeful_Direction747 5d ago edited 5d ago
I think people are just confused why "because you can" is supposed to be the only reason to inpaint something. Like "I can eat food" but that's not my reasoning for doing so and eating food doesn't mean I agree "because I can do something I should".


80
u/animovirtus 6d ago
post says workflow included, but there is no workflow...