-
-
Notifications
You must be signed in to change notification settings - Fork 458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic Color Inpaint #3756
Automatic Color Inpaint #3756
Conversation
scripts/automatic_color_inpaint.py
Outdated
p.image_mask = mask_image | ||
|
||
# override inpaint parameters | ||
p.task_args['inpaint_full_res'] = True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, this is not it.
to override sdnext params, simply use p.inpaint_full_res
intention of p.task_args
is if you want to send something directly to the model without sdnext messing with it.
for example, something from this list: https://huggingface.co/docs/diffusers/v0.32.2/en/api/pipelines/stable_diffusion/stable_diffusion_xl#diffusers.StableDiffusionXLPipeline.__call__
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it, i'll change it.
Made some nice changes to the script. More control over the settings, better default values and etc. |
lets keep it in draft until its ready |
Description
Automatic Color Inpaint Script for SD.NEXT - SD & SDXL Support
A new script to automatically inpaint colors in images using Stable Diffusion or Stable Diffusion XL.
Notes
Through usage of the color picker and the color tolerance slider you will have semi-full control to inpaint the color you want.
Environment and Testing
Tested on SD and SDXL