[Guide] Outpainting in StableSwarmUI 0.6.3 #360
mcmonkey4eva
announced in
Announcements
Replies: 2 comments
-
Thank You very well explained. |
Beta Was this translation helpful? Give feedback.
0 replies
This comment was marked as spam.
This comment was marked as spam.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This page is a quick temporary guide for how to outpaint an image in version 0.6.3 of StableSwarmUI. (In the future more dedicated tooling might be added).
This relies on brand-new features as of the time posted - so if you haven't updated recently, update first - click the "server" tab and click "update and restart server"
ps join the Swarm Discord
Step 1: Open The Image Editor
Step 1 is open the image editor -- find your starting image and get it in the center area of Swarm (click it in history, or drag from elsewhere to the center)
Then, click the "Edit Image" button
This will open the image editor view next to your image.
Use scroll wheel to zoom out, or click+drag to move around.
Step 2: Positioning
Next up is repositioning the image.
This step is the particular weird trick: rather than repositioning the 'camera', we need to move everything else to the side. (This will definitely be addressed in the future so you can move the 'camera' (that yellow dashed line)).
First, select the image on the right side layer list
Then, select the "Move" tool on the left
Now with that, hold CTRL (control) and drag the image to the side.
For example here I've decided to outpaint a little bit to the left, and so I need to move the image rightward
Step 3: Tell Swarm You Want Masking
By default, swarm will regenerate the entire image - we want to regenerate just the empty region, so we need to "tell swarm" that we want the mask (in the future this will probably have a more direct method, but for now) all you need to do is:
select the mask layer
select the brush tool
and draw anything at all off to the side
While you're at it, feel free to add any real masking you want.
But as long as there's any mask, the transparent region (ie the spot that has no image) automatically gets 100% mask.
Step 4: Configure
On the left, open the "Init Image" param group, set Creativity and Reset To Norm to max,
and set Mask Blur to 0 if you didn't do a manual mask, or raise it if you are doing a manual mask.
Also at the bottom type in your prompt
Note you might also want to make sure you're using a model that's decent at inpainting. Any model works, but some yield better results than others. (Remember, outpainting is just inpainting to the side)
Step 5: Go
Click generate
Take a look at the result, and if you don't like it change your params/mask/whatever and try again until you're happy.
In my case I decided to go back and change my prompt + draw some partial opacity masks all over to give the AI better working room and try to fix the messed up tail cut off (I'm working with SDXL 1.0 Base, not the best at inpainting)
Step 6: Apply
When you're happy with the result, click+drag the image result onto the canvas
Feel free to make any other changes, inpaint things, etc. at will from here
Step 7: Get the result
Now we have an original image, and an outpaint image, but the only "final result" is the canvas itself - so how do we get the full image?!
(In the future this part will have a more direct method too)
on the left toolbar, click the "***" Options menu, and click either "Store Full Canvas To History" or "Download Full Canvas"
(Note that "Store Full Canvas To History" will immediately pop up the full result image in your right side result area)
and enjoy your final image
Beta Was this translation helpful? Give feedback.
All reactions