sd-forge-couple icon indicating copy to clipboard operation
sd-forge-couple copied to clipboard

Allow setting a background image in the canvas

Open arcusmaximus opened this issue 10 months ago • 2 comments

Being able to set a custom background image in the canvas is useful when you're doing img2img or using e.g. ControlNet Canny. Bonus points for having a button that retrieves the current img2img input image without the user having to save and reupload it.

See this code for an example of how it can all be done without using sluggish Gradio (lines 157 to 216).

arcusmaximus avatar Apr 19 '24 07:04 arcusmaximus

Nice, came here since I wanted to ask for just this. This functionality in Regional Prompter was very helpful for i2i, seeing the same way to draw the rectangles for advanced regional control in Forge Couple would be great.

superfid2006 avatar Apr 25 '24 08:04 superfid2006

If you want to use background images already now, you can use my fork of this extension.

arcusmaximus avatar Apr 25 '24 09:04 arcusmaximus