Skip to content
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

Init Image Redesign and Outpainting #334

Merged
merged 9 commits into from
Oct 24, 2022
Merged

Init Image Redesign and Outpainting #334

merged 9 commits into from
Oct 24, 2022

Conversation

carson-katri
Copy link
Owner

  • The init image panel was redesigned to better support multiple types of image manipulation:

Screen Shot 2022-10-19 at 1 26 18 PM

  • 'Replace' option for inpainting allows the masked area to be replaced by noise
  • 'Prompt' mask source uses CLIP segmentation to create an inpainting mask from a text prompt
  • Outpainting support added, with a simple stretch/blur fill used to provide backing color information. The 'Replace' option could also be used to simply fill the new area with noise.

Note A new git dependency was added for clipseg in the latest InvokeAI changes.

@carson-katri carson-katri linked an issue Oct 19, 2022 that may be closed by this pull request
@carson-katri carson-katri added this to the v0.0.8 milestone Oct 19, 2022
@carson-katri carson-katri added the enhancement New feature or request label Oct 19, 2022
@NullSenseStudio
Copy link
Collaborator

Went to try out #335 but ran into a couple of issues detailed and fixed in #344

* clipseg fix

* hanging fix
@carson-katri
Copy link
Owner Author

Thanks, let me know if you notice anything that's broken or missing in this redesign.

Copy link
Collaborator

@NullSenseStudio NullSenseStudio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like everything is working as expected and doesn't seem to be anything missing.

@carson-katri carson-katri merged commit a3a240d into main Oct 24, 2022
@carson-katri carson-katri deleted the outpainting branch October 24, 2022 20:28
JasonHoku pushed a commit to JasonHoku/dream-textures that referenced this pull request Dec 20, 2022
* Redesign init image options

* Add outpainting support

* Use extended image size when outpainting

* Rename to 'Source Image'

* Only store second image when color correction is enabled

* Fix regressions in normal generation

* Fix render pass

* clipseg fix (carson-katri#344)

* clipseg fix

* hanging fix

Co-authored-by: NullSenseStudio <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Suggestion: Outpainting
2 participants