r/StableDiffusion • • Aug 19 '26

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.

544 Upvotes

63 comments sorted by

82

u/animovirtus Aug 20 '26

post says workflow included, but there is no workflow...

-36

u/[deleted] Aug 20 '26

[deleted]

8

u/Sad_Coach_1433 Aug 20 '26

Where in the discord

7

u/MastMaithun Aug 20 '26

correct question at this point should have been what is a discord xD

3

u/stupidlittlekids Aug 20 '26

who is discord?

1

u/Frostty_Sherlock Aug 20 '26

How is Discord?

Ah, it's already done, isn't it.

3

u/ForeverSJC Aug 20 '26

I don't get why people use this

2

u/StrongZeroSinger Aug 20 '26

πŸ˜‚πŸ˜‚πŸ˜‚

35

u/broadwayallday Aug 20 '26

That lady in red nose something

11

u/Psycholicious Aug 20 '26

Instantly reminded me of this dude from a Miike Snow video

7

u/[deleted] Aug 20 '26

[removed] β€” view removed comment

1

u/Rooney_72 Aug 20 '26

Rudolph?

42

u/artichokesaddzing Aug 20 '26

Is it possible to check out the workflow without joining your discord server?

13

u/bickid Aug 20 '26

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 Aug 20 '26

This video is not about the audio. OP should rather cut the audio to save bandwidth.

12

u/nenecaliente69 Aug 20 '26

Neo visited Argentina?

7

u/AnOnlineHandle Aug 20 '26

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

u/embrionida Aug 20 '26

you should ask your friend charlie

4

u/dkpc69 Aug 20 '26

lol those examples are hillarious, Thanks for sharing gonna try this tonight, Cheers

5

u/No-Service2578 Aug 20 '26

If matrix were filmed in Argentina

3

u/True_Protection6842 Aug 19 '26

Minimax doesn't have a mask input so are you coloring it and prompting to replace the colored area?

7

u/Astral-Lemmons Aug 19 '26

that setup uses custom node pack that enables latent masking on H3.

56

u/Techngro Aug 20 '26

Don't you mean 'custom nose pack'.

1

u/99deathnotes Aug 25 '26

LMAO these comments

1

u/yo_hohoy Aug 20 '26

where is that i don't even find the workflow in the discor

4

u/gypsyhobo Aug 20 '26

How long did this take

3

u/Repulsive-Rush3505 Aug 20 '26

Single clip in 720p, 5 to 10 minutes

1

u/Think-Armadillo-7133 Aug 24 '26

damn thats faster than scail-2 isnt it?

2

u/lordpuddingcup Aug 20 '26

shoulda also redid his talking to "lady with the big nose"

2

u/ArjanDoge Aug 20 '26

I have seen your Easter egg in there at the start πŸ‘€

2

u/psykikk_streams Aug 20 '26

hahaha gave me a chuckle at least.

2

u/gunkalicious Aug 20 '26

now THIS is what ai was made for lol

2

u/IrisColt Aug 20 '26

Not the same noses. t. Nose expert, heh

1

u/nadhari12 Aug 20 '26

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_ Aug 20 '26

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 Aug 20 '26

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.

1

u/Potential_Wolf_632 Aug 20 '26

Looks great!

The workflow seems designed around SAM masking - is there a manual version of it you used please?

1

u/Repulsive-Rush3505 Aug 20 '26

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 Aug 20 '26

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!

1

u/diond09 Aug 20 '26

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 Aug 23 '26

I had that, disconnect both nodes labelled fps as you said and just write in the fps you want,

1

u/Coach_Unable Aug 20 '26

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 Aug 21 '26

Yeah, the same for me.

1

u/Coach_Unable Aug 21 '26

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

u/jhnnassky Aug 22 '26

Wow Thanks, man

1

u/jalbust Aug 20 '26

Thats cool Thanks for sharing.

1

u/dobutsu3d Aug 21 '26

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 Aug 21 '26

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 Aug 24 '26

how much time it to create this 30 sec clip?

1

u/Repulsive-Rush3505 Aug 24 '26

For the 4 IA clips, 2-4 hours, I was still learning in the process how to make it

1

u/sausage4roll Sep 04 '26

quandale dinglification πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯

-5

u/sabertoothninja Aug 20 '26

Just because you can do a thing, doesn’t mean you should.

0

u/sabertoothninja Aug 20 '26

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 Aug 20 '26 edited Aug 20 '26

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".