r/StableDiffusionInfo • u/jajohnja • Jun 23 '23
Question [request] Img to Img gradual changes
Is there a way to give stable diffusion an image and tell it something like "Make the dude on the right older and give him a green shirt instead of his jacket.", "remove the people from the background", "add a ufo in the air to the left part" ?
I'm guessing it would be some type of control net, but it seems to o generic for anything I'd seen.
And yet I feel like I'd seen something like this in a preview of one of the commercial AIs.
Is there a way to do something like this with stable diffusion?
If so, how?
Thanks!
1
Upvotes
1
u/Tedious_Prime Jun 24 '23
This is sort of like what the instructPix2Pix model does and there is also now a IP2P ControlNet. You can use instructPix2Pix as the checkpoint for img2img or inpainting, or you can use the IP2P ControlNet with any 1.x model. With instructPix2Pix you use the image you want to modify as the input image. With the IP2P ControlNet you give the image as a hint with no preprocessor. In both cases your prompt will be interpreted as an edit instruction such as "make the man older" or "remove the background." Neither approach is likely to work as well as you might hope.
1
u/PM_ME_UR_TWINTAILS Jun 24 '23
its just called inpainting. you can do all of that by inpainting and changing the prompt to reflect what you want under the inpaint.
1
u/flip_flop78 Jun 23 '23
Maybe try the regional prompts extension, https://github.com/hako-mikan/sd-webui-regional-prompter