InvokeAI/scripts
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
..
orig_scripts rename all modules from ldm.dream to ldm.invoke 2022-10-08 11:37:23 -04:00
dream.py Reword deprecation warning for dream.py 2022-10-14 07:33:10 -04:00
images2prompt.py rename all modules from ldm.dream to ldm.invoke 2022-10-08 11:37:23 -04:00
invoke.py enhance outcropping with ability to direct contents of new regions 2022-11-11 20:34:21 +00:00
legacy_api.py Add back old dream.py as legacy_api.py 2022-10-12 20:35:56 -04:00
merge_embeddings.py Fix merging embeddings (#226) 2022-08-31 11:24:11 -04:00
preload_models.py remove merge markers from preload_models.py 2022-11-02 22:39:35 -04:00
sd-metadata.py rename all modules from ldm.dream to ldm.invoke 2022-10-08 11:37:23 -04:00