InvokeAI/ldm/invoke/generator
Lincoln Stein 9141132a5c enhance outcropping with ability to direct contents of new regions
This commit does several things that improve the customizability of the CLI `outcrop` command:

1. When outcropping an image you can now add a `--new_prompt` option, to specify a new prompt to be applied to the outpainted region instead of the prompt used to generate the image.
2. Similarly you can provide a new seed using `--seed` (or `-S`). A seed less than zero will pick one randomly.
3. The metadata written into the outcropped file is now more informative about what was previously stored.
4. This PR also fixes the crash that happened when trying to outcrop an image  that does not contain InvokeAI metadata.

Other changes:

- add error checking suggested by @Kyle0654
- add special case in invoke.py to allow -1 to be passed as seed.
  This now only occurs for postprocessing commands. Previously, -1
  caused previous seed to be used, and this still applies to generate
  operations.
2022-11-11 20:34:21 +00:00
..
__init__.py rename all modules from ldm.dream to ldm.invoke 2022-10-08 11:37:23 -04:00
base.py enhance outcropping with ability to direct contents of new regions 2022-11-11 20:34:21 +00:00
embiggen.py acceptable integration of new prompting system and inpainting 2022-10-27 01:51:35 -04:00
img2img.py Merge branch 'outpaint' of https://github.com/Kyle0654/InvokeAI into Kyle0654-outpaint 2022-10-27 09:16:40 -04:00
inpaint.py enhance outcropping with ability to direct contents of new regions 2022-11-11 20:34:21 +00:00
omnibus.py ready for merge after documentation added 2022-10-27 11:55:00 -04:00
txt2img2img.py Resize hires as an image 2022-11-05 11:54:23 -07:00
txt2img.py Merge branch 'fix-prompts' of https://github.com/damian0815/InvokeAI into merge-prompt-and-inpaint-model 2022-10-26 08:50:55 -04:00