diff --git a/Makefile b/Makefile index e858a89e2b3..8621d16d48e 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,7 @@ help: @echo "installer-zip Build the installer .zip file for the current version" @echo "tag-release Tag the GitHub repository with the current version (use at release time only!)" @echo "openapi Generate the OpenAPI schema for the app, outputting to stdout" + @echo "docs Serve the mkdocs site with live reload" # Runs ruff, fixing any safely-fixable errors and formatting ruff: @@ -74,3 +75,8 @@ tag-release: # Generate the OpenAPI Schema for the app openapi: python scripts/generate_openapi_schema.py + +# Serve the mkdocs site w/ live reload +.PHONY: docs +docs: + mkdocs serve \ No newline at end of file diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md deleted file mode 100644 index 24bd5ad7dd2..00000000000 --- a/docs/CHANGELOG.md +++ /dev/null @@ -1,815 +0,0 @@ ---- -title: Changelog ---- - -# :octicons-log-16: **Changelog** - -## v2.3.5 (22 May 2023) - -This release (along with the post1 and post2 follow-on releases) expands support for additional LoRA and LyCORIS models, upgrades diffusers versions, and fixes a few bugs. - -### LoRA and LyCORIS Support Improvement - - A number of LoRA/LyCORIS fine-tune files (those which alter the text encoder as well as the unet model) were not having the desired effect in InvokeAI. This bug has now been fixed. Full documentation of LoRA support is available at InvokeAI LoRA Support. - Previously, InvokeAI did not distinguish between LoRA/LyCORIS models based on Stable Diffusion v1.5 vs those based on v2.0 and 2.1, leading to a crash when an incompatible model was loaded. This has now been fixed. In addition, the web pulldown menus for LoRA and Textual Inversion selection have been enhanced to show only those files that are compatible with the currently-selected Stable Diffusion model. - Support for the newer LoKR LyCORIS files has been added. - -### Library Updates and Speed/Reproducibility Advancements -The major enhancement in this version is that NVIDIA users no longer need to decide between speed and reproducibility. Previously, if you activated the Xformers library, you would see improvements in speed and memory usage, but multiple images generated with the same seed and other parameters would be slightly different from each other. This is no longer the case. Relative to 2.3.5 you will see improved performance when running without Xformers, and even better performance when Xformers is activated. In both cases, images generated with the same settings will be identical. - -Here are the new library versions: -Library Version -Torch 2.0.0 -Diffusers 0.16.1 -Xformers 0.0.19 -Compel 1.1.5 -Other Improvements - -### Performance Improvements - - When a model is loaded for the first time, InvokeAI calculates its checksum for incorporation into the PNG metadata. This process could take up to a minute on network-mounted disks and WSL mounts. This release noticeably speeds up the process. - -### Bug Fixes - - The "import models from directory" and "import from URL" functionality in the console-based model installer has now been fixed. - When running the WebUI, we have reduced the number of times that InvokeAI reaches out to HuggingFace to fetch the list of embeddable Textual Inversion models. We have also caught and fixed a problem with the updater not correctly detecting when another instance of the updater is running - - -## v2.3.4 (7 April 2023) - -What's New in 2.3.4 - -This features release adds support for LoRA (Low-Rank Adaptation) and LyCORIS (Lora beYond Conventional) models, as well as some minor bug fixes. -### LoRA and LyCORIS Support - -LoRA files contain fine-tuning weights that enable particular styles, subjects or concepts to be applied to generated images. LyCORIS files are an extended variant of LoRA. InvokeAI supports the most common LoRA/LyCORIS format, which ends in the suffix .safetensors. You will find numerous LoRA and LyCORIS models for download at Civitai, and a small but growing number at Hugging Face. Full documentation of LoRA support is available at InvokeAI LoRA Support.( Pre-release note: this page will only be available after release) - -To use LoRA/LyCORIS models in InvokeAI: - - Download the .safetensors files of your choice and place in /path/to/invokeai/loras. This directory was not present in earlier version of InvokeAI but will be created for you the first time you run the command-line or web client. You can also create the directory manually. - - Add withLora(lora-file,weight) to your prompts. The weight is optional and will default to 1.0. A few examples, assuming that a LoRA file named loras/sushi.safetensors is present: - -family sitting at dinner table eating sushi withLora(sushi,0.9) -family sitting at dinner table eating sushi withLora(sushi, 0.75) -family sitting at dinner table eating sushi withLora(sushi) - -Multiple withLora() prompt fragments are allowed. The weight can be arbitrarily large, but the useful range is roughly 0.5 to 1.0. Higher weights make the LoRA's influence stronger. Negative weights are also allowed, which can lead to some interesting effects. - - Generate as you usually would! If you find that the image is too "crisp" try reducing the overall CFG value or reducing individual LoRA weights. As is the case with all fine-tunes, you'll get the best results when running the LoRA on top of the model similar to, or identical with, the one that was used during the LoRA's training. Don't try to load a SD 1.x-trained LoRA into a SD 2.x model, and vice versa. This will trigger a non-fatal error message and generation will not proceed. - - You can change the location of the loras directory by passing the --lora_directory option to `invokeai. - -### New WebUI LoRA and Textual Inversion Buttons - -This version adds two new web interface buttons for inserting LoRA and Textual Inversion triggers into the prompt as shown in the screenshot below. - -Clicking on one or the other of the buttons will bring up a menu of available LoRA/LyCORIS or Textual Inversion trigger terms. Select a menu item to insert the properly-formatted withLora() or prompt fragment into the positive prompt. The number in parentheses indicates the number of trigger terms currently in the prompt. You may click the button again and deselect the LoRA or trigger to remove it from the prompt, or simply edit the prompt directly. - -Currently terms are inserted into the positive prompt textbox only. However, some textual inversion embeddings are designed to be used with negative prompts. To move a textual inversion trigger into the negative prompt, simply cut and paste it. - -By default the Textual Inversion menu only shows locally installed models found at startup time in /path/to/invokeai/embeddings. However, InvokeAI has the ability to dynamically download and install additional Textual Inversion embeddings from the HuggingFace Concepts Library. You may choose to display the most popular of these (with five or more likes) in the Textual Inversion menu by going to Settings and turning on "Show Textual Inversions from HF Concepts Library." When this option is activated, the locally-installed TI embeddings will be shown first, followed by uninstalled terms from Hugging Face. See The Hugging Face Concepts Library and Importing Textual Inversion files for more information. -### Minor features and fixes - -This release changes model switching behavior so that the command-line and Web UIs save the last model used and restore it the next time they are launched. It also improves the behavior of the installer so that the pip utility is kept up to date. - -### Known Bugs in 2.3.4 - -These are known bugs in the release. - - The Ancestral DPMSolverMultistepScheduler (k_dpmpp_2a) sampler is not yet implemented for diffusers models and will disappear from the WebUI Sampler menu when a diffusers model is selected. - Windows Defender will sometimes raise Trojan or backdoor alerts for the codeformer.pth face restoration model, as well as the CIDAS/clipseg and runwayml/stable-diffusion-v1.5 models. These are false positives and can be safely ignored. InvokeAI performs a malware scan on all models as they are loaded. For additional security, you should use safetensors models whenever they are available. - - -## v2.3.3 (28 March 2023) - -This is a bugfix and minor feature release. -### Bugfixes - -Since version 2.3.2 the following bugs have been fixed: -Bugs - - When using legacy checkpoints with an external VAE, the VAE file is now scanned for malware prior to loading. Previously only the main model weights file was scanned. - Textual inversion will select an appropriate batchsize based on whether xformers is active, and will default to xformers enabled if the library is detected. - The batch script log file names have been fixed to be compatible with Windows. - Occasional corruption of the .next_prefix file (which stores the next output file name in sequence) on Windows systems is now detected and corrected. - Support loading of legacy config files that have no personalization (textual inversion) section. - An infinite loop when opening the developer's console from within the invoke.sh script has been corrected. - Documentation fixes, including a recipe for detecting and fixing problems with the AMD GPU ROCm driver. - -Enhancements - - It is now possible to load and run several community-contributed SD-2.0 based models, including the often-requested "Illuminati" model. - The "NegativePrompts" embedding file, and others like it, can now be loaded by placing it in the InvokeAI embeddings directory. - If no --model is specified at launch time, InvokeAI will remember the last model used and restore it the next time it is launched. - On Linux systems, the invoke.sh launcher now uses a prettier console-based interface. To take advantage of it, install the dialog package using your package manager (e.g. sudo apt install dialog). - When loading legacy models (safetensors/ckpt) you can specify a custom config file and/or a VAE by placing like-named files in the same directory as the model following this example: - -my-favorite-model.ckpt -my-favorite-model.yaml -my-favorite-model.vae.pt # or my-favorite-model.vae.safetensors - -### Known Bugs in 2.3.3 - -These are known bugs in the release. - - The Ancestral DPMSolverMultistepScheduler (k_dpmpp_2a) sampler is not yet implemented for diffusers models and will disappear from the WebUI Sampler menu when a diffusers model is selected. - Windows Defender will sometimes raise Trojan or backdoor alerts for the codeformer.pth face restoration model, as well as the CIDAS/clipseg and runwayml/stable-diffusion-v1.5 models. These are false positives and can be safely ignored. InvokeAI performs a malware scan on all models as they are loaded. For additional security, you should use safetensors models whenever they are available. - - -## v2.3.2 (11 March 2023) -This is a bugfix and minor feature release. - -### Bugfixes - -Since version 2.3.1 the following bugs have been fixed: - - Black images appearing for potential NSFW images when generating with legacy checkpoint models and both --no-nsfw_checker and --ckpt_convert turned on. - Black images appearing when generating from models fine-tuned on Stable-Diffusion-2-1-base. When importing V2-derived models, you may be asked to select whether the model was derived from a "base" model (512 pixels) or the 768-pixel SD-2.1 model. - The "Use All" button was not restoring the Hi-Res Fix setting on the WebUI - When using the model installer console app, models failed to import correctly when importing from directories with spaces in their names. A similar issue with the output directory was also fixed. - Crashes that occurred during model merging. - Restore previous naming of Stable Diffusion base and 768 models. - Upgraded to latest versions of diffusers, transformers, safetensors and accelerate libraries upstream. We hope that this will fix the assertion NDArray > 2**32 issue that MacOS users have had when generating images larger than 768x768 pixels. Please report back. - -As part of the upgrade to diffusers, the location of the diffusers-based models has changed from models/diffusers to models/hub. When you launch InvokeAI for the first time, it will prompt you to OK a one-time move. This should be quick and harmless, but if you have modified your models/diffusers directory in some way, for example using symlinks, you may wish to cancel the migration and make appropriate adjustments. -New "Invokeai-batch" script - -### Invoke AI Batch -2.3.2 introduces a new command-line only script called invokeai-batch that can be used to generate hundreds of images from prompts and settings that vary systematically. This can be used to try the same prompt across multiple combinations of models, steps, CFG settings and so forth. It also allows you to template prompts and generate a combinatorial list like: - -a shack in the mountains, photograph -a shack in the mountains, watercolor -a shack in the mountains, oil painting -a chalet in the mountains, photograph -a chalet in the mountains, watercolor -a chalet in the mountains, oil painting -a shack in the desert, photograph -... - -If you have a system with multiple GPUs, or a single GPU with lots of VRAM, you can parallelize generation across the combinatorial set, reducing wait times and using your system's resources efficiently (make sure you have good GPU cooling). - -To try invokeai-batch out. Launch the "developer's console" using the invoke launcher script, or activate the invokeai virtual environment manually. From the console, give the command invokeai-batch --help in order to learn how the script works and create your first template file for dynamic prompt generation. - - -### Known Bugs in 2.3.2 - -These are known bugs in the release. - - The Ancestral DPMSolverMultistepScheduler (k_dpmpp_2a) sampler is not yet implemented for diffusers models and will disappear from the WebUI Sampler menu when a diffusers model is selected. - Windows Defender will sometimes raise a Trojan alert for the codeformer.pth face restoration model. As far as we have been able to determine, this is a false positive and can be safely whitelisted. - - -## v2.3.1 (22 February 2023) -This is primarily a bugfix release, but it does provide several new features that will improve the user experience. - -### Enhanced support for model management - -InvokeAI now makes it convenient to add, remove and modify models. You can individually import models that are stored on your local system, scan an entire folder and its subfolders for models and import them automatically, and even directly import models from the internet by providing their download URLs. You also have the option of designating a local folder to scan for new models each time InvokeAI is restarted. - -There are three ways of accessing the model management features: - - From the WebUI, click on the cube to the right of the model selection menu. This will bring up a form that allows you to import models individually from your local disk or scan a directory for models to import. - - Using the Model Installer App - -Choose option (5) download and install models from the invoke launcher script to start a new console-based application for model management. You can use this to select from a curated set of starter models, or import checkpoint, safetensors, and diffusers models from a local disk or the internet. The example below shows importing two checkpoint URLs from popular SD sites and a HuggingFace diffusers model using its Repository ID. It also shows how to designate a folder to be scanned at startup time for new models to import. - -Command-line users can start this app using the command invokeai-model-install. - - Using the Command Line Client (CLI) - -The !install_model and !convert_model commands have been enhanced to allow entering of URLs and local directories to scan and import. The first command installs .ckpt and .safetensors files as-is. The second one converts them into the faster diffusers format before installation. - -Internally InvokeAI is able to probe the contents of a .ckpt or .safetensors file to distinguish among v1.x, v2.x and inpainting models. This means that you do not need to include "inpaint" in your model names to use an inpainting model. Note that Stable Diffusion v2.x models will be autoconverted into a diffusers model the first time you use it. - -Please see INSTALLING MODELS for more information on model management. - -### An Improved Installer Experience - -The installer now launches a console-based UI for setting and changing commonly-used startup options: - -After selecting the desired options, the installer installs several support models needed by InvokeAI's face reconstruction and upscaling features and then launches the interface for selecting and installing models shown earlier. At any time, you can edit the startup options by launching invoke.sh/invoke.bat and entering option (6) change InvokeAI startup options - -Command-line users can launch the new configure app using invokeai-configure. - -This release also comes with a renewed updater. To do an update without going through a whole reinstallation, launch invoke.sh or invoke.bat and choose option (9) update InvokeAI . This will bring you to a screen that prompts you to update to the latest released version, to the most current development version, or any released or unreleased version you choose by selecting the tag or branch of the desired version. - -Command-line users can run this interface by typing invokeai-configure - -### Image Symmetry Options - -There are now features to generate horizontal and vertical symmetry during generation. The way these work is to wait until a selected step in the generation process and then to turn on a mirror image effect. In addition to generating some cool images, you can also use this to make side-by-side comparisons of how an image will look with more or fewer steps. Access this option from the WebUI by selecting Symmetry from the image generation settings, or within the CLI by using the options --h_symmetry_time_pct and --v_symmetry_time_pct (these can be abbreviated to --h_sym and --v_sym like all other options). - -### A New Unified Canvas Look - -This release introduces a beta version of the WebUI Unified Canvas. To try it out, open up the settings dialogue in the WebUI (gear icon) and select Use Canvas Beta Layout: - -Refresh the screen and go to to Unified Canvas (left side of screen, third icon from the top). The new layout is designed to provide more space to work in and to keep the image controls close to the image itself: - -Model conversion and merging within the WebUI - -The WebUI now has an intuitive interface for model merging, as well as for permanent conversion of models from legacy .ckpt/.safetensors formats into diffusers format. These options are also available directly from the invoke.sh/invoke.bat scripts. -An easier way to contribute translations to the WebUI - -We have migrated our translation efforts to Weblate, a FOSS translation product. Maintaining the growing project's translations is now far simpler for the maintainers and community. Please review our brief translation guide for more information on how to contribute. -Numerous internal bugfixes and performance issues - -### Bug Fixes -This releases quashes multiple bugs that were reported in 2.3.0. Major internal changes include upgrading to diffusers 0.13.0, and using the compel library for prompt parsing. See Detailed Change Log for a detailed list of bugs caught and squished. -Summary of InvokeAI command line scripts (all accessible via the launcher menu) -Command Description -invokeai Command line interface -invokeai --web Web interface -invokeai-model-install Model installer with console forms-based front end -invokeai-ti --gui Textual inversion, with a console forms-based front end -invokeai-merge --gui Model merging, with a console forms-based front end -invokeai-configure Startup configuration; can also be used to reinstall support models -invokeai-update InvokeAI software updater - -### Known Bugs in 2.3.1 - -These are known bugs in the release. - MacOS users generating 768x768 pixel images or greater using diffusers models may experience a hard crash with assertion NDArray > 2**32 This appears to be an issu... - - - -## v2.3.0 (15 January 2023) - -**Transition to diffusers - -Version 2.3 provides support for both the traditional `.ckpt` weight -checkpoint files as well as the HuggingFace `diffusers` format. This -introduces several changes you should know about. - -1. The models.yaml format has been updated. There are now two - different type of configuration stanza. The traditional ckpt - one will look like this, with a `format` of `ckpt` and a - `weights` field that points to the absolute or ROOTDIR-relative - location of the ckpt file. - - ``` - inpainting-1.5: - description: RunwayML SD 1.5 model optimized for inpainting (4.27 GB) - repo_id: runwayml/stable-diffusion-inpainting - format: ckpt - width: 512 - height: 512 - weights: models/ldm/stable-diffusion-v1/sd-v1-5-inpainting.ckpt - config: configs/stable-diffusion/v1-inpainting-inference.yaml - vae: models/ldm/stable-diffusion-v1/vae-ft-mse-840000-ema-pruned.ckpt - ``` - - A configuration stanza for a diffusers model hosted at HuggingFace will look like this, - with a `format` of `diffusers` and a `repo_id` that points to the - repository ID of the model on HuggingFace: - - ``` - stable-diffusion-2.1: - description: Stable Diffusion version 2.1 diffusers model (5.21 GB) - repo_id: stabilityai/stable-diffusion-2-1 - format: diffusers - ``` - - A configuration stanza for a diffuers model stored locally should - look like this, with a `format` of `diffusers`, but a `path` field - that points at the directory that contains `model_index.json`: - - ``` - waifu-diffusion: - description: Latest waifu diffusion 1.4 - format: diffusers - path: models/diffusers/hakurei-haifu-diffusion-1.4 - ``` - -2. In order of precedence, InvokeAI will now use HF_HOME, then - XDG_CACHE_HOME, then finally default to `ROOTDIR/models` to - store HuggingFace diffusers models. - - Consequently, the format of the models directory has changed to - mimic the HuggingFace cache directory. When HF_HOME and XDG_HOME - are not set, diffusers models are now automatically downloaded - and retrieved from the directory `ROOTDIR/models/diffusers`, - while other models are stored in the directory - `ROOTDIR/models/hub`. This organization is the same as that used - by HuggingFace for its cache management. - - This allows you to share diffusers and ckpt model files easily with - other machine learning applications that use the HuggingFace - libraries. To do this, set the environment variable HF_HOME - before starting up InvokeAI to tell it what directory to - cache models in. To tell InvokeAI to use the standard HuggingFace - cache directory, you would set HF_HOME like this (Linux/Mac): - - `export HF_HOME=~/.cache/huggingface` - - Both HuggingFace and InvokeAI will fall back to the XDG_CACHE_HOME - environment variable if HF_HOME is not set; this path - takes precedence over `ROOTDIR/models` to allow for the same sharing - with other machine learning applications that use HuggingFace - libraries. - -3. If you upgrade to InvokeAI 2.3.* from an earlier version, there - will be a one-time migration from the old models directory format - to the new one. You will see a message about this the first time - you start `invoke.py`. - -4. Both the front end back ends of the model manager have been - rewritten to accommodate diffusers. You can import models using - their local file path, using their URLs, or their HuggingFace - repo_ids. On the command line, all these syntaxes work: - - ``` - !import_model stabilityai/stable-diffusion-2-1-base - !import_model /opt/sd-models/sd-1.4.ckpt - !import_model https://huggingface.co/Fictiverse/Stable_Diffusion_PaperCut_Model/blob/main/PaperCut_v1.ckpt - ``` - -**KNOWN BUGS (15 January 2023) - -1. On CUDA systems, the 768 pixel stable-diffusion-2.0 and - stable-diffusion-2.1 models can only be run as `diffusers` models - when the `xformer` library is installed and configured. Without - `xformers`, InvokeAI returns black images. - -2. Inpainting and outpainting have regressed in quality. - -Both these issues are being actively worked on. - -## v2.2.4 (11 December 2022) - -**the `invokeai` directory** - -Previously there were two directories to worry about, the directory that -contained the InvokeAI source code and the launcher scripts, and the `invokeai` -directory that contained the models files, embeddings, configuration and -outputs. With the 2.2.4 release, this dual system is done away with, and -everything, including the `invoke.bat` and `invoke.sh` launcher scripts, now -live in a directory named `invokeai`. By default this directory is located in -your home directory (e.g. `\Users\yourname` on Windows), but you can select -where it goes at install time. - -After installation, you can delete the install directory (the one that the zip -file creates when it unpacks). Do **not** delete or move the `invokeai` -directory! - -**Initialization file `invokeai/invokeai.init`** - -You can place frequently-used startup options in this file, such as the default -number of steps or your preferred sampler. To keep everything in one place, this -file has now been moved into the `invokeai` directory and is named -`invokeai.init`. - -**To update from Version 2.2.3** - -The easiest route is to download and unpack one of the 2.2.4 installer files. -When it asks you for the location of the `invokeai` runtime directory, respond -with the path to the directory that contains your 2.2.3 `invokeai`. That is, if -`invokeai` lives at `C:\Users\fred\invokeai`, then answer with `C:\Users\fred` -and answer "Y" when asked if you want to reuse the directory. - -The `update.sh` (`update.bat`) script that came with the 2.2.3 source installer -does not know about the new directory layout and won't be fully functional. - -**To update to 2.2.5 (and beyond) there's now an update path** - -As they become available, you can update to more recent versions of InvokeAI -using an `update.sh` (`update.bat`) script located in the `invokeai` directory. -Running it without any arguments will install the most recent version of -InvokeAI. Alternatively, you can get set releases by running the `update.sh` -script with an argument in the command shell. This syntax accepts the path to -the desired release's zip file, which you can find by clicking on the green -"Code" button on this repository's home page. - -**Other 2.2.4 Improvements** - -- Fix InvokeAI GUI initialization by @addianto in #1687 -- fix link in documentation by @lstein in #1728 -- Fix broken link by @ShawnZhong in #1736 -- Remove reference to binary installer by @lstein in #1731 -- documentation fixes for 2.2.3 by @lstein in #1740 -- Modify installer links to point closer to the source installer by @ebr in - #1745 -- add documentation warning about 1650/60 cards by @lstein in #1753 -- Fix Linux source URL in installation docs by @andybearman in #1756 -- Make install instructions discoverable in readme by @damian0815 in #1752 -- typo fix by @ofirkris in #1755 -- Non-interactive model download (support HUGGINGFACE_TOKEN) by @ebr in #1578 -- fix(srcinstall): shell installer - cp scripts instead of linking by @tildebyte - in #1765 -- stability and usage improvements to binary & source installers by @lstein in - #1760 -- fix off-by-one bug in cross-attention-control by @damian0815 in #1774 -- Eventually update APP_VERSION to 2.2.3 by @spezialspezial in #1768 -- invoke script cds to its location before running by @lstein in #1805 -- Make PaperCut and VoxelArt models load again by @lstein in #1730 -- Fix --embedding_directory / --embedding_path not working by @blessedcoolant in - #1817 -- Clean up readme by @hipsterusername in #1820 -- Optimized Docker build with support for external working directory by @ebr in - #1544 -- disable pushing the cloud container by @mauwii in #1831 -- Fix docker push github action and expand with additional metadata by @ebr in - #1837 -- Fix Broken Link To Notebook by @VedantMadane in #1821 -- Account for flat models by @spezialspezial in #1766 -- Update invoke.bat.in isolate environment variables by @lynnewu in #1833 -- Arch Linux Specific PatchMatch Instructions & fixing conda install on linux by - @SammCheese in #1848 -- Make force free GPU memory work in img2img by @addianto in #1844 -- New installer by @lstein - -## v2.2.3 (2 December 2022) - -!!! Note - - This point release removes references to the binary installer from the - installation guide. The binary installer is not stable at the current - time. First time users are encouraged to use the "source" installer as - described in [Installing InvokeAI with the Source Installer](installation/deprecated_documentation/INSTALL_SOURCE.md) - -With InvokeAI 2.2, this project now provides enthusiasts and professionals a -robust workflow solution for creating AI-generated and human facilitated -compositions. Additional enhancements have been made as well, improving safety, -ease of use, and installation. - -Optimized for efficiency, InvokeAI needs only ~3.5GB of VRAM to generate a -512x768 image (and less for smaller images), and is compatible with -Windows/Linux/Mac (M1 & M2). - -You can see the [release video](https://youtu.be/hIYBfDtKaus) here, which -introduces the main WebUI enhancement for version 2.2 - -[The Unified Canvas](features/UNIFIED_CANVAS.md). This new workflow is the -biggest enhancement added to the WebUI to date, and unlocks a stunning amount of -potential for users to create and iterate on their creations. The following -sections describe what's new for InvokeAI. - -## v2.2.2 (30 November 2022) - -!!! note - - The binary installer is not ready for prime time. First time users are recommended to install via the "source" installer accessible through the links at the bottom of this page.**** - -With InvokeAI 2.2, this project now provides enthusiasts and professionals a -robust workflow solution for creating AI-generated and human facilitated -compositions. Additional enhancements have been made as well, improving safety, -ease of use, and installation. - -Optimized for efficiency, InvokeAI needs only ~3.5GB of VRAM to generate a -512x768 image (and less for smaller images), and is compatible with -Windows/Linux/Mac (M1 & M2). - -You can see the [release video](https://youtu.be/hIYBfDtKaus) here, which -introduces the main WebUI enhancement for version 2.2 - -[The Unified Canvas](https://invoke-ai.github.io/InvokeAI/features/UNIFIED_CANVAS/). -This new workflow is the biggest enhancement added to the WebUI to date, and -unlocks a stunning amount of potential for users to create and iterate on their -creations. The following sections describe what's new for InvokeAI. - -## v2.2.0 (2 December 2022) - -With InvokeAI 2.2, this project now provides enthusiasts and professionals a -robust workflow solution for creating AI-generated and human facilitated -compositions. Additional enhancements have been made as well, improving safety, -ease of use, and installation. - -Optimized for efficiency, InvokeAI needs only ~3.5GB of VRAM to generate a -512x768 image (and less for smaller images), and is compatible with -Windows/Linux/Mac (M1 & M2). - -You can see the [release video](https://youtu.be/hIYBfDtKaus) here, which -introduces the main WebUI enhancement for version 2.2 - -[The Unified Canvas](features/UNIFIED_CANVAS.md). This new workflow is the -biggest enhancement added to the WebUI to date, and unlocks a stunning amount of -potential for users to create and iterate on their creations. The following -sections describe what's new for InvokeAI. - -## v2.1.3 (13 November 2022) - -- A choice of installer scripts that automate installation and configuration. - See - [Installation](installation/INSTALLATION.md). -- A streamlined manual installation process that works for both Conda and - PIP-only installs. See - [Manual Installation](installation/020_INSTALL_MANUAL.md). -- The ability to save frequently-used startup options (model to load, steps, - sampler, etc) in a `.invokeai` file. See - [Client](deprecated/CLI.md) -- Support for AMD GPU cards (non-CUDA) on Linux machines. -- Multiple bugs and edge cases squashed. - -## v2.1.0 (2 November 2022) - -- update mac instructions to use invokeai for env name by @willwillems in #1030 -- Update .gitignore by @blessedcoolant in #1040 -- reintroduce fix for m1 from #579 missing after merge by @skurovec in #1056 -- Update Stable_Diffusion_AI_Notebook.ipynb (Take 2) by @ChloeL19 in #1060 -- Print out the device type which is used by @manzke in #1073 -- Hires Addition by @hipsterusername in #1063 -- fix for "1 leaked semaphore objects to clean up at shutdown" on M1 by - @skurovec in #1081 -- Forward dream.py to invoke.py using the same interpreter, add deprecation - warning by @db3000 in #1077 -- fix noisy images at high step counts by @lstein in #1086 -- Generalize facetool strength argument by @db3000 in #1078 -- Enable fast switching among models at the invoke> command line by @lstein in - #1066 -- Fix Typo, committed changing ldm environment to invokeai by @jdries3 in #1095 -- Update generate.py by @unreleased in #1109 -- Update 'ldm' env to 'invokeai' in troubleshooting steps by @19wolf in #1125 -- Fixed documentation typos and resolved merge conflicts by @rupeshs in #1123 -- Fix broken doc links, fix malaprop in the project subtitle by @majick in #1131 -- Only output facetool parameters if enhancing faces by @db3000 in #1119 -- Update gitignore to ignore codeformer weights at new location by - @spezialspezial in #1136 -- fix links to point to invoke-ai.github.io #1117 by @mauwii in #1143 -- Rework-mkdocs by @mauwii in #1144 -- add option to CLI and pngwriter that allows user to set PNG compression level - by @lstein in #1127 -- Fix img2img DDIM index out of bound by @wfng92 in #1137 -- Fix gh actions by @mauwii in #1128 -- update mac instructions to use invokeai for env name by @willwillems in #1030 -- Update .gitignore by @blessedcoolant in #1040 -- reintroduce fix for m1 from #579 missing after merge by @skurovec in #1056 -- Update Stable_Diffusion_AI_Notebook.ipynb (Take 2) by @ChloeL19 in #1060 -- Print out the device type which is used by @manzke in #1073 -- Hires Addition by @hipsterusername in #1063 -- fix for "1 leaked semaphore objects to clean up at shutdown" on M1 by - @skurovec in #1081 -- Forward dream.py to invoke.py using the same interpreter, add deprecation - warning by @db3000 in #1077 -- fix noisy images at high step counts by @lstein in #1086 -- Generalize facetool strength argument by @db3000 in #1078 -- Enable fast switching among models at the invoke> command line by @lstein in - #1066 -- Fix Typo, committed changing ldm environment to invokeai by @jdries3 in #1095 -- Fixed documentation typos and resolved merge conflicts by @rupeshs in #1123 -- Only output facetool parameters if enhancing faces by @db3000 in #1119 -- add option to CLI and pngwriter that allows user to set PNG compression level - by @lstein in #1127 -- Fix img2img DDIM index out of bound by @wfng92 in #1137 -- Add text prompt to inpaint mask support by @lstein in #1133 -- Respect http[s] protocol when making socket.io middleware by @damian0815 in - #976 -- WebUI: Adds Codeformer support by @psychedelicious in #1151 -- Skips normalizing prompts for web UI metadata by @psychedelicious in #1165 -- Add Asymmetric Tiling by @carson-katri in #1132 -- Web UI: Increases max CFG Scale to 200 by @psychedelicious in #1172 -- Corrects color channels in face restoration; Fixes #1167 by @psychedelicious - in #1175 -- Flips channels using array slicing instead of using OpenCV by @psychedelicious - in #1178 -- Fix typo in docs: s/Formally/Formerly by @noodlebox in #1176 -- fix clipseg loading problems by @lstein in #1177 -- Correct color channels in upscale using array slicing by @wfng92 in #1181 -- Web UI: Filters existing images when adding new images; Fixes #1085 by - @psychedelicious in #1171 -- fix a number of bugs in textual inversion by @lstein in #1190 -- Improve !fetch, add !replay command by @ArDiouscuros in #882 -- Fix generation of image with s>1000 by @holstvoogd in #951 -- Web UI: Gallery improvements by @psychedelicious in #1198 -- Update CLI.md by @krummrey in #1211 -- outcropping improvements by @lstein in #1207 -- add support for loading VAE autoencoders by @lstein in #1216 -- remove duplicate fix_func for MPS by @wfng92 in #1210 -- Metadata storage and retrieval fixes by @lstein in #1204 -- nix: add shell.nix file by @Cloudef in #1170 -- Web UI: Changes vite dist asset paths to relative by @psychedelicious in #1185 -- Web UI: Removes isDisabled from PromptInput by @psychedelicious in #1187 -- Allow user to generate images with initial noise as on M1 / mps system by - @ArDiouscuros in #981 -- feat: adding filename format template by @plucked in #968 -- Web UI: Fixes broken bundle by @psychedelicious in #1242 -- Support runwayML custom inpainting model by @lstein in #1243 -- Update IMG2IMG.md by @talitore in #1262 -- New dockerfile - including a build- and a run- script as well as a GH-Action - by @mauwii in #1233 -- cut over from karras to model noise schedule for higher steps by @lstein in - #1222 -- Prompt tweaks by @lstein in #1268 -- Outpainting implementation by @Kyle0654 in #1251 -- fixing aspect ratio on hires by @tjennings in #1249 -- Fix-build-container-action by @mauwii in #1274 -- handle all unicode characters by @damian0815 in #1276 -- adds models.user.yml to .gitignore by @JakeHL in #1281 -- remove debug branch, set fail-fast to false by @mauwii in #1284 -- Protect-secrets-on-pr by @mauwii in #1285 -- Web UI: Adds initial inpainting implementation by @psychedelicious in #1225 -- fix environment-mac.yml - tested on x64 and arm64 by @mauwii in #1289 -- Use proper authentication to download model by @mauwii in #1287 -- Prevent indexing error for mode RGB by @spezialspezial in #1294 -- Integrate sd-v1-5 model into test matrix (easily expandable), remove - unecesarry caches by @mauwii in #1293 -- add --no-interactive to configure_invokeai step by @mauwii in #1302 -- 1-click installer and updater. Uses micromamba to install git and conda into a - contained environment (if necessary) before running the normal installation - script by @cmdr2 in #1253 -- configure_invokeai.py script downloads the weight files by @lstein in #1290 - -## v2.0.1 (13 October 2022) - -- fix noisy images at high step count when using k\* samplers -- dream.py script now calls invoke.py module directly rather than via a new - python process (which could break the environment) - -## v2.0.0 (9 October 2022) - -- `dream.py` script renamed `invoke.py`. A `dream.py` script wrapper remains for - backward compatibility. -- Completely new WebGUI - launch with `python3 scripts/invoke.py --web` -- img2img runs on all k\* samplers -- Support for - [negative prompts](features/PROMPTS.md#negative-and-unconditioned-prompts) -- Support for CodeFormer face reconstruction -- Support for Textual Inversion on Macintoshes -- Support in both WebGUI and CLI for - [post-processing of previously-generated images](features/POSTPROCESS.md) - using facial reconstruction, ESRGAN upscaling, outcropping (similar to DALL-E - infinite canvas), and "embiggen" upscaling. See the `!fix` command. -- New `--hires` option on `invoke>` line allows - [larger images to be created without duplicating elements](deprecated/CLI.md#this-is-an-example-of-txt2img), - at the cost of some performance. -- New `--perlin` and `--threshold` options allow you to add and control - variation during image generation (see - [Thresholding and Perlin Noise Initialization](features/OTHER.md#thresholding-and-perlin-noise-initialization-options)) -- Extensive metadata now written into PNG files, allowing reliable regeneration - of images and tweaking of previous settings. -- Command-line completion in `invoke.py` now works on Windows, Linux and Mac - platforms. -- Improved [command-line completion behavior](deprecated/CLI.md) New commands - added: - - List command-line history with `!history` - - Search command-line history with `!search` - - Clear history with `!clear` -- Deprecated `--full_precision` / `-F`. Simply omit it and `invoke.py` will auto - configure. To switch away from auto use the new flag like - `--precision=float32`. - -## v1.14 (11 September 2022) - -- Memory optimizations for small-RAM cards. 512x512 now possible on 4 GB GPUs. -- Full support for Apple hardware with M1 or M2 chips. -- Add "seamless mode" for circular tiling of image. Generates beautiful effects. - ([prixt](https://github.com/prixt)). -- Inpainting support. -- Improved web server GUI. -- Lots of code and documentation cleanups. - -## v1.13 (3 September 2022) - -- Support image variations (see [VARIATIONS](deprecated/VARIATIONS.md) - ([Kevin Gibbons](https://github.com/bakkot) and many contributors and - reviewers) -- Supports a Google Colab notebook for a standalone server running on Google - hardware [Arturo Mendivil](https://github.com/artmen1516) -- WebUI supports GFPGAN/ESRGAN facial reconstruction and upscaling - [Kevin Gibbons](https://github.com/bakkot) -- WebUI supports incremental display of in-progress images during generation - [Kevin Gibbons](https://github.com/bakkot) -- A new configuration file scheme that allows new models (including upcoming - stable-diffusion-v1.5) to be added without altering the code. - ([David Wager](https://github.com/maddavid12)) -- Can specify --grid on invoke.py command line as the default. -- Miscellaneous internal bug and stability fixes. -- Works on M1 Apple hardware. -- Multiple bug fixes. - ---- - -## v1.12 (28 August 2022) - -- Improved file handling, including ability to read prompts from standard input. - (kudos to [Yunsaki](https://github.com/yunsaki) -- The web server is now integrated with the invoke.py script. Invoke by adding - --web to the invoke.py command arguments. -- Face restoration and upscaling via GFPGAN and Real-ESGAN are now automatically - enabled if the GFPGAN directory is located as a sibling to Stable Diffusion. - VRAM requirements are modestly reduced. Thanks to both - [Blessedcoolant](https://github.com/blessedcoolant) and - [Oceanswave](https://github.com/oceanswave) for their work on this. -- You can now swap samplers on the invoke> command line. - [Blessedcoolant](https://github.com/blessedcoolant) - ---- - -## v1.11 (26 August 2022) - -- NEW FEATURE: Support upscaling and face enhancement using the GFPGAN module. - (kudos to [Oceanswave](https://github.com/Oceanswave) -- You now can specify a seed of -1 to use the previous image's seed, -2 to use - the seed for the image generated before that, etc. Seed memory only extends - back to the previous command, but will work on all images generated with the - -n# switch. -- Variant generation support temporarily disabled pending more general solution. -- Created a feature branch named **yunsaki-morphing-invoke** which adds - experimental support for iteratively modifying the prompt and its parameters. - Please - see[Pull Request #86](https://github.com/lstein/stable-diffusion/pull/86) for - a synopsis of how this works. Note that when this feature is eventually added - to the main branch, it will may be modified significantly. - ---- - -## v1.10 (25 August 2022) - -- A barebones but fully functional interactive web server for online generation - of txt2img and img2img. - ---- - -## v1.09 (24 August 2022) - -- A new -v option allows you to generate multiple variants of an initial image - in img2img mode. (kudos to [Oceanswave](https://github.com/Oceanswave). - [ See this discussion in the PR for examples and details on use](https://github.com/lstein/stable-diffusion/pull/71#issuecomment-1226700810)) -- Added ability to personalize text to image generation (kudos to - [Oceanswave](https://github.com/Oceanswave) and - [nicolai256](https://github.com/nicolai256)) -- Enabled all of the samplers from k_diffusion - ---- - -## v1.08 (24 August 2022) - -- Escape single quotes on the invoke> command before trying to parse. This - avoids parse errors. -- Removed instruction to get Python3.8 as first step in Windows install. - Anaconda3 does it for you. -- Added bounds checks for numeric arguments that could cause crashes. -- Cleaned up the copyright and license agreement files. - ---- - -## v1.07 (23 August 2022) - -- Image filenames will now never fill gaps in the sequence, but will be assigned - the next higher name in the chosen directory. This ensures that the alphabetic - and chronological sort orders are the same. - ---- - -## v1.06 (23 August 2022) - -- Added weighted prompt support contributed by - [xraxra](https://github.com/xraxra) -- Example of using weighted prompts to tweak a demonic figure contributed by - [bmaltais](https://github.com/bmaltais) - ---- - -## v1.05 (22 August 2022 - after the drop) - -- Filenames now use the following formats: 000010.95183149.png -- Two files - produced by the same command (e.g. -n2), 000010.26742632.png -- distinguished - by a different seed. - - 000011.455191342.01.png -- Two files produced by the same command using - 000011.455191342.02.png -- a batch size>1 (e.g. -b2). They have the same seed. - - 000011.4160627868.grid#1-4.png -- a grid of four images (-g); the whole grid - can be regenerated with the indicated key - -- It should no longer be possible for one image to overwrite another -- You can use the "cd" and "pwd" commands at the invoke> prompt to set and - retrieve the path of the output directory. - ---- - -## v1.04 (22 August 2022 - after the drop) - -- Updated README to reflect installation of the released weights. -- Suppressed very noisy and inconsequential warning when loading the frozen CLIP - tokenizer. - ---- - -## v1.03 (22 August 2022) - -- The original txt2img and img2img scripts from the CompViz repository have been - moved into a subfolder named "orig_scripts", to reduce confusion. - ---- - -## v1.02 (21 August 2022) - -- A copy of the prompt and all of its switches and options is now stored in the - corresponding image in a tEXt metadata field named "Dream". You can read the - prompt using scripts/images2prompt.py, or an image editor that allows you to - explore the full metadata. **Please run "conda env update" to load the k_lms - dependencies!!** - ---- - -## v1.01 (21 August 2022) - -- added k_lms sampling. **Please run "conda env update" to load the k_lms - dependencies!!** -- use half precision arithmetic by default, resulting in faster execution and - lower memory requirements Pass argument --full_precision to invoke.py to get - slower but more accurate image generation - ---- - -## Links - -- **[Read Me](index.md)** diff --git a/docs/features/CONFIGURATION.md b/docs/configuration.md similarity index 92% rename from docs/features/CONFIGURATION.md rename to docs/configuration.md index d6bfe44901c..3d0378bc965 100644 --- a/docs/features/CONFIGURATION.md +++ b/docs/configuration.md @@ -90,10 +90,9 @@ Following the table are additional explanations for certain settings. ::: invokeai.app.services.config.config_default.InvokeAIAppConfig options: - heading_level: 4 + show_root_heading: false members: false show_docstring_description: false - group_by_category: true show_category_heading: false @@ -155,12 +154,12 @@ log_handlers: locally or to a remote logging machine. `syslog` offers a variety of configuration options: -``` - syslog=/dev/log` - log to the /dev/log device - syslog=localhost` - log to the network logger running on the local machine - syslog=localhost:512` - same as above, but using a non-standard port - syslog=fredserver,facility=LOG_USER,socktype=SOCK_DRAM` - - Log to LAN-connected server "fredserver" using the facility LOG_USER and datagram packets. +```yaml +syslog=/dev/log` - log to the /dev/log device +syslog=localhost` - log to the network logger running on the local machine +syslog=localhost:512` - same as above, but using a non-standard port +syslog=fredserver,facility=LOG_USER,socktype=SOCK_DRAM` +- Log to LAN-connected server "fredserver" using the facility LOG_USER and datagram packets. ``` - `http` can be used to log to a remote web server. The server must be @@ -169,8 +168,8 @@ log_handlers: indicating whether the message should be submitted using the GET or POST method. -``` - http=http://my.server/path/to/logger,method=POST +```yaml +http=http://my.server/path/to/logger,method=POST ``` The `log_format` option provides several alternative formats: diff --git a/docs/contributing/LOCAL_DEVELOPMENT.md b/docs/contributing/LOCAL_DEVELOPMENT.md index 0136fbfcd08..ef6d6573ecf 100644 --- a/docs/contributing/LOCAL_DEVELOPMENT.md +++ b/docs/contributing/LOCAL_DEVELOPMENT.md @@ -1,21 +1,10 @@ # Local Development -If you are looking to contribute you will need to have a local development -environment. See the -[Developer Install](../installation/020_INSTALL_MANUAL.md#developer-install) for -full details. - -Broadly this involves cloning the repository, installing the pre-reqs, and -InvokeAI (in editable form). Assuming this is working, choose your area of -focus. +If you want to contribute, you will need to set up a [local development environment](./dev-environment.md). ## Documentation -We use [mkdocs](https://www.mkdocs.org) for our documentation with the -[material theme](https://squidfunk.github.io/mkdocs-material/). Documentation is -written in markdown files under the `./docs` folder and then built into a static -website for hosting with GitHub Pages at -[invoke-ai.github.io/InvokeAI](https://invoke-ai.github.io/InvokeAI). +We use [mkdocs](https://www.mkdocs.org) for our documentation with the [material theme](https://squidfunk.github.io/mkdocs-material/). Documentation is written in markdown files under the `./docs` folder and then built into a static website for hosting with GitHub Pages at [invoke-ai.github.io/InvokeAI](https://invoke-ai.github.io/InvokeAI). To contribute to the documentation you'll need to install the dependencies. Note the use of `"`. @@ -50,6 +39,7 @@ and will be required for testing the changes you make to the code. ### Tests See the [tests documentation](./TESTS.md) for information about running and writing tests. + ### Reloading Changes Experimenting with changes to the Python source code is a drag if you have to re-start the server — @@ -63,7 +53,6 @@ running server on the fly. This will allow you to avoid restarting the server (and reloading models) in most cases, but there are some caveats; see the [jurigged documentation](https://github.com/breuleux/jurigged#caveats) for details. - ## Front End diff --git a/docs/contributing/contribution_guides/documentation.md b/docs/contributing/contribution_guides/documentation.md index 1b5b93f9ba9..36720a8dfab 100644 --- a/docs/contributing/contribution_guides/documentation.md +++ b/docs/contributing/contribution_guides/documentation.md @@ -1,13 +1,13 @@ # Documentation -Documentation is an important part of any open source project. It provides a clear and concise way to communicate how the software works, how to use it, and how to troubleshoot issues. Without proper documentation, it can be difficult for users to understand the purpose and functionality of the project. +Documentation is an important part of any open source project. It provides a clear and concise way to communicate how the software works, how to use it, and how to troubleshoot issues. Without proper documentation, it can be difficult for users to understand the purpose and functionality of the project. ## Contributing -All documentation is maintained in the InvokeAI GitHub repository. If you come across documentation that is out of date or incorrect, please submit a pull request with the necessary changes. +All documentation is maintained in our [GitHub repository](https://github.com/invoke-ai/InvokeAI). If you come across documentation that is out of date or incorrect, please submit a pull request with the necessary changes. -When updating or creating documentation, please keep in mind InvokeAI is a tool for everyone, not just those who have familiarity with generative art. +When updating or creating documentation, please keep in mind Invoke is a tool for everyone, not just those who have familiarity with generative art. ## Help & Questions -Please ping @imic or @hipsterusername in the [Discord](https://discord.com/channels/1020123559063990373/1049495067846524939) if you have any questions. \ No newline at end of file +Please ping @hipsterusername on [Discord](https://discord.gg/ZmtBAhwWhy) if you have any questions. diff --git a/docs/contributing/contribution_guides/newContributorChecklist.md b/docs/contributing/contribution_guides/newContributorChecklist.md index 90725f99ab1..4efcd06f376 100644 --- a/docs/contributing/contribution_guides/newContributorChecklist.md +++ b/docs/contributing/contribution_guides/newContributorChecklist.md @@ -1,47 +1,56 @@ # New Contributor Guide -If you're a new contributor to InvokeAI or Open Source Projects, this is the guide for you. +If you're a new contributor to InvokeAI or Open Source Projects, this is the guide for you. ## New Contributor Checklist -- [x] Set up your local development environment & fork of InvokAI by following [the steps outlined here](../../installation/020_INSTALL_MANUAL.md#developer-install) -- [x] Set up your local tooling with [this guide](InvokeAI/contributing/LOCAL_DEVELOPMENT/#developing-invokeai-in-vscode). Feel free to skip this step if you already have tooling you're comfortable with. + +- [x] Set up your local development environment & fork of InvokAI by following [the steps outlined here](../dev-environment.md) +- [x] Set up your local tooling with [this guide](InvokeAI/contributing/LOCAL_DEVELOPMENT/#developing-invokeai-in-vscode). Feel free to skip this step if you already have tooling you're comfortable with. - [x] Familiarize yourself with [Git](https://www.atlassian.com/git) & our project structure by reading through the [development documentation](development.md) - [x] Join the [#dev-chat](https://discord.com/channels/1020123559063990373/1049495067846524939) channel of the Discord -- [x] Choose an issue to work on! This can be achieved by asking in the #dev-chat channel, tackling a [good first issue](https://github.com/invoke-ai/InvokeAI/contribute) or finding an item on the [roadmap](https://github.com/orgs/invoke-ai/projects/7). If nothing in any of those places catches your eye, feel free to work on something of interest to you! +- [x] Choose an issue to work on! This can be achieved by asking in the #dev-chat channel, tackling a [good first issue](https://github.com/invoke-ai/InvokeAI/contribute) or finding an item on the [roadmap](https://github.com/orgs/invoke-ai/projects/7). If nothing in any of those places catches your eye, feel free to work on something of interest to you! - [x] Make your first Pull Request with the guide below - [x] Happy development! Don't be afraid to ask for help - we're happy to help you contribute! - ## How do I make a contribution? Never made an open source contribution before? Wondering how contributions work in our project? Here's a quick rundown! Before starting these steps, ensure you have your local environment [configured for development](../LOCAL_DEVELOPMENT.md). -1. Find a [good first issue](https://github.com/invoke-ai/InvokeAI/contribute) that you are interested in addressing or a feature that you would like to add. Then, reach out to our team in the [#dev-chat](https://discord.com/channels/1020123559063990373/1049495067846524939) channel of the Discord to ensure you are setup for success. +1. Find a [good first issue](https://github.com/invoke-ai/InvokeAI/contribute) that you are interested in addressing or a feature that you would like to add. Then, reach out to our team in the [#dev-chat](https://discord.com/channels/1020123559063990373/1049495067846524939) channel of the Discord to ensure you are setup for success. 2. Fork the [InvokeAI](https://github.com/invoke-ai/InvokeAI) repository to your GitHub profile. This means that you will have a copy of the repository under **your-GitHub-username/InvokeAI**. 3. Clone the repository to your local machine using: -```bash -git clone https://github.com/your-GitHub-username/InvokeAI.git -``` -If you're unfamiliar with using Git through the commandline, [GitHub Desktop](https://desktop.github.com) is a easy-to-use alternative with a UI. You can do all the same steps listed here, but through the interface. -4. Create a new branch for your fix using: -```bash -git checkout -b branch-name-here -``` + + ```bash + git clone https://github.com/your-GitHub-username/InvokeAI.git + ``` + +If you're unfamiliar with using Git through the commandline, [GitHub Desktop](https://desktop.github.com) is a easy-to-use alternative with a UI. You can do all the same steps listed here, but through the interface. 4. Create a new branch for your fix using: + + ```bash + git checkout -b branch-name-here + ``` + 5. Make the appropriate changes for the issue you are trying to address or the feature that you want to add. 6. Add the file contents of the changed files to the "snapshot" git uses to manage the state of the project, also known as the index: -```bash -git add -A -``` + + ```bash + git add -A + ``` + 7. Store the contents of the index with a descriptive message. -```bash -git commit -m "Insert a short message of the changes made here" -``` + + ```bash + git commit -m "Insert a short message of the changes made here" + ``` + 8. Push the changes to the remote repository using -```bash -git push origin branch-name-here -``` + + ```bash + git push origin branch-name-here + ``` + 9. Submit a pull request to the **main** branch of the InvokeAI repository. If you're not sure how to, [follow this guide](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request) 10. Title the pull request with a short description of the changes made and the issue or bug number associated with your change. For example, you can title an issue like so "Added more log outputting to resolve #1234". 11. In the description of the pull request, explain the changes that you made, any issues you think exist with the pull request you made, and any questions you have for the maintainer. It's OK if your pull request is not perfect (no pull request is), the reviewer will be able to help you fix any problems and improve it! @@ -49,20 +58,20 @@ git push origin branch-name-here 13. Make changes to the pull request if the reviewer(s) recommend them. 14. Celebrate your success after your pull request is merged! -If you’d like to learn more about contributing to Open Source projects, here is a [Getting Started Guide](https://opensource.com/article/19/7/create-pull-request-github). +If you’d like to learn more about contributing to Open Source projects, here is a [Getting Started Guide](https://opensource.com/article/19/7/create-pull-request-github). +## Best Practices -## Best Practices: -* Keep your pull requests small. Smaller pull requests are more likely to be accepted and merged -* Comments! Commenting your code helps reviewers easily understand your contribution -* Use Python and Typescript’s typing systems, and consider using an editor with [LSP](https://microsoft.github.io/language-server-protocol/) support to streamline development -* Make all communications public. This ensure knowledge is shared with the whole community +- Keep your pull requests small. Smaller pull requests are more likely to be accepted and merged +- Comments! Commenting your code helps reviewers easily understand your contribution +- Use Python and Typescript’s typing systems, and consider using an editor with [LSP](https://microsoft.github.io/language-server-protocol/) support to streamline development +- Make all communications public. This ensure knowledge is shared with the whole community ## **Where can I go for help?** If you need help, you can ask questions in the [#dev-chat](https://discord.com/channels/1020123559063990373/1049495067846524939) channel of the Discord. -For frontend related work, **@pyschedelicious** is the best person to reach out to. +For frontend related work, **@pyschedelicious** is the best person to reach out to. For backend related work, please reach out to **@blessedcoolant**, **@lstein**, **@StAlKeR7779** or **@pyschedelicious**. diff --git a/docs/contributing/contribution_guides/translation.md b/docs/contributing/contribution_guides/translation.md index 669e4033467..5fe60f7af71 100644 --- a/docs/contributing/contribution_guides/translation.md +++ b/docs/contributing/contribution_guides/translation.md @@ -16,4 +16,4 @@ Please check Weblate's [documentation](https://docs.weblate.org/en/latest/index ## Thanks -Thanks to the InvokeAI community for their efforts to translate the project! \ No newline at end of file +Thanks to the InvokeAI community for their efforts to translate the project! diff --git a/docs/contributing/contributors.md b/docs/contributing/contributors.md new file mode 100644 index 00000000000..5df11933cba --- /dev/null +++ b/docs/contributing/contributors.md @@ -0,0 +1,54 @@ +--- +title: Contributors +--- + +We thank [all contributors](https://github.com/invoke-ai/InvokeAI/graphs/contributors) for their time and hard work! + +## **Original Author** + +- [Lincoln D. Stein](mailto:lincoln.stein@gmail.com) + +## **Current Core Team** + +- @lstein (Lincoln Stein) - Co-maintainer +- @blessedcoolant - Co-maintainer +- @hipsterusername (Kent Keirsey) - Co-maintainer, CEO, Positive Vibes +- @psychedelicious (Spencer Mabrito) - Web Team Leader +- @joshistoast (Josh Corbett) - Web Development +- @cheerio (Mary Rogers) - Lead Engineer & Web App Development +- @ebr (Eugene Brodsky) - Cloud/DevOps/Sofware engineer; your friendly neighbourhood cluster-autoscaler +- @sunija - Standalone version +- @brandon (Brandon Rising) - Platform, Infrastructure, Backend Systems +- @ryanjdick (Ryan Dick) - Machine Learning & Training +- @JPPhoto - Core image generation nodes +- @dunkeroni - Image generation backend +- @SkunkWorxDark - Image generation backend +- @glimmerleaf (Devon Hopkins) - Community Wizard +- @gogurt enjoyer - Discord moderator and end user support +- @whosawhatsis - Discord moderator and end user support +- @dwringer - Discord moderator and end user support +- @526christian - Discord moderator and end user support +- @harvester62 - Discord moderator and end user support + +## **Honored Team Alumni** + +- @StAlKeR7779 (Sergey Borisov) - Torch stack, ONNX, model management, optimization +- @damian0815 - Attention Systems and Compel Maintainer +- @netsvetaev (Artur) - Localization support +- @Kyle0654 (Kyle Schouviller) - Node Architect and General Backend Wizard +- @tildebyte - Installation and configuration +- @mauwii (Matthias Wilde) - Installation, release, continuous integration +- @chainchompa (Jennifer Player) - Web Development & Chain-Chomping +- @millu (Millun Atluri) - Community Wizard, Documentation, Node-wrangler, +- @genomancer (Gregg Helt) - Controlnet support +- @keturn (Kevin Turner) - Diffusers + +## **Original CompVis (Stable Diffusion) Authors** + +- [Robin Rombach](https://github.com/rromb) +- [Patrick von Platen](https://github.com/patrickvonplaten) +- [ablattmann](https://github.com/ablattmann) +- [Patrick Esser](https://github.com/pesser) +- [owenvincent](https://github.com/owenvincent) +- [apolinario](https://github.com/apolinario) +- [Charles Packer](https://github.com/cpacker) diff --git a/docs/contributing/dev-environment.md b/docs/contributing/dev-environment.md new file mode 100644 index 00000000000..4c1d5db1d96 --- /dev/null +++ b/docs/contributing/dev-environment.md @@ -0,0 +1,99 @@ +# Dev Environment + +To make changes to Invoke's backend, frontend, or documentation, you'll need to set up a dev environment. + +If you just want to use Invoke, you should use the [installer][installer link]. + +!!! info "Why do I need the frontend toolchain?" + + The repo doesn't contain a build of the frontend. You'll be responsible for rebuilding it every time you pull in new changes, or run it in dev mode (which incurs a substantial performance penalty). + +!!! warning + + Invoke uses a SQLite database. When you run the application as a dev install, you accept responsibility for your database. This means making regular backups (especially before pulling) and/or fixing it yourself in the event that a PR introduces a schema change. + + If you don't need to persist your db, you can use an ephemeral in-memory database by setting `use_memory_db: true` in your `invokeai.yaml` file. You'll also want to set `scan_models_on_startup: true` so that your models are registered on startup. + +## Setup + +1. Run through the [requirements][requirements link]. +1. [Fork and clone][forking link] the [InvokeAI repo][repo link]. +1. Create an directory for user data (images, models, db, etc). This is typically at `~/invokeai`, but if you already have a non-dev install, you may want to create a separate directory for the dev install. +1. Create a python virtual environment inside the directory you just created: + + ```sh + python3 -m venv .venv --prompt InvokeAI-Dev + ``` + +1. Activate the venv (you'll need to do this every time you want to run the app): + + ```sh + source .venv/bin/activate + ``` + +1. Install the repo as an [editable install][editable install link]: + + ```sh + pip install -e ".[dev,test,xformers]" --use-pep517 --extra-index-url https://download.pytorch.org/whl/cu121 + ``` + + Refer to the [manual installation][manual install link]] instructions for more determining the correct install options. `xformers` is optional, but `dev` and `test` are not. + +1. Install the frontend dev toolchain: + + - [`nodejs`](https://nodejs.org/) (recommend v20 LTS) + - [`pnpm`](https://pnpm.io/installation#installing-a-specific-version) (must be v8 - not v9!) + +1. Do a production build of the frontend: + + ```sh + pnpm build + ``` + +1. Start the application: + + ```sh + python scripts/invokeai-web.py + ``` + +1. Access the UI at `localhost:9090`. + +## Updating the UI + +You'll need to run `pnpm build` every time you pull in new changes. Another option is to skip the build and instead run the app in dev mode: + +```sh +pnpm dev +``` + +This starts a dev server at `localhost:5173`, which you will use instead of `localhost:9090`. + +The dev mode is substantially slower than the production build but may be more convenient if you just need to test things out. + +## Documentation + +The documentation is built with `mkdocs`. To preview it locally, you need a additional set of packages installed. + +```sh +# after activating the venv +pip install -e ".[docs]" +``` + +Then, you can start a live docs dev server, which will auto-refresh when you edit the docs: + +```sh +mkdocs serve +``` + +On macOS and Linux, there is a `make` target for this: + +```sh +make docs +``` + +[installer link]: ../installation/installer.md +[forking link]: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo +[requirements link]: ../installation/requirements.md +[repo link]: https://github.com/invoke-ai/InvokeAI +[manual install link]: ../installation/manual.md +[editable install link]: https://pip.pypa.io/en/latest/cli/pip_install/#cmdoption-e diff --git a/docs/contributing/frontend/OVERVIEW.md b/docs/contributing/frontend/index.md similarity index 66% rename from docs/contributing/frontend/OVERVIEW.md rename to docs/contributing/frontend/index.md index 486e75ea9f9..0e0ff55f3db 100644 --- a/docs/contributing/frontend/OVERVIEW.md +++ b/docs/contributing/frontend/index.md @@ -4,52 +4,42 @@ Invoke's UI is made possible by many contributors and open-source libraries. Tha ## Dev environment -### Setup +Follow the [dev environment](../dev-environment.md) guide to get set up. Run the UI using `pnpm dev`. -1. Install [node] and [pnpm]. -1. Run `pnpm i` to install all packages. - -#### Run in dev mode - -1. From `invokeai/frontend/web/`, run `pnpm dev`. -1. From repo root, run `python scripts/invokeai-web.py`. -1. Point your browser to the dev server address, e.g. - -### Package scripts +## Package scripts - `dev`: run the frontend in dev mode, enabling hot reloading -- `build`: run all checks (madge, eslint, prettier, tsc) and then build the frontend -- `typegen`: generate types from the OpenAPI schema (see [Type generation]) +- `build`: run all checks (dpdm, eslint, prettier, tsc, knip) and then build the frontend - `lint:dpdm`: check circular dependencies - `lint:eslint`: check code quality - `lint:prettier`: check code formatting - `lint:tsc`: check type issues -- `lint:knip`: check for unused exports or objects (failures here are just suggestions, not hard fails) +- `lint:knip`: check for unused exports or objects - `lint`: run all checks concurrently - `fix`: run `eslint` and `prettier`, fixing fixable issues +- `test:ui`: run `vitest` with the fancy web UI -### Type generation +## Type generation -We use [openapi-typescript] to generate types from the app's OpenAPI schema. +We use [openapi-typescript] to generate types from the app's OpenAPI schema. The generated types are committed to the repo in [schema.ts]. -The generated types are committed to the repo in [schema.ts]. +If you make backend changes, it's important to regenerate the frontend types: ```sh -# from the repo root, start the server -python scripts/invokeai-web.py -# from invokeai/frontend/web/, run the script -pnpm typegen +cd invokeai/frontend/web && python ../../../scripts/generate_openapi_schema.py | pnpm typegen ``` -### Localization +On macOS and Linux, you can run `make frontend-typegen` as a shortcut for the above snippet. + +## Localization We use [i18next] for localization, but translation to languages other than English happens on our [Weblate] project. -Only the English source strings should be changed on this repo. +Only the English source strings (i.e. `en.json`) should be changed on this repo. -### VSCode +## VSCode -#### Example debugger config +### Example debugger config ```jsonc { @@ -66,7 +56,7 @@ Only the English source strings should be changed on this repo. } ``` -#### Remote dev +### Remote dev We've noticed an intermittent timeout issue with the VSCode remote dev port forwarding. @@ -82,7 +72,7 @@ Thanks for your interest in contributing to the Invoke Web UI! Please follow these guidelines when contributing. -### Check in before investing your time +## Check in before investing your time Please check in before you invest your time on anything besides a trivial fix, in case it conflicts with ongoing work or isn't aligned with the vision for the app. @@ -90,7 +80,7 @@ If a feature request or issue doesn't already exist for the thing you want to wo Ping `@psychedelicious` on [discord] in the `#frontend-dev` channel or in the feature request / issue you want to work on - we're happy to chat. -### Code conventions +## Code conventions - This is a fairly complex app with a deep component tree. Please use memoization (`useCallback`, `useMemo`, `memo`) with enthusiasm. - If you need to add some global, ephemeral state, please use [nanostores] if possible. @@ -98,7 +88,7 @@ Ping `@psychedelicious` on [discord] in the `#frontend-dev` channel or in the fe - Feel free to use `lodash` (via `lodash-es`) to make the intent of your code clear. - Please add comments describing the "why", not the "how" (unless it is really arcane). -### Commit format +## Commit format Please use the [conventional commits] spec for the web UI, with a scope of "ui": @@ -107,27 +97,32 @@ Please use the [conventional commits] spec for the web UI, with a scope of "ui": - `feat(ui): add some cool new feature` - `fix(ui): fix some bug` -### Submitting a PR +## Tests + +We don't do any UI testing at this time, but consider adding tests for sensitive logic. + +We use `vitest`, and tests should be next to the file they are testing. If the logic is in `something.ts`, the tests should be in `something.test.ts`. + +In some situations, we may want to test types. For example, if you use `zod` to create a schema that should match a generated type, it's best to add a test to confirm that the types match. Use `tsafe`'s assert for this. + +## Submitting a PR - Ensure your branch is tidy. Use an interactive rebase to clean up the commit history and reword the commit messages if they are not descriptive. - Run `pnpm lint`. Some issues are auto-fixable with `pnpm fix`. - Fill out the PR form when creating the PR. - It doesn't need to be super detailed, but a screenshot or video is nice if you changed something visually. - - If a section isn't relevant, delete it. There are no UI tests at this time. + - If a section isn't relevant, delete it. ## Other docs - [Workflows - Design and Implementation] - [State Management] -[node]: https://nodejs.org/en/download/ -[pnpm]: https://github.com/pnpm/pnpm [discord]: https://discord.gg/ZmtBAhwWhy [i18next]: https://github.com/i18next/react-i18next [Weblate]: https://hosted.weblate.org/engage/invokeai/ -[openapi-typescript]: https://github.com/drwpow/openapi-typescript -[Type generation]: #type-generation +[openapi-typescript]: https://github.com/openapi-ts/openapi-typescript [schema.ts]: https://github.com/invoke-ai/InvokeAI/blob/main/invokeai/frontend/web/src/services/api/schema.ts [conventional commits]: https://www.conventionalcommits.org/en/v1.0.0/ -[Workflows - Design and Implementation]: ./WORKFLOWS.md -[State Management]: ./STATE_MGMT.md +[Workflows - Design and Implementation]: ./workflows.md +[State Management]: ./state-management.md diff --git a/docs/contributing/frontend/STATE_MGMT.md b/docs/contributing/frontend/state-management.md similarity index 90% rename from docs/contributing/frontend/STATE_MGMT.md rename to docs/contributing/frontend/state-management.md index 443446c01c6..0990a0489f7 100644 --- a/docs/contributing/frontend/STATE_MGMT.md +++ b/docs/contributing/frontend/state-management.md @@ -4,7 +4,7 @@ The app makes heavy use of Redux Toolkit, its Query library, and `nanostores`. ## Redux -TODO +We use RTK extensively - slices, entity adapters, queries, reselect, the whole 9 yards. Their [docs](https://redux-toolkit.js.org/) are excellent. ## `nanostores` diff --git a/docs/contributing/frontend/WORKFLOWS.md b/docs/contributing/frontend/workflows.md similarity index 100% rename from docs/contributing/frontend/WORKFLOWS.md rename to docs/contributing/frontend/workflows.md diff --git a/docs/contributing/CONTRIBUTING.md b/docs/contributing/index.md similarity index 69% rename from docs/contributing/CONTRIBUTING.md rename to docs/contributing/index.md index ccaf4f25610..c5d677d9c87 100644 --- a/docs/contributing/CONTRIBUTING.md +++ b/docs/contributing/index.md @@ -1,41 +1,42 @@ # Contributing -Invoke AI originated as a project built by the community, and that vision carries forward today as we aim to build the best pro-grade tools available. We work together to incorporate the latest in AI/ML research, making these tools available in over 20 languages to artists and creatives around the world as part of our fully permissive OSS project designed for individual users to self-host and use. +Invoke originated as a project built by the community, and that vision carries forward today as we aim to build the best pro-grade tools available. We work together to incorporate the latest in AI/ML research, making these tools available in over 20 languages to artists and creatives around the world as part of our fully permissive OSS project designed for individual users to self-host and use. - -# Methods of Contributing to Invoke AI -Anyone who wishes to contribute to InvokeAI, whether features, bug fixes, code cleanup, testing, code reviews, documentation or translation is very much encouraged to do so. +We welcome contributions, whether features, bug fixes, code cleanup, testing, code reviews, documentation or translation. Please check in with us before diving in to code to ensure your work aligns with our vision. ## Development -If you’d like to help with development, please see our [development guide](contribution_guides/development.md). + +If you’d like to help with development, please see our [development guide](contribution_guides/development.md). **New Contributors:** If you’re unfamiliar with contributing to open source projects, take a look at our [new contributor guide](contribution_guides/newContributorChecklist.md). ## Nodes + If you’d like to add a Node, please see our [nodes contribution guide](../nodes/contributingNodes.md). ## Support and Triaging -Helping support other users in [Discord](https://discord.gg/ZmtBAhwWhy) and on Github are valuable forms of contribution that we greatly appreciate. -We receive many issues and requests for help from users. We're limited in bandwidth relative to our the user base, so providing answers to questions or helping identify causes of issues is very helpful. By doing this, you enable us to spend time on the highest priority work. +Helping support other users in [Discord](https://discord.gg/ZmtBAhwWhy) and on Github are valuable forms of contribution that we greatly appreciate. + +We receive many issues and requests for help from users. We're limited in bandwidth relative to our the user base, so providing answers to questions or helping identify causes of issues is very helpful. By doing this, you enable us to spend time on the highest priority work. ## Documentation + If you’d like to help with documentation, please see our [documentation guide](contribution_guides/documentation.md). ## Translation -If you'd like to help with translation, please see our [translation guide](contribution_guides/translation.md). -## Tutorials -Please reach out to @imic or @hipsterusername on [Discord](https://discord.gg/ZmtBAhwWhy) to help create tutorials for InvokeAI. +If you'd like to help with translation, please see our [translation guide](contribution_guides/translation.md). -We hope you enjoy using our software as much as we enjoy creating it, and we hope that some of those of you who are reading this will elect to become part of our contributor community. +## Tutorials +Please reach out to @hipsterusername on [Discord](https://discord.gg/ZmtBAhwWhy) to help create tutorials for InvokeAI. -# Contributors +## Contributors This project is a combined effort of dedicated people from across the world. [Check out the list of all these amazing people](https://invoke-ai.github.io/InvokeAI/other/CONTRIBUTORS/). We thank them for their time, hard work and effort. -# Code of Conduct +## Code of Conduct The InvokeAI community is a welcoming place, and we want your help in maintaining that. Please review our [Code of Conduct](https://github.com/invoke-ai/InvokeAI/blob/main/CODE_OF_CONDUCT.md) to learn more - it's essential to maintaining a respectful and inclusive environment. @@ -49,12 +50,3 @@ By making a contribution to this project, you certify that: This disclaimer is not a license and does not grant any rights or permissions. You must obtain necessary permissions and licenses, including from third parties, before contributing to this project. This disclaimer is provided "as is" without warranty of any kind, whether expressed or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, or non-infringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the contribution or the use or other dealings in the contribution. -# Support - -For support, please use this repository's [GitHub Issues](https://github.com/invoke-ai/InvokeAI/issues), or join the [Discord](https://discord.gg/ZmtBAhwWhy). - -Original portions of the software are Copyright (c) 2023 by respective contributors. - ---- - -Remember, your contributions help make this project great. We're excited to see what you'll bring to our community! diff --git a/docs/help/FAQ.md b/docs/faq.md similarity index 96% rename from docs/help/FAQ.md rename to docs/faq.md index 8ef3a70777f..08edf2e9449 100644 --- a/docs/help/FAQ.md +++ b/docs/faq.md @@ -2,7 +2,7 @@ !!! info "How to Reinstall" - Many issues can be resolved by re-installing the application. You won't lose any data by re-installing. We suggest downloading the [latest release](https://github.com/invoke-ai/InvokeAI/releases/latest) and using it to re-install the application. Consult the [installer guide](../installation/010_INSTALL_AUTOMATED.md) for more information. + Many issues can be resolved by re-installing the application. You won't lose any data by re-installing. We suggest downloading the [latest release](https://github.com/invoke-ai/InvokeAI/releases/latest) and using it to re-install the application. Consult the [installer guide](./installation/installer.md) for more information. When you run the installer, you'll have an option to select the version to install. If you aren't ready to upgrade, you choose the current version to fix a broken install. @@ -92,7 +92,7 @@ Most example images with prompts that you'll find on the internet have been gene During a zip file installation or an update, installation stops with an error like this: -![broken-dependency-screenshot](../assets/troubleshooting/broken-dependency.png){:width="800px"} +![broken-dependency-screenshot](./assets/troubleshooting/broken-dependency.png){:width="800px"} To resolve this, re-install the application as described above. @@ -164,7 +164,7 @@ If you encounter this error, the solution is to remove the package from the `pip - Choose the developer console option - Run this command: `pip cache remove controlnet_aux` - Close the terminal window -- Download and run the [installer](https://github.com/invoke-ai/InvokeAI/releases/latest), selecting your current install location +- Download and run the [installer][latest release], selecting your current install location ## Out of Memory Issues @@ -196,7 +196,7 @@ tips to reduce the problem: === "12GB VRAM GPU" This should be sufficient to generate larger images up to about 1280x1280. - + ## Checkpoint Models Load Slowly or Use Too Much RAM The difference between diffusers models (a folder containing multiple @@ -251,10 +251,10 @@ To better understand how the `glibc` memory allocator works, see these reference Note the differences between memory allocated as chunks in an arena vs. memory allocated with `mmap`. Under `glibc`'s default configuration, most model tensors get allocated as chunks in an arena making them vulnerable to the problem of fragmentation. -[model install docs]: ../installation/050_INSTALLING_MODELS.md -[system requirements]: ../installation/INSTALL_REQUIREMENTS.md +[model install docs]: ./installation/models.md +[system requirements]: ./installation/requirements.md [latest release]: https://github.com/invoke-ai/InvokeAI/releases/latest [create an issue]: https://github.com/invoke-ai/InvokeAI/issues [discord]: https://discord.gg/ZmtBAhwWhy -[configuration docs]: ../features/CONFIGURATION.md +[configuration docs]: ./configuration.md [access token]: https://huggingface.co/docs/hub/security-tokens#how-to-manage-user-access-tokens diff --git a/docs/features/CONTROLNET.md b/docs/features/CONTROLNET.md deleted file mode 100644 index ce7a4d2898e..00000000000 --- a/docs/features/CONTROLNET.md +++ /dev/null @@ -1,181 +0,0 @@ ---- -title: Control Adapters ---- - -# :material-loupe: Control Adapters - -## ControlNet - -ControlNet is a powerful set of features developed by the open-source -community (notably, Stanford researcher -[**@ilyasviel**](https://github.com/lllyasviel)) that allows you to -apply a secondary neural network model to your image generation -process in Invoke. - -With ControlNet, you can get more control over the output of your -image generation, providing you with a way to direct the network -towards generating images that better fit your desired style or -outcome. - -ControlNet works by analyzing an input image, pre-processing that -image to identify relevant information that can be interpreted by each -specific ControlNet model, and then inserting that control information -into the generation process. This can be used to adjust the style, -composition, or other aspects of the image to better achieve a -specific result. - -#### Installation - -InvokeAI provides access to a series of ControlNet models that provide -different effects or styles in your generated images. - -To install ControlNet Models: - -1. The easiest way to install them is -to use the InvokeAI model installer application. Use the -`invoke.sh`/`invoke.bat` launcher to select item [4] and then navigate -to the CONTROLNETS section. Select the models you wish to install and -press "APPLY CHANGES". You may also enter additional HuggingFace -repo_ids in the "Additional models" textbox. -2. Using the "Add Model" function of the model manager, enter the HuggingFace Repo ID of the ControlNet. The ID is in the format "author/repoName" - - -_Be aware that some ControlNet models require additional code -functionality in order to work properly, so just installing a -third-party ControlNet model may not have the desired effect._ Please -read and follow the documentation for installing a third party model -not currently included among InvokeAI's default list. - -Currently InvokeAI **only** supports 🤗 Diffusers-format ControlNet models. These are -folders that contain the files `config.json` and/or -`diffusion_pytorch_model.safetensors` and -`diffusion_pytorch_model.fp16.safetensors`. The name of the folder is -the name of the model. - -🤗 Diffusers-format ControlNet models are available at HuggingFace -(http://huggingface.co) and accessed via their repo IDs (identifiers -in the format "author/modelname"). - -#### ControlNet Models -The models currently supported include: - -**Canny**: - -When the Canny model is used in ControlNet, Invoke will attempt to generate images that match the edges detected. - -Canny edge detection works by detecting the edges in an image by looking for abrupt changes in intensity. It is known for its ability to detect edges accurately while reducing noise and false edges, and the preprocessor can identify more information by decreasing the thresholds. - -**M-LSD**: - -M-LSD is another edge detection algorithm used in ControlNet. It stands for Multi-Scale Line Segment Detector. - -It detects straight line segments in an image by analyzing the local structure of the image at multiple scales. It can be useful for architectural imagery, or anything where straight-line structural information is needed for the resulting output. - -**Lineart**: - -The Lineart model in ControlNet generates line drawings from an input image. The resulting pre-processed image is a simplified version of the original, with only the outlines of objects visible.The Lineart model in ControlNet is known for its ability to accurately capture the contours of the objects in an input sketch. - -**Lineart Anime**: - -A variant of the Lineart model that generates line drawings with a distinct style inspired by anime and manga art styles. - -**Depth**: -A model that generates depth maps of images, allowing you to create more realistic 3D models or to simulate depth effects in post-processing. - -**Normal Map (BAE):** -A model that generates normal maps from input images, allowing for more realistic lighting effects in 3D rendering. - -**Image Segmentation**: -A model that divides input images into segments or regions, each of which corresponds to a different object or part of the image. (More details coming soon) - -**QR Code Monster**: -A model that helps generate creative QR codes that still scan. Can also be used to create images with text, logos or shapes within them. - -**Openpose**: -The OpenPose control model allows for the identification of the general pose of a character by pre-processing an existing image with a clear human structure. With advanced options, Openpose can also detect the face or hands in the image. - -*Note:* The DWPose Processor has replaced the OpenPose processor in Invoke. Workflows and generations that relied on the OpenPose Processor will need to be updated to use the DWPose Processor instead. - -**Mediapipe Face**: - -The MediaPipe Face identification processor is able to clearly identify facial features in order to capture vivid expressions of human faces. - -**Tile**: - -The Tile model fills out details in the image to match the image, rather than the prompt. The Tile Model is a versatile tool that offers a range of functionalities. Its primary capabilities can be boiled down to two main behaviors: - -- It can reinterpret specific details within an image and create fresh, new elements. -- It has the ability to disregard global instructions if there's a discrepancy between them and the local context or specific parts of the image. In such cases, it uses the local context to guide the process. - -The Tile Model can be a powerful tool in your arsenal for enhancing image quality and details. If there are undesirable elements in your images, such as blurriness caused by resizing, this model can effectively eliminate these issues, resulting in cleaner, crisper images. Moreover, it can generate and add refined details to your images, improving their overall quality and appeal. - -**Pix2Pix (experimental)** - -With Pix2Pix, you can input an image into the controlnet, and then "instruct" the model to change it using your prompt. For example, you can say "Make it winter" to add more wintry elements to a scene. - -Each of these models can be adjusted and combined with other ControlNet models to achieve different results, giving you even more control over your image generation process. - - -### Using ControlNet - -To use ControlNet, you can simply select the desired model and adjust both the ControlNet and Pre-processor settings to achieve the desired result. You can also use multiple ControlNet models at the same time, allowing you to achieve even more complex effects or styles in your generated images. - - -Each ControlNet has two settings that are applied to the ControlNet. - -Weight - Strength of the Controlnet model applied to the generation for the section, defined by start/end. - -Start/End - 0 represents the start of the generation, 1 represents the end. The Start/end setting controls what steps during the generation process have the ControlNet applied. - -Additionally, each ControlNet section can be expanded in order to manipulate settings for the image pre-processor that adjusts your uploaded image before using it in when you Invoke. - -## T2I-Adapter -[T2I-Adapter](https://github.com/TencentARC/T2I-Adapter) is a tool similar to ControlNet that allows for control over the generation process by providing control information during the generation process. T2I-Adapter models tend to be smaller and more efficient than ControlNets. - -##### Installation -To install T2I-Adapter Models: - -1. The easiest way to install models is -to use the InvokeAI model installer application. Use the -`invoke.sh`/`invoke.bat` launcher to select item [5] and then navigate -to the T2I-Adapters section. Select the models you wish to install and -press "APPLY CHANGES". You may also enter additional HuggingFace -repo_ids in the "Additional models" textbox. -2. Using the "Add Model" function of the model manager, enter the HuggingFace Repo ID of the T2I-Adapter. The ID is in the format "author/repoName" - -#### Usage -Each T2I Adapter has two settings that are applied. - -Weight - Strength of the model applied to the generation for the section, defined by start/end. - -Start/End - 0 represents the start of the generation, 1 represents the end. The Start/end setting controls what steps during the generation process have the ControlNet applied. - -Additionally, each section can be expanded with the "Show Advanced" button in order to manipulate settings for the image pre-processor that adjusts your uploaded image before using it in during the generation process. - - -## IP-Adapter - -[IP-Adapter](https://ip-adapter.github.io) is a tooling that allows for image prompt capabilities with text-to-image diffusion models. IP-Adapter works by analyzing the given image prompt to extract features, then passing those features to the UNet along with any other conditioning provided. - -![IP-Adapter + T2I](https://github.com/tencent-ailab/IP-Adapter/raw/main/assets/demo/ip_adpter_plus_multi.jpg) - -![IP-Adapter + IMG2IMG](https://raw.githubusercontent.com/tencent-ailab/IP-Adapter/main/assets/demo/image-to-image.jpg) - -#### Installation -There are several ways to install IP-Adapter models with an existing InvokeAI installation: - -1. Through the command line interface launched from the invoke.sh / invoke.bat scripts, option [4] to download models. -2. Through the Model Manager UI with models from the *Tools* section of [models.invoke.ai](https://models.invoke.ai). To do this, copy the repo ID from the desired model page, and paste it in the Add Model field of the model manager. **Note** Both the IP-Adapter and the Image Encoder must be installed for IP-Adapter to work. For example, the [SD 1.5 IP-Adapter](https://models.invoke.ai/InvokeAI/ip_adapter_plus_sd15) and [SD1.5 Image Encoder](https://models.invoke.ai/InvokeAI/ip_adapter_sd_image_encoder) must be installed to use IP-Adapter with SD1.5 based models. -3. **Advanced -- Not recommended ** Manually downloading the IP-Adapter and Image Encoder files - Image Encoder folders should be placed in the `models\any\clip_vision` folders. IP Adapter Model folders should be placed in the relevant `ip-adapter` folder of relevant base model folder of Invoke root directory. For example, for the SDXL IP-Adapter, files should be added to the `model/sdxl/ip_adapter/` folder. - -#### Using IP-Adapter - -IP-Adapter can be used by navigating to the *Control Adapters* options and enabling IP-Adapter. - -IP-Adapter requires an image to be used as the Image Prompt. It can also be used in conjunction with text prompts, Image-to-Image, Inpainting, Outpainting, ControlNets and LoRAs. - - -Each IP-Adapter has two settings that are applied to the IP-Adapter: - -* Weight - Strength of the IP-Adapter model applied to the generation for the section, defined by start/end -* Start/End - 0 represents the start of the generation, 1 represents the end. The Start/end setting controls what steps during the generation process have the IP-Adapter applied. diff --git a/docs/features/IMG2IMG.md b/docs/features/IMG2IMG.md deleted file mode 100644 index 046a25fdca0..00000000000 --- a/docs/features/IMG2IMG.md +++ /dev/null @@ -1,151 +0,0 @@ ---- -title: Image-to-Image ---- - -# :material-image-multiple: Image-to-Image - -InvokeAI provides an "img2img" feature that lets you seed your -creations with an initial drawing or photo. This is a really cool -feature that tells stable diffusion to build the prompt on top of the -image you provide, preserving the original's basic shape and layout. - -For a walkthrough of using Image-to-Image in the Web UI, see [InvokeAI -Web Server](./WEB.md#image-to-image). - -The main difference between `img2img` and `prompt2img` is the starting point. -While `prompt2img` always starts with pure gaussian noise and progressively -refines it over the requested number of steps, `img2img` skips some of these -earlier steps (how many it skips is indirectly controlled by the `--strength` -parameter), and uses instead your initial image mixed with gaussian noise as the -starting image. - -**Let's start** by thinking about vanilla `prompt2img`, just generating an image -from a prompt. If the step count is 10, then the "latent space" (Stable -Diffusion's internal representation of the image) for the prompt "fire" with -seed `1592514025` develops something like this: - -!!! example "" - -
- ![latent steps](../assets/img2img/000019.steps.png){ width=720 } -
- -Put simply: starting from a frame of fuzz/static, SD finds details in each frame -that it thinks look like "fire" and brings them a little bit more into focus, -gradually scrubbing out the fuzz until a clear image remains. - -**When you use `img2img`** some of the earlier steps are cut, and instead an -initial image of your choice is used. But because of how the maths behind Stable -Diffusion works, this image needs to be mixed with just the right amount of -noise (fuzz/static) for where it is being inserted. This is where the strength -parameter comes in. Depending on the set strength, your image will be inserted -into the sequence at the appropriate point, with just the right amount of noise. - -### A concrete example - -!!! example "I want SD to draw a fire based on this hand-drawn image" - - ![drawing of a fireplace](../assets/img2img/fire-drawing.png){ align=left } - - Let's only do 10 steps, to make it easier to see what's happening. If strength - is `0.7`, this is what the internal steps the algorithm has to take will look - like: - -
- ![gravity32](../assets/img2img/000032.steps.gravity.png) -
- - With strength `0.4`, the steps look more like this: - -
- ![gravity30](../assets/img2img/000030.steps.gravity.png) -
- -Notice how much more fuzzy the starting image is for strength `0.7` compared to -`0.4`, and notice also how much longer the sequence is with `0.7`: - -| | strength = 0.7 | strength = 0.4 | -| --------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| initial image that SD sees | ![step-0](../assets/img2img/000032.step-0.png) | ![step-0](../assets/img2img/000030.step-0.png) | -| steps argument to `invoke>` | `-S10` | `-S10` | -| steps actually taken | `7` | `4` | -| latent space at each step | ![gravity32](../assets/img2img/000032.steps.gravity.png) | ![gravity30](../assets/img2img/000030.steps.gravity.png) | -| output | ![000032.1592514025](../assets/img2img/000032.1592514025.png) | ![000030.1592514025](../assets/img2img/000030.1592514025.png) | - -Both of the outputs look kind of like what I was thinking of. With the strength -higher, my input becomes more vague, _and_ Stable Diffusion has more steps to -refine its output. But it's not really making what I want, which is a picture of -cheery open fire. With the strength lower, my input is more clear, _but_ Stable -Diffusion has less chance to refine itself, so the result ends up inheriting all -the problems of my bad drawing. - -If you want to try this out yourself, all of these are using a seed of -`1592514025` with a width/height of `384`, step count `10`, the -`k_lms` sampler, and the single-word prompt `"fire"`. - -### Compensating for the reduced step count - -After putting this guide together I was curious to see how the difference would -be if I increased the step count to compensate, so that SD could have the same -amount of steps to develop the image regardless of the strength. So I ran the -generation again using the same seed, but this time adapting the step count to -give each generation 20 steps. - -Here's strength `0.4` (note step count `50`, which is `20 ÷ 0.4` to make sure SD -does `20` steps from my image): - -
-![000035.1592514025](../assets/img2img/000035.1592514025.png) -
- -and here is strength `0.7` (note step count `30`, which is roughly `20 ÷ 0.7` to -make sure SD does `20` steps from my image): - -
-![000046.1592514025](../assets/img2img/000046.1592514025.png) -
- -In both cases the image is nice and clean and "finished", but because at -strength `0.7` Stable Diffusion has been give so much more freedom to improve on -my badly-drawn flames, they've come out looking much better. You can really see -the difference when looking at the latent steps. There's more noise on the first -image with strength `0.7`: - -
-![gravity46](../assets/img2img/000046.steps.gravity.png) -
- -than there is for strength `0.4`: - -
-![gravity35](../assets/img2img/000035.steps.gravity.png) -
- -and that extra noise gives the algorithm more choices when it is evaluating how -to denoise any particular pixel in the image. - -Unfortunately, it seems that `img2img` is very sensitive to the step count. -Here's strength `0.7` with a step count of `29` (SD did 19 steps from my image): - -
-![gravity45](../assets/img2img/000045.1592514025.png) -
- -By comparing the latents we can sort of see that something got interpreted -differently enough on the third or fourth step to lead to a rather different -interpretation of the flames. - -
-![gravity46](../assets/img2img/000046.steps.gravity.png) -
- -
-![gravity45](../assets/img2img/000045.steps.gravity.png) -
- -This is the result of a difference in the de-noising "schedule" - basically the -noise has to be cleaned by a certain degree each step or the model won't -"converge" on the image properly (see -[stable diffusion blog](https://huggingface.co/blog/stable_diffusion) for more -about that). A different step count means a different schedule, which means -things get interpreted slightly differently at every step. diff --git a/docs/features/LOGGING.md b/docs/features/LOGGING.md deleted file mode 100644 index bda968140b3..00000000000 --- a/docs/features/LOGGING.md +++ /dev/null @@ -1,171 +0,0 @@ ---- -title: Controlling Logging ---- - -# :material-image-off: Controlling Logging - -## Controlling How InvokeAI Logs Status Messages - -InvokeAI logs status messages using a configurable logging system. You -can log to the terminal window, to a designated file on the local -machine, to the syslog facility on a Linux or Mac, or to a properly -configured web server. You can configure several logs at the same -time, and control the level of message logged and the logging format -(to a limited extent). - -Three command-line options control logging: - -### `--log_handlers ...` - -This option activates one or more log handlers. Options are "console", -"file", "syslog" and "http". To specify more than one, separate them -by spaces: - -```bash -invokeai-web --log_handlers console syslog=/dev/log file=C:\Users\fred\invokeai.log -``` - -The format of these options is described below. - -### `--log_format {plain|color|legacy|syslog}` - -This controls the format of log messages written to the console. Only -the "console" log handler is currently affected by this setting. - -* "plain" provides formatted messages like this: - -```bash - -[2023-05-24 23:18:2[2023-05-24 23:18:50,352]::[InvokeAI]::DEBUG --> this is a debug message -[2023-05-24 23:18:50,352]::[InvokeAI]::INFO --> this is an informational messages -[2023-05-24 23:18:50,352]::[InvokeAI]::WARNING --> this is a warning -[2023-05-24 23:18:50,352]::[InvokeAI]::ERROR --> this is an error -[2023-05-24 23:18:50,352]::[InvokeAI]::CRITICAL --> this is a critical error -``` - -* "color" produces similar output, but the text will be color coded to -indicate the severity of the message. - -* "legacy" produces output similar to InvokeAI versions 2.3 and earlier: - -```bash -### this is a critical error -*** this is an error -** this is a warning ->> this is an informational messages - | this is a debug message -``` - -* "syslog" produces messages suitable for syslog entries: - -```bash -InvokeAI [2691178] this is a critical error -InvokeAI [2691178] this is an error -InvokeAI [2691178] this is a warning -InvokeAI [2691178] this is an informational messages -InvokeAI [2691178] this is a debug message -``` - -(note that the date, time and hostname will be added by the syslog -system) - -### `--log_level {debug|info|warning|error|critical}` - -Providing this command-line option will cause only messages at the -specified level or above to be emitted. - -## Console logging - -When "console" is provided to `--log_handlers`, messages will be -written to the command line window in which InvokeAI was launched. By -default, the color formatter will be used unless overridden by -`--log_format`. - -## File logging - -When "file" is provided to `--log_handlers`, entries will be written -to the file indicated in the path argument. By default, the "plain" -format will be used: - -```bash -invokeai-web --log_handlers file=/var/log/invokeai.log -``` - -## Syslog logging - -When "syslog" is requested, entries will be sent to the syslog -system. There are a variety of ways to control where the log message -is sent: - -* Send to the local machine using the `/dev/log` socket: - -``` -invokeai-web --log_handlers syslog=/dev/log -``` - -* Send to the local machine using a UDP message: - -``` -invokeai-web --log_handlers syslog=localhost -``` - -* Send to the local machine using a UDP message on a nonstandard - port: - -``` -invokeai-web --log_handlers syslog=localhost:512 -``` - -* Send to a remote machine named "loghost" on the local LAN using - facility LOG_USER and UDP packets: - -``` -invokeai-web --log_handlers syslog=loghost,facility=LOG_USER,socktype=SOCK_DGRAM -``` - -This can be abbreviated `syslog=loghost`, as LOG_USER and SOCK_DGRAM -are defaults. - -* Send to a remote machine named "loghost" using the facility LOCAL0 - and using a TCP socket: - -``` -invokeai-web --log_handlers syslog=loghost,facility=LOG_LOCAL0,socktype=SOCK_STREAM -``` - -If no arguments are specified (just a bare "syslog"), then the logging -system will look for a UNIX socket named `/dev/log`, and if not found -try to send a UDP message to `localhost`. The Macintosh OS used to -support logging to a socket named `/var/run/syslog`, but this feature -has since been disabled. - -## Web logging - -If you have access to a web server that is configured to log messages -when a particular URL is requested, you can log using the "http" -method: - -``` -invokeai-web --log_handlers http=http://my.server/path/to/logger,method=POST -``` - -The optional [,method=] part can be used to specify whether the URL -accepts GET (default) or POST messages. - -Currently password authentication and SSL are not supported. - -## Using the configuration file - -You can set and forget logging options by adding a "Logging" section -to `invokeai.yaml`: - -``` -InvokeAI: - [... other settings...] - Logging: - log_handlers: - - console - - syslog=/dev/log - log_level: info - log_format: color -``` diff --git a/docs/features/LORAS.md b/docs/features/LORAS.md deleted file mode 100644 index 5dcfc8bf21b..00000000000 --- a/docs/features/LORAS.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: LoRAs & LCM-LoRAs ---- - -# :material-library-shelves: LoRAs & LCM-LoRAs - -With the advances in research, many new capabilities are available to customize the knowledge and understanding of novel concepts not originally contained in the base model. - -## LoRAs - -Low-Rank Adaptation (LoRA) files are models that customize the output of Stable Diffusion -image generation. Larger than embeddings, but much smaller than full -models, they augment SD with improved understanding of subjects and -artistic styles. - -Unlike TI files, LoRAs do not introduce novel vocabulary into the -model's known tokens. Instead, LoRAs augment the model's weights that -are applied to generate imagery. LoRAs may be supplied with a -"trigger" word that they have been explicitly trained on, or may -simply apply their effect without being triggered. - -LoRAs are typically stored in .safetensors files, which are the most -secure way to store and transmit these types of weights. - -To use these when generating, open the LoRA menu item in the options -panel, select the LoRAs you want to apply and ensure that they have -the appropriate weight recommended by the model provider. Typically, -most LoRAs perform best at a weight of .75-1. - - -## LCM-LoRAs -Latent Consistency Models (LCMs) allowed a reduced number of steps to be used to generate images with Stable Diffusion. These are created by distilling base models, creating models that only require a small number of steps to generate images. However, LCMs require that any fine-tune of a base model be distilled to be used as an LCM. - -LCM-LoRAs are models that provide the benefit of LCMs but are able to be used as LoRAs and applied to any fine tune of a base model. LCM-LoRAs are created by training a small number of adapters, rather than distilling the entire fine-tuned base model. The resulting LoRA can be used the same way as a standard LoRA, but with a greatly reduced step count. This enables SDXL images to be generated up to 10x faster than without the use of LCM-LoRAs. - - -**Using LCM-LoRAs** - -LCM-LoRAs are natively supported in InvokeAI throughout the application. To get started, install any diffusers format LCM-LoRAs using the model manager and select it in the LoRA field. - -There are a number parameter differences when using LCM-LoRAs and standard generation: - -- When using LCM-LoRAs, the LoRA strength should be lower than if using a standard LoRA, with 0.35 recommended as a starting point. -- The LCM scheduler should be used for generation -- CFG-Scale should be reduced to ~1 -- Steps should be reduced in the range of 4-8 - -Standard LoRAs can also be used alongside LCM-LoRAs, but will also require a lower strength, with 0.45 being recommended as a starting point. - -More information can be found here: https://huggingface.co/blog/lcm_lora#fast-inference-with-sdxl-lcm-loras diff --git a/docs/features/MODEL_MERGING.md b/docs/features/MODEL_MERGING.md deleted file mode 100644 index 1aea9472c0c..00000000000 --- a/docs/features/MODEL_MERGING.md +++ /dev/null @@ -1,77 +0,0 @@ ---- -title: Model Merging ---- - -InvokeAI provides the ability to merge two or three diffusers-type models into a new merged model. The -resulting model will combine characteristics of the original, and can -be used to teach an old model new tricks. - -## How to Merge Models - -Model Merging can be done by navigating to the Model Manager and clicking the "Merge Models" tab. From there, you can select the models and settings you want to use to merge the models. - -## Settings - -* Model Selection: there are three multiple choice fields that - display all the diffusers-style models that InvokeAI knows about. - If you do not see the model you are looking for, then it is probably - a legacy checkpoint model and needs to be converted using the - "Convert" option in the Web-based Model Manager tab. - - You must select at least two models to merge. The third can be left - at "None" if you desire. - -* Alpha: This is the ratio to use when combining models. It ranges - from 0 to 1. The higher the value, the more weight is given to the - 2d and (optionally) 3d models. So if you have two models named "A" - and "B", an alpha value of 0.25 will give you a merged model that is - 25% A and 75% B. - -* Interpolation Method: This is the method used to combine - weights. The options are "weighted_sum" (the default), "sigmoid", - "inv_sigmoid" and "add_difference". Each produces slightly different - results. When three models are in use, only "add_difference" is - available. - -* Save Location: The location you want the merged model to be saved in. Default is in the InvokeAI root folder - -* Name for merged model: This is the name for the new model. Please - use InvokeAI conventions - only alphanumeric letters and the - characters ".+-". - -* Ignore Mismatches / Force: Not all models are compatible with each other. The merge - script will check for compatibility and refuse to merge ones that - are incompatible. Set this checkbox to try merging anyway. - - - -You may run the merge script by starting the invoke launcher -(`invoke.sh` or `invoke.bat`) and choosing the option (4) for _merge -models_. This will launch a text-based interactive user interface that -prompts you to select the models to merge, how to merge them, and the -merged model name. - -Alternatively you may activate InvokeAI's virtual environment from the -command line, and call the script via `merge_models --gui` to open up -a version that has a nice graphical front end. To get the commandline- -only version, omit `--gui`. - -The user interface for the text-based interactive script is -straightforward. It shows you a series of setting fields. Use control-N (^N) -to move to the next field, and control-P (^P) to move to the previous -one. You can also use TAB and shift-TAB to move forward and -backward. Once you are in a multiple choice field, use the up and down -cursor arrows to move to your desired selection, and press or - to select it. Change text fields by typing in them, and adjust -scrollbars using the left and right arrow keys. - -Once you are happy with your settings, press the OK button. Note that -there may be two pages of settings, depending on the height of your -screen, and the OK button may be on the second page. Advance past the -last field of the first page to get to the second page, and reverse -this to get back. - -If the merge runs successfully, it will create a new diffusers model -under the selected name and register it with InvokeAI. - - diff --git a/docs/features/OTHER.md b/docs/features/OTHER.md deleted file mode 100644 index 00bfd05e146..00000000000 --- a/docs/features/OTHER.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -title: Others ---- - -# :fontawesome-regular-share-from-square: Others - -## **Google Colab** - -[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg){ align="right" }](https://colab.research.google.com/github/lstein/stable-diffusion/blob/main/notebooks/Stable_Diffusion_AI_Notebook.ipynb) - -Open and follow instructions to use an isolated environment running Dream. - -Output Example: - -![Colab Notebook](../assets/colab_notebook.png) - ---- - -## **Invisible Watermark** - -In keeping with the principles for responsible AI generation, and to -help AI researchers avoid synthetic images contaminating their -training sets, InvokeAI adds an invisible watermark to each of the -final images it generates. The watermark consists of the text -"InvokeAI" and can be viewed using the -[invisible-watermarks](https://github.com/ShieldMnt/invisible-watermark) -tool. - -Watermarking is controlled using the `invisible-watermark` setting in -`invokeai.yaml`. To turn it off, add the following line under the `Features` -category. - -``` -invisible_watermark: false -``` - - -## **Weighted Prompts** - -You may weight different sections of the prompt to tell the sampler to attach different levels of -priority to them, by adding `:` to the end of the section you wish to up- or downweight. For -example consider this prompt: - -```bash -(tabby cat):0.25 (white duck):0.75 hybrid -``` - -This will tell the sampler to invest 25% of its effort on the tabby cat aspect of the image and 75% -on the white duck aspect (surprisingly, this example actually works). The prompt weights can use any -combination of integers and floating point numbers, and they do not need to add up to 1. - diff --git a/docs/features/POSTPROCESS.md b/docs/features/POSTPROCESS.md deleted file mode 100644 index 33a2d194124..00000000000 --- a/docs/features/POSTPROCESS.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: Postprocessing ---- - -# :material-image-edit: Postprocessing - -This sections details the ability to improve faces and upscale images. - -## Face Fixing - -As of InvokeAI 3.0, the easiest way to improve faces created during image generation is through the Inpainting functionality of the Unified Canvas. Simply add the image containing the faces that you would like to improve to the canvas, mask the face to be improved and run the invocation. For best results, make sure to use an inpainting specific model; these are usually identified by the "-inpainting" term in the model name. - -## Upscaling - -Open the upscaling dialog by clicking on the "expand" icon located -above the image display area in the Web UI: - -
-![upscale1](../assets/features/upscale-dialog.png) -
- -The default upscaling option is Real-ESRGAN x2 Plus, which will scale your image by a factor of two. This means upscaling a 512x512 image will result in a new 1024x1024 image. - -Other options are the x4 upscalers, which will scale your image by a factor of 4. - - -!!! note - - Real-ESRGAN is memory intensive. In order to avoid crashes and memory overloads - during the Stable Diffusion process, these effects are applied after Stable Diffusion has completed - its work. - - In single image generations, you will see the output right away but when you are using multiple - iterations, the images will first be generated and then upscaled after that - process is complete. While the image generation is taking place, you will still be able to preview - the base images. - -## How to disable - -If, for some reason, you do not wish to load the ESRGAN libraries, -you can disable them on the invoke.py command line with the `--no_esrgan` options. diff --git a/docs/features/PROMPTS.md b/docs/features/PROMPTS.md deleted file mode 100644 index 5eff1aa2a5f..00000000000 --- a/docs/features/PROMPTS.md +++ /dev/null @@ -1,274 +0,0 @@ ---- -title: Prompting-Features ---- - -# :octicons-command-palette-24: Prompting-Features - -## **Prompt Syntax Features** - -The InvokeAI prompting language has the following features: - -### Attention weighting - -Append a word or phrase with `-` or `+`, or a weight between `0` and `2` -(`1`=default), to decrease or increase "attention" (= a mix of per-token CFG -weighting multiplier and, for `-`, a weighted blend with the prompt without the -term). - -The following syntax is recognised: - -- single words without parentheses: `a tall thin man picking apricots+` -- single or multiple words with parentheses: - `a tall thin man picking (apricots)+` `a tall thin man picking (apricots)-` - `a tall thin man (picking apricots)+` `a tall thin man (picking apricots)-` -- more effect with more symbols `a tall thin man (picking apricots)++` -- nesting `a tall thin man (picking apricots+)++` (`apricots` effectively gets - `+++`) -- all of the above with explicit numbers `a tall thin man picking (apricots)1.1` - `a tall thin man (picking (apricots)1.3)1.1`. (`+` is equivalent to 1.1, `++` - is pow(1.1,2), `+++` is pow(1.1,3), etc; `-` means 0.9, `--` means pow(0.9,2), - etc.) - -You can use this to increase or decrease the amount of something. Starting from -this prompt of `a man picking apricots from a tree`, let's see what happens if -we increase and decrease how much attention we want Stable Diffusion to pay to -the word `apricots`: - -
- -![an AI generated image of a man picking apricots from a tree](../assets/prompt_syntax/apricots-0.png) - -
- -Using `-` to reduce apricot-ness: - -| `a man picking apricots- from a tree` | `a man picking apricots-- from a tree` | `a man picking apricots--- from a tree` | -| ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | -| ![an AI generated image of a man picking apricots from a tree, with smaller apricots](../assets/prompt_syntax/apricots--1.png) | ![an AI generated image of a man picking apricots from a tree, with even smaller and fewer apricots](../assets/prompt_syntax/apricots--2.png) | ![an AI generated image of a man picking apricots from a tree, with very few very small apricots](../assets/prompt_syntax/apricots--3.png) | - -Using `+` to increase apricot-ness: - -| `a man picking apricots+ from a tree` | `a man picking apricots++ from a tree` | `a man picking apricots+++ from a tree` | `a man picking apricots++++ from a tree` | `a man picking apricots+++++ from a tree` | -| ------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| ![an AI generated image of a man picking apricots from a tree, with larger, more vibrant apricots](../assets/prompt_syntax/apricots-1.png) | ![an AI generated image of a man picking apricots from a tree with even larger, even more vibrant apricots](../assets/prompt_syntax/apricots-2.png) | ![an AI generated image of a man picking apricots from a tree, but the man has been replaced by a pile of apricots](../assets/prompt_syntax/apricots-3.png) | ![an AI generated image of a man picking apricots from a tree, but the man has been replaced by a mound of giant melting-looking apricots](../assets/prompt_syntax/apricots-4.png) | ![an AI generated image of a man picking apricots from a tree, but the man and the leaves and parts of the ground have all been replaced by giant melting-looking apricots](../assets/prompt_syntax/apricots-5.png) | - -You can also change the balance between different parts of a prompt. For -example, below is a `mountain man`: - -
- -![an AI generated image of a mountain man](../assets/prompt_syntax/mountain-man.png) - -
- -And here he is with more mountain: - -| `mountain+ man` | `mountain++ man` | `mountain+++ man` | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| ![](../assets/prompt_syntax/mountain1-man.png) | ![](../assets/prompt_syntax/mountain2-man.png) | ![](../assets/prompt_syntax/mountain3-man.png) | - -Or, alternatively, with more man: - -| `mountain man+` | `mountain man++` | `mountain man+++` | `mountain man++++` | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| ![](../assets/prompt_syntax/mountain-man1.png) | ![](../assets/prompt_syntax/mountain-man2.png) | ![](../assets/prompt_syntax/mountain-man3.png) | ![](../assets/prompt_syntax/mountain-man4.png) | - -### Prompt Blending - -- `("a tall thin man picking apricots", "a tall thin man picking pears").blend(1,1)` -- The existing prompt blending using `:` will continue to be supported - - `("a tall thin man picking apricots", "a tall thin man picking pears").blend(1,1)` - is equivalent to - `a tall thin man picking apricots:1 a tall thin man picking pears:1` in the - old syntax. -- Attention weights can be nested inside blends. -- Non-normalized blends are supported by passing `no_normalize` as an additional - argument to the blend weights, eg - `("a tall thin man picking apricots", "a tall thin man picking pears").blend(1,-1,no_normalize)`. - very fun to explore local maxima in the feature space, but also easy to - produce garbage output. - -See the section below on "Prompt Blending" for more information about how this -works. - -### Prompt Conjunction -Join multiple clauses together to create a conjoined prompt. Each clause will be passed to CLIP separately. - -For example, the prompt: - -```bash -"A mystical valley surround by towering granite cliffs, watercolor, warm" -``` - -Can be used with .and(): -```bash -("A mystical valley", "surround by towering granite cliffs", "watercolor", "warm").and() -``` - -Each will give you different results - try them out and see what you prefer! - - -### Escaping parentheses and speech marks - -If the model you are using has parentheses () or speech marks "" as part of its -syntax, you will need to "escape" these using a backslash, so that`(my_keyword)` -becomes `\(my_keyword\)`. Otherwise, the prompt parser will attempt to interpret -the parentheses as part of the prompt syntax and it will get confused. - ---- - -## **Prompt Blending** - -You may blend together prompts to explore the AI's -latent semantic space and generate interesting (and often surprising!) -variations. The syntax is: - -```bash -("prompt #1", "prompt #2").blend(0.25, 0.75) -``` - -This will tell the sampler to blend 25% of the concept of prompt #1 with 75% -of the concept of prompt #2. It is recommended to keep the sum of the weights to around 1.0, but interesting things might happen if you go outside of this range. - -Because you are exploring the "mind" of the AI, the AI's way of mixing two -concepts may not match yours, leading to surprising effects. To illustrate, here -are three images generated using various combinations of blend weights. As -usual, unless you fix the seed, the prompts will give you different results each -time you run them. - -Let's examine how this affects image generation results: - - -```bash -"blue sphere, red cube, hybrid" -``` - -This example doesn't use blending at all and represents the default way of mixing -concepts. - -
- -![blue-sphere-red-cube-hyprid](../assets/prompt-blending/blue-sphere-red-cube-hybrid.png) - -
- -It's interesting to see how the AI expressed the concept of "cube" within the sphere. If you look closely, there is depth there, so the enclosing frame is actually a cube. - -
- -```bash -("blue sphere", "red cube").blend(0.25, 0.75) -``` - -![blue-sphere-25-red-cube-75](../assets/prompt-blending/blue-sphere-0.25-red-cube-0.75-hybrid.png) - -
- -Now that's interesting. We get an image with a resemblance of a red cube, with a hint of blue shadows which represents a melding of concepts within the AI's "latent space" of semantic representations. - -
- -```bash -("blue sphere", "red cube").blend(0.75, 0.25) -``` - -![blue-sphere-75-red-cube-25](../assets/prompt-blending/blue-sphere-0.75-red-cube-0.25-hybrid.png) - -
- -Definitely more blue-spherey. - -
- -```bash -("blue sphere", "red cube").blend(0.5, 0.5) -``` -
- -
-![blue-sphere-5-red-cube-5-hybrid](../assets/prompt-blending/blue-sphere-0.5-red-cube-0.5-hybrid.png) -
- - -Whoa...! I see blue and red, and if I squint, spheres and cubes. - - - -## Dynamic Prompts - -Dynamic Prompts are a powerful feature designed to produce a variety of prompts based on user-defined options. Using a special syntax, you can construct a prompt with multiple possibilities, and the system will automatically generate a series of permutations based on your settings. This is extremely beneficial for ideation, exploring various scenarios, or testing different concepts swiftly and efficiently. - -### Structure of a Dynamic Prompt - -A Dynamic Prompt comprises of regular text, supplemented with alternatives enclosed within curly braces {} and separated by a vertical bar |. For example: {option1|option2|option3}. The system will then select one of the options to include in the final prompt. This flexible system allows for options to be placed throughout the text as needed. - -Furthermore, Dynamic Prompts can designate multiple selections from a single group of options. This feature is triggered by prefixing the options with a numerical value followed by $$. For example, in {2$$option1|option2|option3}, the system will select two distinct options from the set. -### Creating Dynamic Prompts - -To create a Dynamic Prompt, follow these steps: - - Draft your sentence or phrase, identifying words or phrases with multiple possible options. - Encapsulate the different options within curly braces {}. - Within the braces, separate each option using a vertical bar |. - If you want to include multiple options from a single group, prefix with the desired number and $$. - -For instance: A {house|apartment|lodge|cottage} in {summer|winter|autumn|spring} designed in {style1|style2|style3}. -### How Dynamic Prompts Work - -Once a Dynamic Prompt is configured, the system generates an array of combinations using the options provided. Each group of options in curly braces is treated independently, with the system selecting one option from each group. For a prefixed set (e.g., 2$$), the system will select two distinct options. - -For example, the following prompts could be generated from the above Dynamic Prompt: - - A house in summer designed in style1, style2 - A lodge in autumn designed in style3, style1 - A cottage in winter designed in style2, style3 - And many more! - -When the `Combinatorial` setting is on, Invoke will disable the "Images" selection, and generate every combination up until the setting for Max Prompts is reached. -When the `Combinatorial` setting is off, Invoke will randomly generate combinations up until the setting for Images has been reached. - - - -### Tips and Tricks for Using Dynamic Prompts - -Below are some useful strategies for creating Dynamic Prompts: - - Utilize Dynamic Prompts to generate a wide spectrum of prompts, perfect for brainstorming and exploring diverse ideas. - Ensure that the options within a group are contextually relevant to the part of the sentence where they are used. For instance, group building types together, and seasons together. - Apply the 2$$ prefix when you want to incorporate more than one option from a single group. This becomes quite handy when mixing and matching different elements. - Experiment with different quantities for the prefix. For example, 3$$ will select three distinct options. - Be aware of coherence in your prompts. Although the system can generate all possible combinations, not all may semantically make sense. Therefore, carefully choose the options for each group. - Always review and fine-tune the generated prompts as needed. While Dynamic Prompts can help you generate a multitude of combinations, the final polishing and refining remain in your hands. - - -## SDXL Prompting - -Prompting with SDXL is slightly different than prompting with SD1.5 or SD2.1 models - SDXL expects a prompt _and_ a style. - - -### Prompting -
- -![SDXL prompt boxes in InvokeAI](../assets/prompt_syntax/sdxl-prompt.png) - -
- -In the prompt box, enter a positive or negative prompt as you normally would. - -For the style box you can enter a style that you want the image to be generated in. You can use styles from this example list, or any other style you wish: anime, photographic, digital art, comic book, fantasy art, analog film, neon punk, isometric, low poly, origami, line art, cinematic, 3d model, pixel art, etc. - - -### Concatenated Prompts - - -InvokeAI also has the option to concatenate the prompt and style inputs, by pressing the "link" button in the Positive Prompt box. - -This concatenates the prompt & style inputs, and passes the joined prompt and style to the SDXL model. -![SDXL concatenated prompt boxes in InvokeAI](../assets/prompt_syntax/sdxl-prompt-concatenated.png) - - - - - - - diff --git a/docs/features/TEXTUAL_INVERSIONS.md b/docs/features/TEXTUAL_INVERSIONS.md deleted file mode 100644 index a3ede80d1fd..00000000000 --- a/docs/features/TEXTUAL_INVERSIONS.md +++ /dev/null @@ -1,55 +0,0 @@ -## Using Textual Inversion Files - -Textual inversion (TI) files are small models that customize the output of -Stable Diffusion image generation. They can augment SD with specialized subjects -and artistic styles. They are also known as "embeds" in the machine learning -world. - -Each TI file introduces one or more vocabulary terms to the SD model. These are -known in InvokeAI as "triggers." Triggers are denoted using angle brackets -as in "<trigger-phrase>". The two most common type of -TI files that you'll encounter are `.pt` and `.bin` files, which are produced by -different TI training packages. InvokeAI supports both formats, but its -[built-in TI training system](TRAINING.md) produces `.pt`. - -[Hugging Face](https://huggingface.co/sd-concepts-library) has -amassed a large library of >800 community-contributed TI files covering a -broad range of subjects and styles. You can also install your own or others' TI files -by placing them in the designated directory for the compatible model type - -### An Example - -Here are a few examples to illustrate how it works. All these images -were generated using the legacy command-line client and the Stable -Diffusion 1.5 model: - -| Japanese gardener | Japanese gardener <ghibli-face> | Japanese gardener <hoi4-leaders> | Japanese gardener <cartoona-animals> | -| :--------------------------------: | :-----------------------------------: | :------------------------------------: | :----------------------------------------: | -| ![](../assets/concepts/image1.png) | ![](../assets/concepts/image2.png) | ![](../assets/concepts/image3.png) | ![](../assets/concepts/image4.png) | - -You can also combine styles and concepts: - -
- | A portrait of <alf> in <cartoona-animal> style | - | :--------------------------------------------------------: | - | ![](../assets/concepts/image5.png) | -
- - -## Installing your Own TI Files - -You may install any number of `.pt` and `.bin` files simply by copying them into -the `embedding` directory of the corresponding InvokeAI models directory (usually `invokeai` -in your home directory). For example, you can simply move a Stable Diffusion 1.5 embedding file to -the `sd-1/embedding` folder. Be careful not to overwrite one file with another. -For example, TI files generated by the Hugging Face toolkit share the named -`learned_embedding.bin`. You can rename these, or use subdirectories to keep them distinct. - -At startup time, InvokeAI will scan the various `embedding` directories and load any TI -files it finds there for compatible models. At startup you will see a message similar to this one: - -```bash ->> Current embedding manager terms: , -``` -To use these when generating, simply type the `<` key in your prompt to open the Textual Inversion WebUI and -select the embedding you'd like to use. This UI has type-ahead support, so you can easily find supported embeddings. \ No newline at end of file diff --git a/docs/features/TRAINING.md b/docs/features/TRAINING.md deleted file mode 100644 index 47f8557889e..00000000000 --- a/docs/features/TRAINING.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: Training ---- - -# :material-file-document: Training - -Invoke Training has moved to its own repository, with a dedicated UI for accessing common scripts like Textual Inversion and LoRA training. - -You can find more by visiting the repo at https://github.com/invoke-ai/invoke-training diff --git a/docs/features/UNIFIED_CANVAS.md b/docs/features/UNIFIED_CANVAS.md deleted file mode 100644 index f0aaa61e22e..00000000000 --- a/docs/features/UNIFIED_CANVAS.md +++ /dev/null @@ -1,283 +0,0 @@ ---- -title: Unified Canvas ---- - -The Unified Canvas is a tool designed to streamline and simplify the process of -composing an image using Stable Diffusion. It offers artists all of the -available Stable Diffusion generation modes (Text To Image, Image To Image, -Inpainting, and Outpainting) as a single unified workflow. The flexibility of -the tool allows you to tweak and edit image generations, extend images beyond -their initial size, and to create new content in a freeform way both inside and -outside of existing images. - -This document explains the basics of using the Unified Canvas, introducing you -to its features and tools one by one. It also describes some of the more -advanced tools available to power users of the Canvas. - -## Basics - -The Unified Canvas consists of two layers: the **Base Layer** and the **Mask -Layer**. You can swap from one layer to the other by selecting the layer you -want in the drop-down menu on the top left corner of the Unified Canvas, or by -pressing the (Q) hotkey. - -### Base Layer - -The **Base Layer** is the image content currently managed by the Canvas, and can -be exported at any time to the gallery by using the **Save to Gallery** option. -When the Base Layer is selected, the Brush (B) and Eraser (E) tools will -directly manipulate the base layer. Any images uploaded to the Canvas, or sent -to the Unified Canvas from the gallery, will clear out all existing content and -set the Base layer to the new image. - -### Staging Area - -When you generate images, they will display in the Canvas's **Staging Area**, -alongside the Staging Area toolbar buttons. While the Staging Area is active, -you cannot interact with the Canvas itself. - -
- -![staging area](../assets/canvas/staging_area.png) - -
- -Accepting generations will commit the new generation to the **Base Layer**. You -can review all generated images using the Prev/Next arrows, save any individual -generations to your gallery (without committing to the Base layer) or discard -generations. While you can Undo a discard in an individual Canvas session, any -generations that are not saved will be lost when the Canvas resets. - -### Mask Layer - -The **Mask Layer** consists of any masked sections that have been created to -inform Inpainting generations. You can paint a new mask, or edit an existing -mask, using the Brush tool and the Eraser with the Mask layer set as your Active -layer. Any masked areas will only affect generation inside of the current -bounding box. - -### Bounding Box - -When generating a new image, Invoke will process and apply new images within the -area denoted by the **Bounding Box**. The Width & Height settings of the -Bounding Box, as well as its location within the Unified Canvas and pixels or -empty space that it encloses, determine how new invocations are generated - see -[Inpainting & Outpainting](#inpainting-and-outpainting) below. The Bounding Box -can be moved and resized using the Move (V) tool. It can also be resized using -the Bounding Box options in the Options Panel. By using these controls you can -generate larger or smaller images, control which sections of the image are being -processed, as well as control Bounding Box tools like the Bounding Box -fill/erase. - -### Inpainting & Outpainting - -"Inpainting" means asking the AI to refine part of an image while leaving the -rest alone. For example, updating a portrait of your grandmother to have her -wear a biker's jacket. - -| masked original | inpaint result | -| :-------------------------------------------------------------: | :----------------------------------------------------------------------------------------: | -| ![granny with a mask applied](../assets/canvas/mask_granny.png) | ![just like magic, granny with a biker's jacket](../assets/canvas/biker_jacket_granny.png) | - -"Outpainting" means asking the AI to expand the original image beyond its -original borders, making a bigger image that's still based on the original. For -example, extending the above image of your Grandmother in a biker's jacket to -include her wearing jeans (and while we're at it, a motorcycle!) - -
- -![more magic - granny with a tattooed arm, denim pants, and an obscured motorcycle](../assets/canvas/biker_granny.png) - -
- -When you are using the Unified Canvas, Invoke decides automatically whether to -do Inpainting, Outpainting, ImageToImage, or TextToImage by looking inside the -area enclosed by the Bounding Box. It chooses the appropriate type of generation -based on whether the Bounding Box contains empty (transparent) areas on the Base -layer, or whether it contains colored areas from previous generations (or from -painted brushstrokes) on the Base layer, and/or whether the Mask layer contains -any brushstrokes. See [Generation Methods](#generation-methods) below for more -information. - -## Getting Started - -To get started with the Unified Canvas, you will want to generate a new base -layer using Txt2Img or importing an initial image. We'll refer to either of -these methods as the "initial image" in the below guide. - -From there, you can consider the following techniques to augment your image: - -- **New Images**: Move the bounding box to an empty area of the Canvas, type in - your prompt, and Invoke, to generate a new image using the Text to Image - function. -- **Image Correction**: Use the color picker and brush tool to paint corrections - on the image, switch to the Mask layer, and brush a mask over your painted - area to use **Inpainting**. You can also use the **ImageToImage** generation - method to invoke new interpretations of the image. -- **Image Expansion**: Move the bounding box to include a portion of your - initial image, and a portion of transparent/empty pixels, then Invoke using a - prompt that describes what you'd like to see in that area. This will Outpaint - the image. You'll typically find more coherent results if you keep about - 50-60% of the original image in the bounding box. Make sure that the Image To - Image Strength slider is set to a high value - you may need to set it higher - than you are used to. -- **New Content on Existing Images**: If you want to add new details or objects - into your image, use the brush tool to paint a sketch of what you'd like to - see on the image, switch to the Mask layer, and brush a mask over your painted - area to use **Inpainting**. If the masked area is small, consider using a - smaller bounding box to take advantage of Invoke's automatic Scaling features, - which can help to produce better details. -- **And more**: There are a number of creative ways to use the Canvas, and the - above are just starting points. We're excited to see what you come up with! - -## Generation Methods - -The Canvas can use all generation methods available (Txt2Img, Img2Img, -Inpainting, and Outpainting), and these will be automatically selected and used -based on the current selection area within the Bounding Box. - -### Text to Image - -If the Bounding Box is placed over an area of Canvas with an **empty Base -Layer**, invoking a new image will use **TextToImage**. This generates an -entirely new image based on your prompt. - -### Image to Image - -If the Bounding Box is placed over an area of Canvas with an **existing Base -Layer area with no transparent pixels or masks**, invoking a new image will use -**ImageToImage**. This uses the image within the bounding box and your prompt to -interpret a new image. The image will be closer to your original image at lower -Image to Image strengths. - -### Inpainting - -If the Bounding Box is placed over an area of Canvas with an **existing Base -Layer and any pixels selected using the Mask layer**, invoking a new image will -use **Inpainting**. Inpainting uses the existing colors/forms in the masked area -in order to generate a new image for the masked area only. The unmasked portion -of the image will remain the same. Image to Image strength applies to the -inpainted area. - -If you desire something completely different from the original image in your new -generation (i.e., if you want Invoke to ignore existing colors/forms), consider -toggling the Inpaint Replace setting on, and use high values for both Inpaint -Replace and Image To Image Strength. - -!!! note - - By default, the **Scale Before Processing** option — which - inpaints more coherent details by generating at a larger resolution and then - scaling — is only activated when the Bounding Box is relatively small. - To get the best inpainting results you should therefore resize your Bounding - Box to the smallest area that contains your mask and enough surrounding detail - to help Stable Diffusion understand the context of what you want it to draw. - You should also update your prompt so that it describes _just_ the area within - the Bounding Box. - -### Outpainting - -If the Bounding Box is placed over an area of Canvas partially filled by an -existing Base Layer area and partially by transparent pixels or masks, invoking -a new image will use **Outpainting**, as well as **Inpainting** any masked -areas. - ---- - -## Advanced Features - -Features with non-obvious behavior are detailed below, in order to provide -clarity on the intent and common use cases we expect for utilizing them. - -### Toolbar - -#### Mask Options - -- **Enable Mask** - This flag can be used to Enable or Disable the currently - painted mask. If you have painted a mask, but you don't want it affect the - next invocation, but you _also_ don't want to delete it, then you can set this - option to Disable. When you want the mask back, set this back to Enable. -- **Preserve Masked Area** - When enabled, Preserve Masked Area inverts the - effect of the Mask on the Inpainting process. Pixels in masked areas will be - kept unchanged, and unmasked areas will be regenerated. - -#### Creative Tools - -- **Brush - Base/Mask Modes** - The Brush tool switches automatically between - different modes of operation for the Base and Mask layers respectively. - - On the Base layer, the brush will directly paint on the Canvas using the - color selected on the Brush Options menu. - - On the Mask layer, the brush will create a new mask. If you're finding the - mask difficult to see over the existing content of the Unified Canvas, you - can change the color it is drawn with using the color selector on the Mask - Options dropdown. -- **Erase Bounding Box** - On the Base layer, erases all pixels within the - Bounding Box. -- **Fill Bounding Box** - On the Base layer, fills all pixels within the - Bounding Box with the currently selected color. - -#### Canvas Tools - -- **Move Tool** - Allows for manipulation of the Canvas view (by dragging on the - Canvas, outside the bounding box), the Bounding Box (by dragging the edges of - the box), or the Width/Height of the Bounding Box (by dragging one of the 9 - directional handles). -- **Reset View** - Click to re-orients the view to the center of the Bounding - Box. -- **Merge Visible** - If your browser is having performance problems drawing the - image in the Unified Canvas, click this to consolidate all of the information - currently being rendered by your browser into a merged copy of the image. This - lowers the resource requirements and should improve performance. - -### Compositing / Seam Correction - -When doing Inpainting or Outpainting, Invoke needs to merge the pixels generated -by Stable Diffusion into your existing image. This is achieved through compositing - the area around the boundary between your image and the new generation is -automatically blended to produce a seamless output. In a fully automatic -process, a mask is generated to cover the boundary, and then the area of the boundary is -Inpainted. - -Although the default options should work well most of the time, sometimes it can -help to alter the parameters that control the Compositing. A larger blur and -a blur setting have been noted as producing -consistently strong results . Strength of 0.7 is best for reducing hard seams. - -- **Mode** - What part of the image will have the Compositing applied to it. - - **Mask edge** will apply Compositing to the edge of the masked area - - **Mask** will apply Compositing to the entire masked area - - **Unmasked** will apply Compositing to the entire image -- **Steps** - Number of generation steps that will occur during the Coherence Pass, similar to Denoising Steps. Higher step counts will generally have better results. -- **Strength** - How much noise is added for the Coherence Pass, similar to Denoising Strength. A strength of 0 will result in an unchanged image, while a strength of 1 will result in an image with a completely new area as defined by the Mode setting. -- **Blur** - Adjusts the pixel radius of the mask. A larger blur radius will cause the mask to extend past the visibly masked area, while too small of a blur radius will result in a mask that is smaller than the visibly masked area. -- **Blur Method** - The method of blur applied to the masked area. - - -### Infill & Scaling - -- **Scale Before Processing & W/H**: When generating images with a bounding box - smaller than the optimized W/H of the model (e.g., 512x512 for SD1.5), this - feature first generates at a larger size with the same aspect ratio, and then - scales that image down to fill the selected area. This is particularly useful - when inpainting very small details. Scaling is optional but is enabled by - default. -- **Inpaint Replace**: When Inpainting, the default method is to utilize the - existing RGB values of the Base layer to inform the generation process. If - Inpaint Replace is enabled, noise is generated and blended with the existing - pixels (completely replacing the original RGB values at an Inpaint Replace - value of 1). This can help generate more variation from the pixels on the Base - layers. - - When using Inpaint Replace you should use a higher Image To Image Strength - value, especially at higher Inpaint Replace values -- **Infill Method**: Invoke currently supports two methods for producing RGB - values for use in the Outpainting process: Patchmatch and Tile. We believe - that Patchmatch is the superior method, however we provide support for Tile in - case Patchmatch cannot be installed or is unavailable on your computer. -- **Tile Size**: The Tile method for Outpainting sources small portions of the - original image and randomly place these into the areas being Outpainted. This - value sets the size of those tiles. - -## Hot Keys - -The Unified Canvas is a tool that excels when you use hotkeys. You can view the -full list of keyboard shortcuts, updated with all new features, by clicking the -Keyboard Shortcuts icon at the top right of the InvokeAI WebUI. diff --git a/docs/features/UTILITIES.md b/docs/features/UTILITIES.md deleted file mode 100644 index ba0573ed98d..00000000000 --- a/docs/features/UTILITIES.md +++ /dev/null @@ -1,336 +0,0 @@ ---- -title: Command-line Utilities ---- - -# :material-file-document: Utilities - -# Command-line Utilities - -InvokeAI comes with several scripts that are accessible via the -command line. To access these commands, start the "developer's -console" from the launcher (`invoke.bat` menu item [7]). Users who are -familiar with Python can alternatively activate InvokeAI's virtual -environment (typically, but not necessarily `invokeai/.venv`). - -In the developer's console, type the script's name to run it. To get a -synopsis of what a utility does and the command-line arguments it -accepts, pass it the `-h` argument, e.g. - -```bash -invokeai-merge -h -``` -## **invokeai-web** - -This script launches the web server and is effectively identical to -selecting option [1] in the launcher. An advantage of launching the -server from the command line is that you can override any setting -configuration option in `invokeai.yaml` using like-named command-line -arguments. For example, to temporarily change the size of the RAM -cache to 7 GB, you can launch as follows: - -```bash -invokeai-web --ram 7 -``` - -## **invokeai-merge** - -This is the model merge script, the same as launcher option [3]. Call -it with the `--gui` command-line argument to start the interactive -console-based GUI. Alternatively, you can run it non-interactively -using command-line arguments as illustrated in the example below which -merges models named `stable-diffusion-1.5` and `inkdiffusion` into a new model named -`my_new_model`: - -```bash -invokeai-merge --force --base-model sd-1 --models stable-diffusion-1.5 inkdiffusion --merged_model_name my_new_model -``` - -## **invokeai-ti** - -This is the textual inversion training script that is run by launcher -option [2]. Call it with `--gui` to run the interactive console-based -front end. It can also be run non-interactively. It has about a -zillion arguments, but a typical training session can be launched -with: - -```bash -invokeai-ti --model stable-diffusion-1.5 \ - --placeholder_token 'jello' \ - --learnable_property object \ - --num_train_epochs 50 \ - --train_data_dir /path/to/training/images \ - --output_dir /path/to/trained/model -``` - -(Note that \\ is the Linux/Mac long-line continuation character. Use ^ -in Windows). - -## **invokeai-install** - -This is the console-based model install script that is run by launcher -option [4]. If called without arguments, it will launch the -interactive console-based interface. It can also be used -non-interactively to list, add and remove models as shown by these -examples: - -* This will download and install three models from CivitAI, HuggingFace, -and local disk: - -```bash -invokeai-install --add https://civitai.com/api/download/models/161302 ^ - gsdf/Counterfeit-V3.0 ^ - D:\Models\merge_model_two.safetensors -``` -(Note that ^ is the Windows long-line continuation character. Use \\ on -Linux/Mac). - -* This will list installed models of type `main`: - -```bash -invokeai-model-install --list-models main -``` - -* This will delete the models named `voxel-ish` and `realisticVision`: - -```bash -invokeai-model-install --delete voxel-ish realisticVision -``` - -## **invokeai-configure** - -This is the console-based configure script that ran when InvokeAI was -first installed. You can run it again at any time to change the -configuration, repair a broken install. - -Called without any arguments, `invokeai-configure` enters interactive -mode with two screens. The first screen is a form that provides access -to most of InvokeAI's configuration options. The second screen lets -you download, add, and delete models interactively. When you exit the -second screen, the script will add any missing "support models" -needed for core functionality, and any selected "sd weights" which are -the model checkpoint/diffusers files. - -This behavior can be changed via a series of command-line -arguments. Here are some of the useful ones: - -* `invokeai-configure --skip-sd-weights --skip-support-models` -This will run just the configuration part of the utility, skipping -downloading of support models and stable diffusion weights. - -* `invokeai-configure --yes` -This will run the configure script non-interactively. It will set the -configuration options to their default values, install/repair support -models, and download the "recommended" set of SD models. - -* `invokeai-configure --yes --default_only` -This will run the configure script non-interactively. In contrast to -the previous command, it will only download the default SD model, -Stable Diffusion v1.5 - -* `invokeai-configure --yes --default_only --skip-sd-weights` -This is similar to the previous command, but will not download any -SD models at all. It is usually used to repair a broken install. - -By default, `invokeai-configure` runs on the currently active InvokeAI -root folder. To run it against a different root, pass it the `--root -` argument. - -Lastly, you can use `invokeai-configure` to create a working root -directory entirely from scratch. Assuming you wish to make a root directory -named `InvokeAI-New`, run this command: - -```bash -invokeai-configure --root InvokeAI-New --yes --default_only -``` -This will create a minimally functional root directory. You can now -launch the web server against it with `invokeai-web --root InvokeAI-New`. - -## **invokeai-update** - -This is the interactive console-based script that is run by launcher -menu item [8] to update to a new version of InvokeAI. It takes no -command-line arguments. - -## **invokeai-metadata** - -This is a script which takes a list of InvokeAI-generated images and -outputs their metadata in the same JSON format that you get from the -`` button in the Web GUI. For example: - -```bash -$ invokeai-metadata ffe2a115-b492-493c-afff-7679aa034b50.png -ffe2a115-b492-493c-afff-7679aa034b50.png: -{ - "app_version": "3.1.0", - "cfg_scale": 8.0, - "clip_skip": 0, - "controlnets": [], - "generation_mode": "sdxl_txt2img", - "height": 1024, - "loras": [], - "model": { - "base_model": "sdxl", - "model_name": "stable-diffusion-xl-base-1.0", - "model_type": "main" - }, - "negative_prompt": "", - "negative_style_prompt": "", - "positive_prompt": "military grade sushi dinner for shock troopers", - "positive_style_prompt": "", - "rand_device": "cpu", - "refiner_cfg_scale": 7.5, - "refiner_model": { - "base_model": "sdxl-refiner", - "model_name": "sd_xl_refiner_1.0", - "model_type": "main" - }, - "refiner_negative_aesthetic_score": 2.5, - "refiner_positive_aesthetic_score": 6.0, - "refiner_scheduler": "euler", - "refiner_start": 0.8, - "refiner_steps": 20, - "scheduler": "euler", - "seed": 387129902, - "steps": 25, - "width": 1024 -} -``` - -You may list multiple files on the command line. - -## **invokeai-import-images** - -InvokeAI uses a database to store information about images it -generated, and just copying the image files from one InvokeAI root -directory to another does not automatically import those images into -the destination's gallery. This script allows you to bulk import -images generated by one instance of InvokeAI into a gallery maintained -by another. It also works on images generated by older versions of -InvokeAI, going way back to version 1. - -This script has an interactive mode only. The following example shows -it in action: - -```bash -$ invokeai-import-images -=============================================================================== -This script will import images generated by earlier versions of -InvokeAI into the currently installed root directory: - /home/XXXX/invokeai-main -If this is not what you want to do, type ctrl-C now to cancel. -=============================================================================== -= Configuration & Settings -Found invokeai.yaml file at /home/XXXX/invokeai-main/invokeai.yaml: - Database : /home/XXXX/invokeai-main/databases/invokeai.db - Outputs : /home/XXXX/invokeai-main/outputs/images - -Use these paths for import (yes) or choose different ones (no) [Yn]: -Inputs: Specify absolute path containing InvokeAI .png images to import: /home/XXXX/invokeai-2.3/outputs/images/ -Include files from subfolders recursively [yN]? - -Options for board selection for imported images: -1) Select an existing board name. (found 4) -2) Specify a board name to create/add to. -3) Create/add to board named 'IMPORT'. -4) Create/add to board named 'IMPORT' with the current datetime string appended (.e.g IMPORT_20230919T203519Z). -5) Create/add to board named 'IMPORT' with a the original file app_version appended (.e.g IMPORT_2.2.5). -Specify desired board option: 3 - -=============================================================================== -= Import Settings Confirmation - -Database File Path : /home/XXXX/invokeai-main/databases/invokeai.db -Outputs/Images Directory : /home/XXXX/invokeai-main/outputs/images -Import Image Source Directory : /home/XXXX/invokeai-2.3/outputs/images/ - Recurse Source SubDirectories : No -Count of .png file(s) found : 5785 -Board name option specified : IMPORT -Database backup will be taken at : /home/XXXX/invokeai-main/databases/backup - -Notes about the import process: -- Source image files will not be modified, only copied to the outputs directory. -- If the same file name already exists in the destination, the file will be skipped. -- If the same file name already has a record in the database, the file will be skipped. -- Invoke AI metadata tags will be updated/written into the imported copy only. -- On the imported copy, only Invoke AI known tags (latest and legacy) will be retained (dream, sd-metadata, invokeai, invokeai_metadata) -- A property 'imported_app_version' will be added to metadata that can be viewed in the UI's metadata viewer. -- The new 3.x InvokeAI outputs folder structure is flat so recursively found source imges will all be placed into the single outputs/images folder. - -Do you wish to continue with the import [Yn] ? - -Making DB Backup at /home/lstein/invokeai-main/databases/backup/backup-20230919T203519Z-invokeai.db...Done! - -=============================================================================== -Importing /home/XXXX/invokeai-2.3/outputs/images/17d09907-297d-4db3-a18a-60b337feac66.png -... (5785 more lines) ... -=============================================================================== -= Import Complete - Elpased Time: 0.28 second(s) - -Source File(s) : 5785 -Total Imported : 5783 -Skipped b/c file already exists on disk : 1 -Skipped b/c file already exists in db : 0 -Errors during import : 1 -``` -## **invokeai-db-maintenance** - -This script helps maintain the integrity of your InvokeAI database by -finding and fixing three problems that can arise over time: - -1. An image was manually deleted from the outputs directory, leaving a - dangling image record in the InvokeAI database. This will cause a - black image to appear in the gallery. This is an "orphaned database - image record." The script can fix this by running a "clean" - operation on the database, removing the orphaned entries. - -2. An image is present in the outputs directory but there is no - corresponding entry in the database. This can happen when the image - is added manually to the outputs directory, or if a crash occurred - after the image was generated but before the database was - completely updated. The symptom is that the image is present in the - outputs folder but doesn't appear in the InvokeAI gallery. This is - called an "orphaned image file." The script can fix this problem by - running an "archive" operation in which orphaned files are moved - into a directory named `outputs/images-archive`. If you wish, you - can then run `invokeai-image-import` to reimport these images back - into the database. - -3. The thumbnail for an image is missing, again causing a black - gallery thumbnail. This is fixed by running the "thumbnails" - operation, which simply regenerates and re-registers the missing - thumbnail. - -You can find and fix all three of these problems in a single go by -executing this command: - -```bash -invokeai-db-maintenance --operation all -``` - -Or you can run just the clean and thumbnail operations like this: - -```bash -invokeai-db-maintenance -operation clean, thumbnail -``` - -If called without any arguments, the script will ask you which -operations you wish to perform. - -## **invokeai-migrate3** - -This script will migrate settings and models (but not images!) from an -InvokeAI v2.3 root folder to an InvokeAI 3.X folder. Call it with the -source and destination root folders like this: - -```bash -invokeai-migrate3 --from ~/invokeai-2.3 --to invokeai-3.1.1 -``` - -Both directories must previously have been properly created and -initialized by `invokeai-configure`. If you wish to migrate the images -contained in the older root as well, you can use the -`invokeai-image-migrate` script described earlier. - ---- - -Copyright (c) 2023, Lincoln Stein and the InvokeAI Development Team diff --git a/docs/features/WATERMARK+NSFW.md b/docs/features/WATERMARK+NSFW.md deleted file mode 100644 index c837d66b57b..00000000000 --- a/docs/features/WATERMARK+NSFW.md +++ /dev/null @@ -1,96 +0,0 @@ ---- -title: Watermarking, NSFW Image Checking ---- - -# :material-image-off: Invisible Watermark and the NSFW Checker - -## Watermarking - -InvokeAI does not apply watermarking to images by default. However, -many computer scientists working in the field of generative AI worry -that a flood of computer-generated imagery will contaminate the image -data sets needed to train future generations of generative models. - -InvokeAI offers an optional watermarking mode that writes a small bit -of text, **InvokeAI**, into each image that it generates using an -"invisible" watermarking library that spreads the information -throughout the image in a way that is not perceptible to the human -eye. If you are planning to share your generated images on -internet-accessible services, we encourage you to activate the -invisible watermark mode in order to help preserve the digital image -environment. - -The downside of watermarking is that it increases the size of the -image moderately, and has been reported by some individuals to degrade -image quality. Your mileage may vary. - -To read the watermark in an image, activate the InvokeAI virtual -environment (called the "developer's console" in the launcher) and run -the command: - -``` -invisible-watermark -a decode -t bytes -m dwtDct -l 64 /path/to/image.png -``` - -## The NSFW ("Safety") Checker - -Stable Diffusion 1.5-based image generation models will produce sexual -imagery if deliberately prompted, and will occasionally produce such -images when this is not intended. Such images are colloquially known -as "Not Safe for Work" (NSFW). This behavior is due to the nature of -the training set that Stable Diffusion was trained on, which culled -millions of "aesthetic" images from the Internet. - -You may not wish to be exposed to these images, and in some -jurisdictions it may be illegal to publicly distribute such imagery, -including mounting a publicly-available server that provides -unfiltered images to the public. Furthermore, the [Stable Diffusion -weights -License](https://github.com/invoke-ai/InvokeAI/blob/main/LICENSE-SD1+SD2.txt), -and the [Stable Diffusion XL -License][https://github.com/invoke-ai/InvokeAI/blob/main/LICENSE-SDXL.txt] -both forbid the models from being used to "exploit any of the -vulnerabilities of a specific group of persons." - -For these reasons Stable Diffusion offers a "safety checker," a -machine learning model trained to recognize potentially disturbing -imagery. When a potentially NSFW image is detected, the checker will -blur the image and paste a warning icon on top. The checker can be -turned on and off in the Web interface under Settings. - -## Caveats - -There are a number of caveats that you need to be aware of. - -### Accuracy - -The checker is [not perfect](https://arxiv.org/abs/2210.04610).It will -occasionally flag innocuous images (false positives), and will -frequently miss violent and gory imagery (false negatives). It rarely -fails to flag sexual imagery, but this has been known to happen. For -these reasons, the InvokeAI team prefers to refer to the software as a -"NSFW Checker" rather than "safety checker." - -### Memory Usage and Performance - -The NSFW checker consumes an additional 1.2G of GPU VRAM on top of the -3.4G of VRAM used by Stable Diffusion v1.5 (this is with -half-precision arithmetic). This means that the checker will not run -successfully on GPU cards with less than 6GB VRAM, and will reduce the -size of the images that you can produce. - -The checker also introduces a slight performance penalty. Images will -take ~1 second longer to generate when the checker is -activated. Generally this is not noticeable. - -### Intermediate Images in the Web UI - -The checker only operates on the final image produced by the Stable -Diffusion algorithm. If you are using the Web UI and have enabled the -display of intermediate images, you will briefly be exposed to a -low-resolution (mosaicized) version of the final image before it is -flagged by the checker and replaced by a fully blurred version. You -are encouraged to turn **off** intermediate image rendering when you -are using the checker. Future versions of InvokeAI will apply -additional blurring to intermediate images when the checker is active. - diff --git a/docs/features/WEB.md b/docs/features/WEB.md deleted file mode 100644 index 15a489b932b..00000000000 --- a/docs/features/WEB.md +++ /dev/null @@ -1,325 +0,0 @@ ---- -title: InvokeAI Web Server ---- - -# :material-web: InvokeAI Web Server - -## Quick guided walkthrough of the WebUI's features - -While most of the WebUI's features are intuitive, here is a guided walkthrough -through its various components. - -### Launching the WebUI - -To run the InvokeAI web server, start the `invoke.sh`/`invoke.bat` -script and select option (1). Alternatively, with the InvokeAI -environment active, run `invokeai-web`: - -```bash -invokeai-web -``` - -You can then connect to the server by pointing your web browser at -http://localhost:9090. To reach the server from a different machine on your LAN, -you may launch the web server with the `--host` argument and either the IP -address of the host you are running it on, or the wildcard `0.0.0.0`. For -example: - -```bash -invoke.sh --host 0.0.0.0 -``` - -or - -```bash -invokeai-web --host 0.0.0.0 -``` - -### The InvokeAI Web Interface - -![Invoke Web Server - Major Components](../assets/invoke-web-server-1.png){:width="640px"} - -The screenshot above shows the Text to Image tab of the WebUI. There are three -main sections: - -1. A **control panel** on the left, which contains various settings - for text to image generation. The most important part is the text - field (currently showing `fantasy painting, horned demon`) for - entering the positive text prompt, another text field right below it for an - optional negative text prompt (concepts to exclude), and a _Invoke_ button - to begin the image rendering process. - -2. The **current image** section in the middle, which shows a large - format version of the image you are currently working on. A series - of buttons at the top lets you modify and manipulate the image in - various ways. - -3. A **gallery** section on the right that contains a history of the images you - have generated. These images are read and written to the directory specified - in the `INVOKEAIROOT/invokeai.yaml` initialization file, usually a directory - named `outputs` in `INVOKEAIROOT`. - -In addition to these three elements, there are a series of icons for changing -global settings, reporting bugs, and changing the theme on the upper right. - -There are also a series of icons to the left of the control panel (see -highlighted area in the screenshot below) which select among a series of tabs -for performing different types of operations. - -
-![Invoke Web Server - Control Panel](../assets/invoke-web-server-2.png){:width="512px"} -
- -From top to bottom, these are: - -1. Text to Image - generate images from text -2. Image to Image - from an uploaded starting image (drawing or photograph) - generate a new one, modified by the text prompt -3. Unified Canvas - Interactively combine multiple images, extend them - with outpainting,and modify interior portions of the image with - inpainting, erase portions of a starting image and have the AI fill in - the erased region from a text prompt. -4. Node Editor - (experimental) this panel allows you to create - pipelines of common operations and combine them into workflows. -5. Model Manager - this panel allows you to import and configure new - models using URLs, local paths, or HuggingFace diffusers repo_ids. - -## Walkthrough - -The following walkthrough will exercise most (but not all) of the WebUI's -feature set. - -### Text to Image - -1. Launch the WebUI using launcher option [1] and connect to it with - your browser by accessing `http://localhost:9090`. If the browser - and server are running on different machines on your LAN, add the - option `--host 0.0.0.0` to the `invoke.sh` launch command line and connect to - the machine hosting the web server using its IP address or domain - name. - -2. If all goes well, the WebUI should come up and you'll see a green dot - meaning `connected` on the upper right. - -![Invoke Web Server - Control Panel](../assets/invoke-control-panel-1.png){ align=right width=300px } - -#### Basics - -1. Generate an image by typing _bluebird_ into the large prompt field - on the upper left and then clicking on the Invoke button or pressing - the return button. - After a short wait, you'll see a large image of a bluebird in the - image panel, and a new thumbnail in the gallery on the right. - - If you need more room on the screen, you can turn the gallery off - by typing the **g** hotkey. You can turn it back on later by clicking the - image icon that appears in the gallery's place. The list of hotkeys can - be found by clicking on the keyboard icon above the image gallery. - -2. Generate a bunch of bluebird images by increasing the number of - requested images by adjusting the Images counter just below the Invoke - button. As each is generated, it will be added to the gallery. You can - switch the active image by clicking on the gallery thumbnails. - - If you'd like to watch the image generation progress, click the hourglass - icon above the main image area. As generation progresses, you'll see - increasingly detailed versions of the ultimate image. - -3. Try playing with different settings, including changing the main - model, the image width and height, the Scheduler, the Steps and - the CFG scale. - - The _Model_ changes the main model. Thousands of custom models are - now available, which generate a variety of image styles and - subjects. While InvokeAI comes with a few starter models, it is - easy to import new models into the application. See [Installing - Models](../installation/050_INSTALLING_MODELS.md) for more details. - - Image _Width_ and _Height_ do what you'd expect. However, be aware that - larger images consume more VRAM memory and take longer to generate. - - The _Scheduler_ controls how the AI selects the image to display. Some - samplers are more "creative" than others and will produce a wider range of - variations (see next section). Some samplers run faster than others. - - _Steps_ controls how many noising/denoising/sampling steps the AI will take. - The higher this value, the more refined the image will be, but the longer - the image will take to generate. A typical strategy is to generate images - with a low number of steps in order to select one to work on further, and - then regenerate it using a higher number of steps. - - The _CFG Scale_ controls how hard the AI tries to match the generated image - to the input prompt. You can go as high or low as you like, but generally - values greater than 20 won't improve things much, and values lower than 5 - will produce unexpected images. There are complex interactions between - _Steps_, _CFG Scale_ and the _Scheduler_, so experiment to find out what works - for you. - - The _Seed_ controls the series of values returned by InvokeAI's - random number generator. Each unique seed value will generate a different - image. To regenerate a previous image, simply use the original image's - seed value. A slider to the right of the _Seed_ field will change the - seed each time an image is generated. - -![Invoke Web Server - Control Panel 2](../assets/control-panel-2.png){ align=right width=400px } - -4. To regenerate a previously-generated image, select the image you - want and click the asterisk ("*") button at the top of the - image. This loads the text prompt and other original settings into - the control panel. If you then press _Invoke_ it will regenerate - the image exactly. You can also selectively modify the prompt or - other settings to tweak the image. - - Alternatively, you may click on the "sprouting plant icon" to load - just the image's seed, and leave other settings unchanged or the - quote icon to load just the positive and negative prompts. - -5. To regenerate a Stable Diffusion image that was generated by another SD - package, you need to know its text prompt and its _Seed_. Copy-paste the - prompt into the prompt box, unset the _Randomize Seed_ control in the - control panel, and copy-paste the desired _Seed_ into its text field. When - you Invoke, you will get something similar to the original image. It will - not be exact unless you also set the correct values for the original - sampler, CFG, steps and dimensions, but it will (usually) be close. - -6. To save an image, right click on it to bring up a menu that will - let you download the image, save it to a named image gallery, and - copy it to the clipboard, among other things. - -#### Upscaling - -![Invoke Web Server - Upscaling](../assets/upscaling.png){ align=right width=400px } - -"Upscaling" is the process of increasing the size of an image while - retaining the sharpness. InvokeAI uses an external library called - "ESRGAN" to do this. To invoke upscaling, simply select an image - and press the "expanding arrows" button above it. You can select - between 2X and 4X upscaling, and adjust the upscaling strength, - which has much the same meaning as in facial reconstruction. Try - running this on one of your previously-generated images. - -### Image to Image - -InvokeAI lets you take an existing image and use it as the basis for a new -creation. You can use any sort of image, including a photograph, a scanned -sketch, or a digital drawing, as long as it is in PNG or JPEG format. - -For this tutorial, we'll use the file named -[Lincoln-and-Parrot-512.png](../assets/Lincoln-and-Parrot-512.png). - -1. Click on the _Image to Image_ tab icon, which is the second icon - from the top on the left-hand side of the screen. This will bring - you to a screen similar to the one shown here: - - ![Invoke Web Server - Image to Image Tab](../assets/invoke-web-server-6.png){ width="640px" } - -2. Drag-and-drop the Lincoln-and-Parrot image into the Image panel, or click - the blank area to get an upload dialog. The image will load into an area - marked _Initial Image_. (The WebUI will also load the most - recently-generated image from the gallery into a section on the left, but - this image will be replaced in the next step.) - -3. Go to the prompt box and type _old sea captain with raven on shoulder_ and - press Invoke. A derived image will appear to the right of the original one: - - ![Invoke Web Server - Image to Image example](../assets/invoke-web-server-7.png){:width="640px"} - -4. Experiment with the different settings. The most influential one in Image to - Image is _Denoising Strength_ located about midway down the control - panel. By default it is set to 0.75, but can range from 0.0 to 0.99. The - higher the value, the more of the original image the AI will replace. A - value of 0 will leave the initial image completely unchanged, while 0.99 - will replace it completely. However, the _Scheduler_ and _CFG Scale_ also - influence the final result. You can also generate variations in the same way - as described in Text to Image. - -5. What if we only want to change certain part(s) of the image and - leave the rest intact? This is called Inpainting, and you can do - it in the [Unified Canvas](UNIFIED_CANVAS.md). The Unified Canvas - also allows you to extend borders of the image and fill in the - blank areas, a process called outpainting. - -6. Would you like to modify a previously-generated image using the Image to - Image facility? Easy! While in the Image to Image panel, drag and drop any - image in the gallery into the Initial Image area, and it will be ready for - use. You can do the same thing with the main image display. Click on the - _Send to_ icon to get a menu of - commands and choose "Send to Image to Image". - - ![Send To Icon](../assets/send-to-icon.png) - -### Textual Inversion, LoRA and ControlNet - -InvokeAI supports several different types of model files that -extending the capabilities of the main model by adding artistic -styles, special effects, or subjects. By mixing and matching textual -inversion, LoRA and ControlNet models, you can achieve many -interesting and beautiful effects. - -We will give an example using a LoRA model named "Ink Scenery". This -LoRA, which can be downloaded from Civitai (civitai.com), is -specialized to paint landscapes that look like they were made with -dripping india ink. To install this LoRA, we first download it and -put it into the `autoimport/lora` folder located inside the -`invokeai` root directory. After restarting the web server, the -LoRA will now become available for use. - -To see this LoRA at work, we'll first generate an image without it -using the standard `stable-diffusion-v1-5` model. Choose this -model and enter the prompt "mountains, ink". Here is a typical -generated image, a mountain range rendered in ink and watercolor -wash: - -![Ink Scenery without LoRA](../assets/lora-example-0.png){ width=512px } - -Now let's install and activate the Ink Scenery LoRA. Go to -https://civitai.com/models/78605/ink-scenery-or and download the LoRA -model file to `invokeai/autoimport/lora` and restart the web -server. (Alternatively, you can use [InvokeAI's Web Model -Manager](../installation/050_INSTALLING_MODELS.md) to download and -install the LoRA directly by typing its URL into the _Import -Models_->_Location_ field). - -Scroll down the control panel until you get to the LoRA accordion -section, and open it: - -![LoRA Section](../assets/lora-example-1.png){ width=512px } - -Click the popup menu and select "Ink scenery". (If it isn't there, then -the model wasn't installed to the right place, or perhaps you forgot -to restart the web server.) The LoRA section will change to look like this: - -![LoRA Section Loaded](../assets/lora-example-2.png){ width=512px } - -Note that there is now a slider control for _Ink scenery_. The slider -controls how much influence the LoRA model will have on the generated -image. - -Run the "mountains, ink" prompt again and observe the change in style: - -![Ink Scenery](../assets/lora-example-3.png){ width=512px } - -Try adjusting the weight slider for larger and smaller weights and -generate the image after each adjustment. The higher the weight, the -more influence the LoRA will have. - -To remove the LoRA completely, just click on its trash can icon. - -Multiple LoRAs can be added simultaneously and combined with textual -inversions and ControlNet models. Please see [Textual Inversions and -LoRAs](CONCEPTS.md) and [Using ControlNet](CONTROLNET.md) for details. - -## Summary - -This walkthrough just skims the surface of the many things InvokeAI -can do. Please see [Features](index.md) for more detailed reference -guides. - -## Acknowledgements - -A huge shout-out to the core team working to make the Web GUI a reality, -including [psychedelicious](https://github.com/psychedelicious), -[Kyle0654](https://github.com/Kyle0654) and -[blessedcoolant](https://github.com/blessedcoolant). -[hipsterusername](https://github.com/hipsterusername) was the team's unofficial -cheerleader and added tooltips/docs. diff --git a/docs/features/WEBUIHOTKEYS.md b/docs/features/WEBUIHOTKEYS.md deleted file mode 100644 index 4aa3d385fe7..00000000000 --- a/docs/features/WEBUIHOTKEYS.md +++ /dev/null @@ -1,75 +0,0 @@ ---- -title: WebUI Hotkey List ---- - -# :material-keyboard: **WebUI Hotkey List** - -## App Hotkeys - -| Setting | Hotkey | -| --------------- | ------------------ | -| ++ctrl+enter++ | Invoke | -| ++shift+x++ | Cancel | -| ++alt+a++ | Focus Prompt | -| ++o++ | Toggle Options | -| ++shift+o++ | Pin Options | -| ++z++ | Toggle Viewer | -| ++g++ | Toggle Gallery | -| ++f++ | Maximize Workspace | -| ++1++ - ++5++ | Change Tabs | -| ++"`"++ | Toggle Console | - -## General Hotkeys - -| Setting | Hotkey | -| -------------- | ---------------------- | -| ++p++ | Set Prompt | -| ++s++ | Set Seed | -| ++a++ | Set Parameters | -| ++shift+r++ | Restore Faces | -| ++shift+u++ | Upscale | -| ++i++ | Show Info | -| ++shift+i++ | Send To Image To Image | -| ++del++ | Delete Image | -| ++esc++ | Close Panels | - -## Gallery Hotkeys - -| Setting | Hotkey | -| ----------------------| --------------------------- | -| ++arrow-left++ | Previous Image | -| ++arrow-right++ | Next Image | -| ++shift+g++ | Toggle Gallery Pin | -| ++shift+arrow-up++ | Increase Gallery Image Size | -| ++shift+arrow-down++ | Decrease Gallery Image Size | - -## Unified Canvas Hotkeys - -| Setting | Hotkey | -| --------------------------------- | ---------------------- | -| ++b++ | Select Brush | -| ++e++ | Select Eraser | -| ++bracket-left++ | Decrease Brush Size | -| ++bracket-right++ | Increase Brush Size | -| ++shift+bracket-left++ | Decrease Brush Opacity | -| ++shift+bracket-right++ | Increase Brush Opacity | -| ++v++ | Move Tool | -| ++shift+f++ | Fill Bounding Box | -| ++del++ / ++backspace++ | Erase Bounding Box | -| ++c++ | Select Color Picker | -| ++n++ | Toggle Snap | -| ++"Hold Space"++ | Quick Toggle Move | -| ++q++ | Toggle Layer | -| ++shift+c++ | Clear Mask | -| ++h++ | Hide Mask | -| ++shift+h++ | Show/Hide Bounding Box | -| ++shift+m++ | Merge Visible | -| ++shift+s++ | Save To Gallery | -| ++ctrl+c++ | Copy To Clipboard | -| ++shift+d++ | Download Image | -| ++ctrl+z++ | Undo | -| ++ctrl+y++ / ++ctrl+shift+z++ | Redo | -| ++r++ | Reset View | -| ++arrow-left++ | Previous Staging Image | -| ++arrow-right++ | Next Staging Image | -| ++enter++ | Accept Staging Image | \ No newline at end of file diff --git a/docs/features/DATABASE.md b/docs/features/database.md similarity index 90% rename from docs/features/DATABASE.md rename to docs/features/database.md index 2d44dda595f..ad2f0e105c1 100644 --- a/docs/features/DATABASE.md +++ b/docs/features/database.md @@ -2,8 +2,6 @@ title: Database --- -# Invoke's SQLite Database - Invoke uses a SQLite database to store image, workflow, model, and execution data. We take great care to ensure your data is safe, by utilizing transactions and a database migration system. @@ -24,12 +22,10 @@ SQLite can run on an in-memory database. Your existing database is untouched whe This is very useful for testing, as there is no chance of a database change modifying your "physical" database. -To run Invoke with a memory database, edit your `invokeai.yaml` file, and add `use_memory_db: true` to the `Paths:` stanza: +To run Invoke with a memory database, edit your `invokeai.yaml` file and add `use_memory_db: true`: ```yaml -InvokeAI: - Development: - use_memory_db: true +use_memory_db: true ``` Delete this line (or set it to `false`) to use your main database. diff --git a/docs/features/GALLERY.md b/docs/features/gallery.md similarity index 100% rename from docs/features/GALLERY.md rename to docs/features/gallery.md diff --git a/docs/features/index.md b/docs/features/index.md deleted file mode 100644 index 7d0c0c25e5d..00000000000 --- a/docs/features/index.md +++ /dev/null @@ -1,62 +0,0 @@ ---- -title: Overview ---- - -Here you can find the documentation for InvokeAI's various features. - -## The [Getting Started Guide](../help/gettingStartedWithAI) -A getting started guide for those new to AI image generation. - -## The Basics -### * The [Web User Interface](WEB.md) -Guide to the Web interface. Also see the [WebUI Hotkeys Reference Guide](WEBUIHOTKEYS.md) - -### * The [Unified Canvas](UNIFIED_CANVAS.md) -Build complex scenes by combine and modifying multiple images in a stepwise -fashion. This feature combines img2img, inpainting and outpainting in -a single convenient digital artist-optimized user interface. - -## Image Generation -### * [Prompt Engineering](PROMPTS.md) -Get the images you want with the InvokeAI prompt engineering language. - -### * The [LoRA, LyCORIS, LCM-LoRA Models](CONCEPTS.md) -Add custom subjects and styles using a variety of fine-tuned models. - -### * [ControlNet](CONTROLNET.md) -Learn how to install and use ControlNet models for fine control over -image output. - -### * [Image-to-Image Guide](IMG2IMG.md) -Use a seed image to build new creations. - -## Model Management - -### * [Model Installation](../installation/050_INSTALLING_MODELS.md) -Learn how to import third-party models and switch among them. This -guide also covers optimizing models to load quickly. - -### * [Merging Models](MODEL_MERGING.md) -Teach an old model new tricks. Merge 2-3 models together to create a -new model that combines characteristics of the originals. - -### * [Textual Inversion](TEXTUAL_INVERSIONS.md) -Personalize models by adding your own style or subjects. - -## Other Features - -### * [The NSFW Checker](WATERMARK+NSFW.md) -Prevent InvokeAI from displaying unwanted racy images. - -### * [Controlling Logging](LOGGING.md) -Control how InvokeAI logs status messages. - -### * [Command-line Utilities](UTILITIES.md) -A list of the command-line utilities available with InvokeAI. - - diff --git a/docs/img/invoke-symbol-wht-lrg.svg b/docs/img/invoke-symbol-wht-lrg.svg new file mode 100755 index 00000000000..17cfdc77da7 --- /dev/null +++ b/docs/img/invoke-symbol-wht-lrg.svg @@ -0,0 +1,3 @@ + + + diff --git a/docs/index.md b/docs/index.md index d55d6a14f8f..b1520ba4fba 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,181 +1,75 @@ --- -title: Home +title: Invoke --- - - - -
- [![project logo](https://github.com/invoke-ai/InvokeAI/assets/31807370/6e3728c7-e90e-4711-905c-3b55844ff5be)](https://github.com/invoke-ai/InvokeAI) [![discord badge]][discord link] - [![latest release badge]][latest release link] [![github stars badge]][github stars link] [![github forks badge]][github forks link] - - - +[![latest commit to main badge]][latest commit to main link] [![github open issues badge]][github open issues link] [![github open prs badge]][github open prs link] -[ci checks on dev badge]: - https://flat.badgen.net/github/checks/invoke-ai/InvokeAI/development?label=CI%20status%20on%20dev&cache=900&icon=github -[ci checks on dev link]: - https://github.com/invoke-ai/InvokeAI/actions?query=branch%3Adevelopment -[ci checks on main badge]: - https://flat.badgen.net/github/checks/invoke-ai/InvokeAI/main?label=CI%20status%20on%20main&cache=900&icon=github -[ci checks on main link]: - https://github.com/invoke-ai/InvokeAI/actions/workflows/test-invoke-conda.yml [discord badge]: https://flat.badgen.net/discord/members/ZmtBAhwWhy?icon=discord [discord link]: https://discord.gg/ZmtBAhwWhy -[github forks badge]: - https://flat.badgen.net/github/forks/invoke-ai/InvokeAI?icon=github -[github forks link]: - https://useful-forks.github.io/?repo=lstein%2Fstable-diffusion -[github open issues badge]: - https://flat.badgen.net/github/open-issues/invoke-ai/InvokeAI?icon=github -[github open issues link]: - https://github.com/invoke-ai/InvokeAI/issues?q=is%3Aissue+is%3Aopen -[github open prs badge]: - https://flat.badgen.net/github/open-prs/invoke-ai/InvokeAI?icon=github -[github open prs link]: - https://github.com/invoke-ai/InvokeAI/pulls?q=is%3Apr+is%3Aopen -[github stars badge]: - https://flat.badgen.net/github/stars/invoke-ai/InvokeAI?icon=github +[github forks badge]: https://flat.badgen.net/github/forks/invoke-ai/InvokeAI?icon=github +[github forks link]: https://useful-forks.github.io/?repo=lstein%2Fstable-diffusion +[github open issues badge]: https://flat.badgen.net/github/open-issues/invoke-ai/InvokeAI?icon=github +[github open issues link]: https://github.com/invoke-ai/InvokeAI/issues?q=is%3Aissue+is%3Aopen +[github open prs badge]: https://flat.badgen.net/github/open-prs/invoke-ai/InvokeAI?icon=github +[github open prs link]: https://github.com/invoke-ai/InvokeAI/pulls?q=is%3Apr+is%3Aopen +[github stars badge]: https://flat.badgen.net/github/stars/invoke-ai/InvokeAI?icon=github [github stars link]: https://github.com/invoke-ai/InvokeAI/stargazers - -[latest release badge]: - https://flat.badgen.net/github/release/invoke-ai/InvokeAI/development?icon=github +[latest commit to main badge]: https://flat.badgen.net/github/last-commit/invoke-ai/InvokeAI/main?icon=github&color=yellow&label=last%20commit&cache=900 +[latest commit to main link]: https://github.com/invoke-ai/InvokeAI/commits/main +[latest release badge]: https://flat.badgen.net/github/release/invoke-ai/InvokeAI/development?icon=github [latest release link]: https://github.com/invoke-ai/InvokeAI/releases
-InvokeAI is an -implementation of Stable Diffusion, the open source text-to-image and -image-to-image generator. It provides a streamlined process with various new -features and options to aid the image generation process. It runs on Windows, -Mac and Linux machines, and runs on GPU cards with as little as 4 GB of RAM. +Invoke is a leading creative engine built to empower professionals and enthusiasts alike. Generate and create stunning visual media using the latest AI-driven technologies. Invoke offers an industry leading web-based UI, and serves as the foundation for multiple commercial products.
-## :octicons-link-24: Quick Links - - - - -## :octicons-gift-24: InvokeAI Features - -### Installation - - [Automated Installer](installation/010_INSTALL_AUTOMATED.md) - - [Manual Installation](installation/020_INSTALL_MANUAL.md) - - [Docker Installation](installation/040_INSTALL_DOCKER.md) - -### The InvokeAI Web Interface -- [WebUI overview](features/WEB.md) -- [WebUI hotkey reference guide](features/WEBUIHOTKEYS.md) -- [WebUI Unified Canvas for Img2Img, inpainting and outpainting](features/UNIFIED_CANVAS.md) - - - -### Image Management -- [Image2Image](features/IMG2IMG.md) -- [Adding custom styles and subjects](features/CONCEPTS.md) -- [Upscaling and Face Reconstruction](features/POSTPROCESS.md) -- [Other Features](features/OTHER.md) - - -### Model Management -- [Installing](installation/050_INSTALLING_MODELS.md) -- [Model Merging](features/MODEL_MERGING.md) -- [ControlNet Models](features/CONTROLNET.md) -- [Style/Subject Concepts and Embeddings](features/CONCEPTS.md) -- [Watermarking and the Not Safe for Work (NSFW) Checker](features/WATERMARK+NSFW.md) - -### Prompt Engineering -- [Prompt Syntax](features/PROMPTS.md) +## Installation -### InvokeAI Configuration -- [Guide to InvokeAI Runtime Settings](features/CONFIGURATION.md) -- [Database Maintenance and other Command Line Utilities](features/UTILITIES.md) +The [installer script](installation/installer.md) is the easiest way to install and update the application. -## :material-target: Troubleshooting +You can also install Invoke as python package [via PyPI](installation/manual.md) or [docker](installation/docker.md). -Please check out our **[:material-frequently-asked-questions: -FAQ](help/FAQ/)** to -get solutions for common installation problems and other issues. +See the [installation section](./installation/index.md) for more information. -## :octicons-repo-push-24: Contributing +## Help -Anyone who wishes to contribute to this project, whether documentation, -features, bug fixes, code cleanup, testing, or code reviews, is very much -encouraged to do so. +Please first check the [FAQ](./faq.md) to see if there is a fix for your issue or answer to your question. -[Please take a look at our Contribution documentation to learn more about contributing to InvokeAI. -](contributing/CONTRIBUTING.md) +If you still have a problem, [create an issue](https://github.com/invoke-ai/InvokeAI/issues) or ask for help on [Discord](https://discord.gg/ZmtBAhwWhy). -## :octicons-person-24: Contributors +## Training -This software is a combined effort of various people from across the world. -[Check out the list of all these amazing people](other/CONTRIBUTORS.md). We -thank them for their time, hard work and effort. +Invoke Training has moved to its own repository, with a dedicated UI for accessing common scripts like Textual Inversion and LoRA training. -## :octicons-question-24: Support +You can find more by visiting the repo at . -For support, please use this repository's GitHub Issues tracking service. Feel -free to send me an email if you use and like the script. +## Contributing -Original portions of the software are Copyright (c) 2022-23 -by [The InvokeAI Team](https://github.com/invoke-ai). +We welcome contributions, big and small. Please review our [contributing guide](contributing/index.md) if you'd like make a contribution. +This software is a combined effort of [people across the world](contributing/contributors.md). We thank them for their time, hard work and effort! diff --git a/docs/installation/060_INSTALL_PATCHMATCH.md b/docs/installation/060_INSTALL_PATCHMATCH.md deleted file mode 100644 index a9646f8b607..00000000000 --- a/docs/installation/060_INSTALL_PATCHMATCH.md +++ /dev/null @@ -1,110 +0,0 @@ ---- -title: Installing PyPatchMatch ---- - -# :material-image-size-select-large: Installing PyPatchMatch - -pypatchmatch is a Python module for inpainting images. It is not needed to run -InvokeAI, but it greatly improves the quality of inpainting and outpainting and -is recommended. - -Unfortunately, it is a C++ optimized module and installation can be somewhat -challenging. This guide leads you through the steps. - -## Windows - -You're in luck! On Windows platforms PyPatchMatch will install automatically on -Windows systems with no extra intervention. - -## Macintosh - -You need to have opencv installed so that pypatchmatch can be built: - -```bash -brew install opencv -``` - -The next time you start `invoke`, after successfully installing opencv, pypatchmatch will be built. - -## Linux - -Prior to installing PyPatchMatch, you need to take the following steps: - -### Debian Based Distros - -1. Install the `build-essential` tools: - - ```sh - sudo apt update - sudo apt install build-essential - ``` - -2. Install `opencv`: - - ```sh - sudo apt install python3-opencv libopencv-dev - ``` - -3. Activate the environment you use for invokeai, either with `conda` or with a - virtual environment. - -4. Install pypatchmatch: - - ```sh - pip install pypatchmatch - ``` - -5. Confirm that pypatchmatch is installed. At the command-line prompt enter - `python`, and then at the `>>>` line type - `from patchmatch import patch_match`: It should look like the following: - - ```py - Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux - Type "help", "copyright", "credits" or "license" for more information. - >>> from patchmatch import patch_match - Compiling and loading c extensions from "/home/lstein/Projects/InvokeAI/.invokeai-env/src/pypatchmatch/patchmatch". - rm -rf build/obj libpatchmatch.so - mkdir: created directory 'build/obj' - mkdir: created directory 'build/obj/csrc/' - [dep] csrc/masked_image.cpp ... - [dep] csrc/nnf.cpp ... - [dep] csrc/inpaint.cpp ... - [dep] csrc/pyinterface.cpp ... - [CC] csrc/pyinterface.cpp ... - [CC] csrc/inpaint.cpp ... - [CC] csrc/nnf.cpp ... - [CC] csrc/masked_image.cpp ... - [link] libpatchmatch.so ... - ``` - -### Arch Based Distros - -1. Install the `base-devel` package: - - ```sh - sudo pacman -Syu - sudo pacman -S --needed base-devel - ``` - -2. Install `opencv` and `blas`: - - ```sh - sudo pacman -S opencv blas - ``` - - or for CUDA support - - ```sh - sudo pacman -S opencv-cuda blas - ``` - -3. Fix the naming of the `opencv` package configuration file: - - ```sh - cd /usr/lib/pkgconfig/ - ln -sf opencv4.pc opencv.pc - ``` - -[**Next, Follow Steps 4-6 from the Debian Section above**](#linux) - -If you see no errors you're ready to go! diff --git a/docs/installation/INSTALLATION.md b/docs/installation/INSTALLATION.md deleted file mode 100644 index 267376f197c..00000000000 --- a/docs/installation/INSTALLATION.md +++ /dev/null @@ -1,48 +0,0 @@ -# Installation and Updating Overview - -Before installing, review the [installation requirements] to ensure your system is set up properly. - -See the [FAQ] for frequently-encountered installation issues. - -If you need more help, join our [discord] or [create an issue]. - -

Automatic Install & Updates

- -✅ The automatic install is the best way to run InvokeAI. Check out the [installation guide] to get started. - -⬆️ The same installer is also the best way to update InvokeAI - Simply rerun it for the same folder you installed to. - -The installation process simply manages installation for the core libraries & application dependencies that run Invoke. -Any models, images, or other assets in the Invoke root folder won't be affected by the installation process. - -

Manual Install

- -If you are familiar with python and want more control over the packages that are installed, you can [install InvokeAI manually via PyPI]. - -Updates are managed by reinstalling the latest version through PyPi. - -

Developer Install

- -If you want to contribute to InvokeAI, consult the [developer install guide]. - -

Docker Install

- -This method is recommended for those familiar with running Docker containers. - -We offer a method for creating Docker containers containing InvokeAI and its dependencies. This method is recommended for individuals with experience with Docker containers and understand the pluses and minuses of a container-based install. - -See the [docker installation guide]. - -

Other Installation Guides

- -- [PyPatchMatch](060_INSTALL_PATCHMATCH.md) -- [Installing Models](050_INSTALLING_MODELS.md) - -[install InvokeAI manually via PyPI]: 020_INSTALL_MANUAL.md -[developer install guide]: INSTALL_DEVELOPMENT.md -[docker installation guide]: 040_INSTALL_DOCKER.md -[installation guide]: 010_INSTALL_AUTOMATED.md -[FAQ]: ../help/FAQ.md -[discord]: discord.gg/invoke-ai -[create an issue]: https://github.com/invoke-ai/InvokeAI/issues -[installation requirements]: INSTALL_REQUIREMENTS.md diff --git a/docs/installation/INSTALL_DEVELOPMENT.md b/docs/installation/INSTALL_DEVELOPMENT.md deleted file mode 100644 index ead6b3bc8d6..00000000000 --- a/docs/installation/INSTALL_DEVELOPMENT.md +++ /dev/null @@ -1,37 +0,0 @@ -# Developer Install - -!!! warning - - InvokeAI uses a SQLite database. By running on `main`, you accept responsibility for your database. This - means making regular backups (especially before pulling) and/or fixing it yourself in the event that a - PR introduces a schema change. - - If you don't need persistent backend storage, you can use an ephemeral in-memory database by setting - `use_memory_db: true` in your `invokeai.yaml` file. You'll also want to set `scan_models_on_startup: true` - so that your models are registered on startup. - - If this is untenable, you should run the application via the official installer or a manual install of the - python package from PyPI. These releases will not break your database. - -If you have an interest in how InvokeAI works, or you would like to add features or bugfixes, you are encouraged to install the source code for InvokeAI. - -!!! info "Why do I need the frontend toolchain?" - - The repo doesn't contain a build of the frontend. You'll be responsible for rebuilding it (or running it in dev mode) to use the app, as described in the [frontend dev toolchain] docs. - -

Installation

- -1. [Fork and clone] the [InvokeAI repo]. -1. Follow the [manual installation] docs to create a new virtual environment for the development install. - - Create a new folder outside the repo root for the installation and create the venv inside that folder. - - When installing the InvokeAI package, add `-e` to the command so you get an [editable install]. -1. Install the [frontend dev toolchain] and do a production build of the UI as described. -1. You can now run the app as described in the [manual installation] docs. - -As described in the [frontend dev toolchain] docs, you can run the UI using a dev server. If you do this, you won't need to continually rebuild the frontend. Instead, you run the dev server and use the app with the server URL it provides. - -[Fork and clone]: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo -[InvokeAI repo]: https://github.com/invoke-ai/InvokeAI -[frontend dev toolchain]: ../contributing/frontend/OVERVIEW.md -[manual installation]: ./020_INSTALL_MANUAL.md -[editable install]: https://pip.pypa.io/en/latest/cli/pip_install/#cmdoption-e diff --git a/docs/installation/040_INSTALL_DOCKER.md b/docs/installation/docker.md similarity index 70% rename from docs/installation/040_INSTALL_DOCKER.md rename to docs/installation/docker.md index 119cff93d2f..a317ef9d5fb 100644 --- a/docs/installation/040_INSTALL_DOCKER.md +++ b/docs/installation/docker.md @@ -1,12 +1,10 @@ --- -title: Installing with Docker +title: Docker --- -# :fontawesome-brands-docker: Docker - !!! warning "macOS users" - Docker can not access the GPU on macOS, so your generation speeds will be slow. [Install InvokeAI](INSTALLATION.md) instead. + Docker can not access the GPU on macOS, so your generation speeds will be slow. Use the [installer](./installer.md) instead. !!! tip "Linux and Windows Users" @@ -22,7 +20,7 @@ Ensure your Docker setup is able to use your GPU. Then: docker run --runtime=nvidia --gpus=all --publish 9090:9090 ghcr.io/invoke-ai/invokeai ``` -Once the container starts up, open http://localhost:9090 in your browser, install some models, and start generating. +Once the container starts up, open in your browser, install some models, and start generating. ## Build-It-Yourself @@ -49,18 +47,18 @@ increase Swap and Disk image size too. Set up your environment variables. In the `docker` directory, make a copy of `.env.sample` and name it `.env`. Make changes as necessary. -Any environment variables supported by InvokeAI can be set here - please see the [CONFIGURATION](../features/CONFIGURATION.md) for further detail. +Any environment variables supported by InvokeAI can be set here - please see the [CONFIGURATION](../configuration.md) for further detail. At a minimum, you might want to set the `INVOKEAI_ROOT` environment variable to point to the location where you wish to store your InvokeAI models, configuration, and outputs.
-| Environment-Variable | Default value | Description | -| ----------------------------------------------------- | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `INVOKEAI_ROOT` | `~/invokeai` | **Required** - the location of your InvokeAI root directory. It will be created if it does not exist. -| `HUGGING_FACE_HUB_TOKEN` | | InvokeAI will work without it, but some of the integrations with HuggingFace (like downloading from models from private repositories) may not work| -| `GPU_DRIVER` | `cuda` | Optionally change this to `rocm` to build the image for AMD GPUs. NOTE: Use the `build.sh` script to build the image for this to take effect. +| Environment-Variable | Default value | Description | +| ----------------------------------------------------- | ---------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | +| `INVOKEAI_ROOT` | `~/invokeai` | **Required** - the location of your InvokeAI root directory. It will be created if it does not exist. | +| `HUGGING_FACE_HUB_TOKEN` | | InvokeAI will work without it, but some of the integrations with HuggingFace (like downloading from models from private repositories) may not work | +| `GPU_DRIVER` | `cuda` | Optionally change this to `rocm` to build the image for AMD GPUs. NOTE: Use the `build.sh` script to build the image for this to take effect. |
@@ -69,8 +67,8 @@ to point to the location where you wish to store your InvokeAI models, configura Use the standard `docker compose build` command from within the `docker` directory. If using an AMD GPU: - a: set the `GPU_DRIVER=rocm` environment variable in `docker-compose.yml` and continue using `docker compose build` as usual, or - b: set `GPU_DRIVER=rocm` in the `.env` file and use the `build.sh` script, provided for convenience +a: set the `GPU_DRIVER=rocm` environment variable in `docker-compose.yml` and continue using `docker compose build` as usual, or +b: set `GPU_DRIVER=rocm` in the `.env` file and use the `build.sh` script, provided for convenience #### Run the Container @@ -82,8 +80,8 @@ Once the container starts up (and configures the InvokeAI root directory if this - Q: I am running on Windows under WSL2, and am seeing a "no such file or directory" error. - A: Your `docker-entrypoint.sh` might have has Windows (CRLF) line endings, depending how you cloned the repository. - To solve this, change the line endings in the `docker-entrypoint.sh` file to `LF`. You can do this in VSCode - (`Ctrl+P` and search for "line endings"), or by using the `dos2unix` utility in WSL. - Finally, you may delete `docker-entrypoint.sh` followed by `git pull; git checkout docker/docker-entrypoint.sh` - to reset the file to its most recent version. - For more information on this issue, see [Docker Desktop documentation](https://docs.docker.com/desktop/troubleshoot/topics/#avoid-unexpected-syntax-errors-use-unix-style-line-endings-for-files-in-containers) + To solve this, change the line endings in the `docker-entrypoint.sh` file to `LF`. You can do this in VSCode + (`Ctrl+P` and search for "line endings"), or by using the `dos2unix` utility in WSL. + Finally, you may delete `docker-entrypoint.sh` followed by `git pull; git checkout docker/docker-entrypoint.sh` + to reset the file to its most recent version. + For more information on this issue, see [Docker Desktop documentation](https://docs.docker.com/desktop/troubleshoot/topics/#avoid-unexpected-syntax-errors-use-unix-style-line-endings-for-files-in-containers) diff --git a/docs/installation/index.md b/docs/installation/index.md new file mode 100644 index 00000000000..61ab6e763bf --- /dev/null +++ b/docs/installation/index.md @@ -0,0 +1,36 @@ +# Installation and Updating Overview + +Before installing, review the [installation requirements](./requirements.md) to ensure your system is set up properly. + +See the [FAQ](../faq.md) for frequently-encountered installation issues. + +If you need more help, join our [discord](https://discord.gg/ZmtBAhwWhy) or [create a GitHub issue](https://github.com/invoke-ai/InvokeAI/issues). + +## Automated Installer & Updates + +✅ The automated [installer](./installer.md) is the best way to install Invoke. + +⬆️ The same installer is also the best way to update Invoke - simply rerun it for the same folder you installed to. + +The installation process simply manages installation for the core libraries & application dependencies that run Invoke. + +Models, images, or other assets in the Invoke root folder won't be affected by the installation process. + +## Manual Install + +If you are familiar with python and want more control over the packages that are installed, you can [install Invoke manually via PyPI](./manual.md). + +Updates are managed by reinstalling the latest version through PyPi. + +## Developer Install + +If you want to contribute to InvokeAI, you'll need to set up a [dev environment](../contributing/dev-environment.md). + +## Docker + +Invoke publishes docker images. See the [docker installation guide](./docker.md) for details. + +## Other Installation Guides + +- [PyPatchMatch](./patchmatch.md) +- [Installing Models](./models.md) diff --git a/docs/installation/010_INSTALL_AUTOMATED.md b/docs/installation/installer.md similarity index 78% rename from docs/installation/010_INSTALL_AUTOMATED.md rename to docs/installation/installer.md index 3c6c90afdcf..b8a661c0538 100644 --- a/docs/installation/010_INSTALL_AUTOMATED.md +++ b/docs/installation/installer.md @@ -1,8 +1,10 @@ # Automatic Install & Updates -**The same packaged installer file can be used for both new installs and updates.** -Using the installer for updates will leave everything you've added since installation, and just update the core libraries used to run Invoke. -Simply use the same path you installed to originally. +!!! tip "Use the installer to update" + + Using the installer for updates will not erase any of your data (images, models, boards, etc). It only updates the core libraries used to run Invoke. + + Simply use the same path you installed to originally to update your existing installation. Both release and pre-release versions can be installed using the installer. It also supports install through a wheel if needed. @@ -72,12 +74,18 @@ Find the install location you selected earlier. Double-click the launcher script Choose the first option to run the UI. After a series of startup messages, you'll see something like this: -``` +```sh Uvicorn running on http://127.0.0.1:9090 (Press CTRL+C to quit) ``` Copy the URL into your browser and you should see the UI. +## Improved Outpainting with PatchMatch + +PatchMatch is an extra add-on that can improve outpainting. Windows users are in luck - it works out of the box. + +On macOS and Linux, a few extra steps are needed to set it up. See the [PatchMatch installation guide](./patchmatch.md). + ## First-time Setup You will need to [install some models] before you can generate. @@ -86,7 +94,7 @@ Check the [configuration docs] for details on configuring the application. ## Updating -Updating is exactly the same as installing - download the latest installer, choose the latest version and off you go. +Updating is exactly the same as installing - download the latest installer, choose the latest version, enter your existing installation path, and the app will update. None of your data (images, models, boards, etc) will be erased. !!! info "Dependency Resolution Issues" @@ -98,10 +106,10 @@ Updating is exactly the same as installing - download the latest installer, choo If you have installation issues, please review the [FAQ]. You can also [create an issue] or ask for help on [discord]. -[installation requirements]: INSTALL_REQUIREMENTS.md -[FAQ]: ../help/FAQ.md -[install some models]: 050_INSTALLING_MODELS.md -[configuration docs]: ../features/CONFIGURATION.md +[installation requirements]: ./requirements.md +[FAQ]: ../faq.md +[install some models]: ./models.md +[configuration docs]: ../configuration.md [latest release]: https://github.com/invoke-ai/InvokeAI/releases/latest [create an issue]: https://github.com/invoke-ai/InvokeAI/issues [discord]: https://discord.gg/ZmtBAhwWhy diff --git a/docs/installation/020_INSTALL_MANUAL.md b/docs/installation/manual.md similarity index 63% rename from docs/installation/020_INSTALL_MANUAL.md rename to docs/installation/manual.md index 059834eb453..8c8bfcebdeb 100644 --- a/docs/installation/020_INSTALL_MANUAL.md +++ b/docs/installation/manual.md @@ -1,40 +1,36 @@ # Manual Install -!!! warning "This is for Advanced Users" +!!! warning **Python experience is mandatory.** -## Introduction + If you want to use Invoke locally, you should probably use the [installer](./installer.md). -InvokeAI is distributed as a python package on PyPI, installable with `pip`. There are a few things that are handled by the installer and launcher that you'll need to manage manually, described in this guide. + If you want to contribute to Invoke, instead follow the [dev environment](../contributing/dev-environment.md) guide. -### Requirements +InvokeAI is distributed as a python package on PyPI, installable with `pip`. There are a few things that are handled by the installer and launcher that you'll need to manage manually, described in this guide. -Before you start, go through the [installation requirements](./INSTALL_REQUIREMENTS.md). +## Requirements -### Installation Walkthrough +Before you start, go through the [installation requirements](./requirements.md). -1. Create a directory to contain your InvokeAI library, configuration - files, and models. This is known as the "runtime" or "root" - directory, and often lives in your home directory under the name `invokeai`. +## Walkthrough - We will refer to this directory as `INVOKEAI_ROOT`. For convenience, create an environment variable pointing to the directory. +1. Create a directory to contain your InvokeAI library, configuration files, and models. This is known as the "runtime" or "root" directory, and typically lives in your home directory under the name `invokeai`. === "Linux/macOS" ```bash - export INVOKEAI_ROOT=~/invokeai - mkdir $INVOKEAI_ROOT + mkdir ~/invokeai ``` === "Windows (PowerShell)" ```bash - Set-Variable -Name INVOKEAI_ROOT -Value $Home/invokeai - mkdir $INVOKEAI_ROOT + mkdir $Home/invokeai ``` -1. Enter the root (invokeai) directory and create a virtual Python environment within it named `.venv`. +1. Enter the root directory and create a virtual Python environment within it named `.venv`. !!! warning "Virtual Environment Location" @@ -42,10 +38,19 @@ Before you start, go through the [installation requirements](./INSTALL_REQUIREME If you choose a different location for the venv, then you _must_ set the `INVOKEAI_ROOT` environment variable or specify the root directory using the `--root` CLI arg. - ```terminal - cd $INVOKEAI_ROOT - python3 -m venv .venv --prompt InvokeAI - ``` + === "Linux/macOS" + + ```bash + cd ~/invokeai + python3 -m venv .venv --prompt InvokeAI + ``` + + === "Windows (PowerShell)" + + ```bash + cd $Home/invokeai + python3 -m venv .venv --prompt InvokeAI + ``` 1. Activate the new environment: @@ -63,13 +68,11 @@ Before you start, go through the [installation requirements](./INSTALL_REQUIREME !!! info "Permissions Error (Windows)" - If you get a permissions error at this point, run this command and try again + If you get a permissions error at this point, run this command and try again. `Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser` - The command-line prompt should change to to show `(InvokeAI)` at the beginning of the prompt. - - The following steps should be run while inside the `INVOKEAI_ROOT` directory. + The command-line prompt should change to to show `(InvokeAI)`, indicating the venv is active. 1. Make sure that pip is installed in your virtual environment and up to date: @@ -81,21 +84,17 @@ Before you start, go through the [installation requirements](./INSTALL_REQUIREME - You may need to provide an [extra index URL](https://pip.pypa.io/en/stable/cli/pip_install/#cmdoption-extra-index-url). Select your platform configuration using [this tool on the PyTorch website](https://pytorch.org/get-started/locally/). Copy the `--extra-index-url` string from this and append it to your install command. - !!! example "Install with an extra index URL" - - ```bash - pip install InvokeAI --use-pep517 --extra-index-url https://download.pytorch.org/whl/cu121 - ``` - - - If you have a CUDA GPU and want to install with `xformers`, you need to add an option to the package name. Note that `xformers` is not necessary. PyTorch includes an implementation of the SDP attention algorithm with the same performance. + ```bash + pip install InvokeAI --use-pep517 --extra-index-url https://download.pytorch.org/whl/cu121 + ``` - !!! example "Install with `xformers`" + - If you have a CUDA GPU and want to install with `xformers`, you need to add an option to the package name. Note that `xformers` is not strictly necessary. PyTorch includes an implementation of the SDP attention algorithm with similar performance for most GPUs. - ```bash - pip install "InvokeAI[xformers]" --use-pep517 - ``` + ```bash + pip install "InvokeAI[xformers]" --use-pep517 + ``` -1. Deactivate and reactivate your runtime directory so that the invokeai-specific commands become available in the environment: +1. Deactivate and reactivate your venv so that the invokeai-specific commands become available in the environment: === "Linux/macOS" diff --git a/docs/installation/050_INSTALLING_MODELS.md b/docs/installation/models.md similarity index 87% rename from docs/installation/050_INSTALLING_MODELS.md rename to docs/installation/models.md index 360a5043d39..9f2bf52793e 100644 --- a/docs/installation/050_INSTALLING_MODELS.md +++ b/docs/installation/models.md @@ -1,4 +1,4 @@ -# Installing Models +# Models ## Checkpoint and Diffusers Models @@ -15,7 +15,7 @@ Today, there are thousands of models, fine tuned to excel at specific styles, ge - `safetensors`: Single file, like `.ckpt` files. Prevents malware from lurking in a model. - `diffusers`: Splits the model components into separate files, allowing very fast loading. - InvokeAI supports all three formats. Our backend will convert models to `diffusers` format before running them. This is a transparent process. + InvokeAI supports all three formats. ## Starter Models @@ -27,7 +27,7 @@ Some models carry license terms that limit their use in commercial applications ## Other Models -You can install other models using the Model Manager. You'll find tabs for the following install methods: +There are a few ways to install other models: - **URL or Local Path**: Provide the path to a model on your computer, or a direct link to the model. Some sites require you to use an API token to download models, which you can [set up in the config file]. - **HuggingFace**: Paste a HF Repo ID to install it. If there are multiple models in the repo, you'll get a list to choose from. Repo IDs look like this: `XpucT/Deliberate`. There is a copy button on each repo to copy the ID. @@ -49,4 +49,4 @@ In this situation, you may need to provide some additional information to identi Add `:v2` to the repo ID and use that when installing the model: `monster-labs/control_v1p_sd15_qrcode_monster:v2` -[set up in the config file]: ../../features/CONFIGURATION#model-marketplace-api-keys +[set up in the config file]: ../configuration.md#model-marketplace-api-keys diff --git a/docs/installation/patchmatch.md b/docs/installation/patchmatch.md new file mode 100644 index 00000000000..61e0538fa10 --- /dev/null +++ b/docs/installation/patchmatch.md @@ -0,0 +1,121 @@ +--- +title: Installing PyPatchMatch +--- + +PatchMatch is an algorithm used to infill images. It can greatly improve outpainting results. PyPatchMatch is a python wrapper around a C++ implementation of the algorithm. + +It uses the image data around the target area as a reference to generate new image data of a similar character and quality. + +## Why Use PatchMatch + +In the context of image generation, "outpainting" refers to filling in a transparent area using AI-generated image data. But the AI can't generate without some initial data. We need to first fill in the transparent area with _something_. + +The first step in "outpainting" then, is to fill in the transparent area with something. Generally, you get better results when that initial infill resembles the rest of the image. + +Because PatchMatch generates image data so similar to the rest of the image, it works very well as the first step in outpainting, typically producing better results than other infill methods supported by Invoke (e.g. LaMA, cv2 infill, random tiles). + +### Performance Caveat + +PatchMatch is CPU-bound, and the amount of time it takes increases proportionally as the infill area increases. While the numbers certainly vary depending on system specs, you can expect a noticeable slowdown once you start infilling areas around 512x512 pixels. 1024x1024 pixels can take several seconds to infill. + +## Installation + +Unfortunately, installation can be somewhat challenging, as it requires some things that `pip` cannot install for you. + +## Windows + +You're in luck! On Windows platforms PyPatchMatch will install automatically on +Windows systems with no extra intervention. + +## Macintosh + +You need to have opencv installed so that pypatchmatch can be built: + +```bash +brew install opencv +``` + +The next time you start `invoke`, after successfully installing opencv, pypatchmatch will be built. + +## Linux + +Prior to installing PyPatchMatch, you need to take the following steps: + +### Debian Based Distros + +1. Install the `build-essential` tools: + + ```sh + sudo apt update + sudo apt install build-essential + ``` + +2. Install `opencv`: + + ```sh + sudo apt install python3-opencv libopencv-dev + ``` + +3. Activate the environment you use for invokeai, either with `conda` or with a + virtual environment. + +4. Install pypatchmatch: + + ```sh + pip install pypatchmatch + ``` + +5. Confirm that pypatchmatch is installed. At the command-line prompt enter + `python`, and then at the `>>>` line type + `from patchmatch import patch_match`: It should look like the following: + + ```py + Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux + Type "help", "copyright", "credits" or "license" for more information. + >>> from patchmatch import patch_match + Compiling and loading c extensions from "/home/lstein/Projects/InvokeAI/.invokeai-env/src/pypatchmatch/patchmatch". + rm -rf build/obj libpatchmatch.so + mkdir: created directory 'build/obj' + mkdir: created directory 'build/obj/csrc/' + [dep] csrc/masked_image.cpp ... + [dep] csrc/nnf.cpp ... + [dep] csrc/inpaint.cpp ... + [dep] csrc/pyinterface.cpp ... + [CC] csrc/pyinterface.cpp ... + [CC] csrc/inpaint.cpp ... + [CC] csrc/nnf.cpp ... + [CC] csrc/masked_image.cpp ... + [link] libpatchmatch.so ... + ``` + +### Arch Based Distros + +1. Install the `base-devel` package: + + ```sh + sudo pacman -Syu + sudo pacman -S --needed base-devel + ``` + +2. Install `opencv` and `blas`: + + ```sh + sudo pacman -S opencv blas + ``` + + or for CUDA support + + ```sh + sudo pacman -S opencv-cuda blas + ``` + +3. Fix the naming of the `opencv` package configuration file: + + ```sh + cd /usr/lib/pkgconfig/ + ln -sf opencv4.pc opencv.pc + ``` + +[**Next, Follow Steps 4-6 from the Debian Section above**](#linux) + +If you see no errors you're ready to go! diff --git a/docs/installation/INSTALL_REQUIREMENTS.md b/docs/installation/requirements.md similarity index 98% rename from docs/installation/INSTALL_REQUIREMENTS.md rename to docs/installation/requirements.md index 2279e7efb8a..21d538b0b57 100644 --- a/docs/installation/INSTALL_REQUIREMENTS.md +++ b/docs/installation/requirements.md @@ -177,5 +177,5 @@ An alternative to installing ROCm locally is to use a [ROCm docker container] to [Nvidia Container Runtime]: https://developer.nvidia.com/container-runtime [linux install instructions]: https://docs.python-guide.org/starting/install3/linux/ [Microsoft Visual C++ Redistributable]: https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170 -[an official installer]: https://www.python.org/downloads/release/python-3118/ +[an official installer]: https://www.python.org/downloads/ [CUDA Toolkit Downloads]: https://developer.nvidia.com/cuda-downloads diff --git a/docs/javascripts/init_kapa_widget.js b/docs/javascripts/init_kapa_widget.js deleted file mode 100644 index 06885c464cd..00000000000 --- a/docs/javascripts/init_kapa_widget.js +++ /dev/null @@ -1,10 +0,0 @@ -document.addEventListener("DOMContentLoaded", function () { - var script = document.createElement("script"); - script.src = "https://widget.kapa.ai/kapa-widget.bundle.js"; - script.setAttribute("data-website-id", "b5973bb1-476b-451e-8cf4-98de86745a10"); - script.setAttribute("data-project-name", "Invoke.AI"); - script.setAttribute("data-project-color", "#11213C"); - script.setAttribute("data-project-logo", "https://avatars.githubusercontent.com/u/113954515?s=280&v=4"); - script.async = true; - document.head.appendChild(script); -}); diff --git a/docs/javascripts/tablesort.js b/docs/javascripts/tablesort.js deleted file mode 100644 index ceb1f94acdb..00000000000 --- a/docs/javascripts/tablesort.js +++ /dev/null @@ -1,7 +0,0 @@ -document$.subscribe(function() { - var tables = document.querySelectorAll("article table:not([class])") - tables.forEach(function(table) { - new Tablesort(table) - }) - }) - \ No newline at end of file diff --git a/docs/nodes/NODES_MIGRATION_V3_V4.md b/docs/nodes/NODES_MIGRATION_V3_V4.md index 3ba08545817..aa7b234f810 100644 --- a/docs/nodes/NODES_MIGRATION_V3_V4.md +++ b/docs/nodes/NODES_MIGRATION_V3_V4.md @@ -57,7 +57,7 @@ to footgun. In v4.0.0, this object has been refactored to be much simpler. -See [INVOCATION_API](./INVOCATION_API.md) for full details of the API. +See the [invocation API docs](./invocation-api.md) for full details of the API. !!! warning "" diff --git a/docs/nodes/exampleWorkflows.md b/docs/nodes/exampleWorkflows.md deleted file mode 100644 index b52493f365f..00000000000 --- a/docs/nodes/exampleWorkflows.md +++ /dev/null @@ -1,18 +0,0 @@ -# Example Workflows - -We've curated some example workflows for you to get started with Workflows in InvokeAI! These can also be found in the Workflow Library, located in the Workflow Editor of Invoke. - -To use them, right click on your desired workflow, follow the link to GitHub and click the "⬇" button to download the raw file. You can then use the "Load Workflow" functionality in InvokeAI to load the workflow and start generating images! - -If you're interested in finding more workflows, checkout the [#share-your-workflows](https://discord.com/channels/1020123559063990373/1130291608097661000) channel in the InvokeAI Discord. - -* [SD1.5 / SD2 Text to Image](https://github.com/invoke-ai/InvokeAI/blob/main/docs/workflows/Text_to_Image.json) -* [SDXL Text to Image](https://github.com/invoke-ai/InvokeAI/blob/main/docs/workflows/SDXL_Text_to_Image.json) -* [SDXL Text to Image with Refiner](https://github.com/invoke-ai/InvokeAI/blob/main/docs/workflows/SDXL_w_Refiner_Text_to_Image.json) -* [Multi ControlNet (Canny & Depth)](https://github.com/invoke-ai/InvokeAI/blob/main/docs/workflows/Multi_ControlNet_Canny_and_Depth.json) -* [Tiled Upscaling with ControlNet](https://github.com/invoke-ai/InvokeAI/blob/main/docs/workflows/ESRGAN_img2img_upscale_w_Canny_ControlNet.json) -* [Prompt From File](https://github.com/invoke-ai/InvokeAI/blob/main/docs/workflows/Prompt_from_File.json) -* [Face Detailer with IP-Adapter & ControlNet](https://github.com/invoke-ai/InvokeAI/blob/main/docs/workflows/Face_Detailer_with_IP-Adapter_and_Canny.json) -* [FaceMask](https://github.com/invoke-ai/InvokeAI/blob/main/docs/workflows/FaceMask.json) -* [FaceOff with 2x Face Scaling](https://github.com/invoke-ai/InvokeAI/blob/main/docs/workflows/FaceOff_FaceScale2x.json) -* [QR Code Monster](https://github.com/invoke-ai/InvokeAI/blob/main/docs/workflows/QR_Code_Monster.json) diff --git a/docs/nodes/INVOCATION_API.md b/docs/nodes/invocation-api.md similarity index 80% rename from docs/nodes/INVOCATION_API.md rename to docs/nodes/invocation-api.md index 40dfca8d7db..1a624f22673 100644 --- a/docs/nodes/INVOCATION_API.md +++ b/docs/nodes/invocation-api.md @@ -1,30 +1,33 @@ # Invocation API -Each invocation's `invoke` method is provided a single arg - the Invocation -Context. +Each invocation's `invoke` method is provided a single arg - the Invocation Context. -This object provides access to various methods, used to interact with the -application. Loading and saving images, logging messages, etc. +This object provides an API the invocation can use to interact with application services, for example: -!!! warning "" - - This API may shift slightly until the release of v4.0.0 as we work through a few final updates to the Model Manager. +- Saving images +- Logging messages +- Loading models ```py class MyInvocation(BaseInvocation): ... def invoke(self, context: InvocationContext) -> ImageOutput: - image_pil = context.images.get_pil(image_name) + # Load an image + image_pil = context.images.get_pil(self.image.image_name) # Do something to the image - image_dto = context.images.save(image_pil) + output_image = do_something_cool(image_pil) + # Save the image + image_dto = context.images.save(output_image) # Log a message context.logger.info(f"Did something cool, image saved!") + # Return the output + return ImageOutput.build(image_dto) ... ``` The full API is documented below. -## Invocation Mixins +## Mixins Two important mixins are provided to facilitate working with metadata and gallery boards. diff --git a/docs/nodes/overview.md b/docs/nodes/overview.md index 71e316c8561..736aba9ef6c 100644 --- a/docs/nodes/overview.md +++ b/docs/nodes/overview.md @@ -1,6 +1,7 @@ # Nodes ## What are Nodes? + An Node is simply a single operation that takes in inputs and returns out outputs. Multiple nodes can be linked together to create more complex functionality. All InvokeAI features are added through nodes. @@ -13,14 +14,10 @@ Individual nodes are made up of the following: - Outputs: Edge points on the right side of the node window where you connect to inputs on other nodes. - Options: Various options which are either manually configured, or overridden by connecting an output from another node to the input. +With nodes, you can can easily extend the image generation capabilities of InvokeAI, and allow you build workflows that suit your needs. -With nodes, you can can easily extend the image generation capabilities of InvokeAI, and allow you build workflows that suit your needs. - -You can read more about nodes and the node editor [here](../nodes/NODES.md). - -To get started with nodes, take a look at some of our examples for [common workflows](../nodes/exampleWorkflows.md) +You can read more about nodes and the node editor [here](../nodes/NODES.md). ## Downloading New Nodes -To download a new node, visit our list of [Community Nodes](../nodes/communityNodes.md). These are nodes that have been created by the community, for the community. - +To download a new node, visit our list of [Community Nodes](../nodes/communityNodes.md). These are nodes that have been created by the community, for the community. diff --git a/docs/other/CONTRIBUTORS.md b/docs/other/CONTRIBUTORS.md deleted file mode 100644 index 448eddbcf01..00000000000 --- a/docs/other/CONTRIBUTORS.md +++ /dev/null @@ -1,380 +0,0 @@ ---- -title: Contributors ---- - -# :octicons-person-24: Contributors - -The list of all the amazing people who have contributed to the various features that you get to -experience in this fork. - -We thank them for all of their time and hard work. - -## **Original Author** - -- [Lincoln D. Stein](mailto:lincoln.stein@gmail.com) - -## **Current Core Team** - -* @lstein (Lincoln Stein) - Co-maintainer -* @blessedcoolant - Co-maintainer -* @hipsterusername (Kent Keirsey) - Co-maintainer, CEO, Positive Vibes -* @psychedelicious (Spencer Mabrito) - Web Team Leader -* @chainchompa (Jennifer Player) - Web Development & Chain-Chomping -* @josh is toast (Josh Corbett) - Web Development -* @cheerio (Mary Rogers) - Lead Engineer & Web App Development -* @ebr (Eugene Brodsky) - Cloud/DevOps/Sofware engineer; your friendly neighbourhood cluster-autoscaler -* @sunija - Standalone version -* @genomancer (Gregg Helt) - Controlnet support -* @brandon (Brandon Rising) - Platform, Infrastructure, Backend Systems -* @ryanjdick (Ryan Dick) - Machine Learning & Training -* @JPPhoto - Core image generation nodes -* @dunkeroni - Image generation backend -* @SkunkWorxDark - Image generation backend -* @keturn (Kevin Turner) - Diffusers -* @millu (Millun Atluri) - Community Wizard, Documentation, Node-wrangler, -* @glimmerleaf (Devon Hopkins) - Community Wizard -* @gogurt enjoyer - Discord moderator and end user support -* @whosawhatsis - Discord moderator and end user support -* @dwinrger - Discord moderator and end user support -* @526christian - Discord moderator and end user support -* @harvester62 - Discord moderator and end user support - - -## **Honored Team Alumni** - -* @StAlKeR7779 (Sergey Borisov) - Torch stack, ONNX, model management, optimization -* @damian0815 - Attention Systems and Compel Maintainer -* @netsvetaev (Artur) - Localization support -* @Kyle0654 (Kyle Schouviller) - Node Architect and General Backend Wizard -* @tildebyte - Installation and configuration -* @mauwii (Matthias Wilde) - Installation, release, continuous integration - - -## **Full List of Contributors by Commit Name** - -- 이승석 -- AbdBarho -- ablattmann -- AdamOStark -- Adam Rice -- Airton Silva -- Aldo Hoeben -- Alexander Eichhorn -- Alexandre D. Roberge -- Alexandre Macabies -- Alfie John -- Andreas Rozek -- Andre LaBranche -- Andy Bearman -- Andy Luhrs -- Andy Pilate -- Anonymous -- Anthony Monthe -- Any-Winter-4079 -- apolinario -- Ar7ific1al -- ArDiouscuros -- Armando C. Santisbon -- Arnold Cordewiner -- Arthur Holstvoogd -- artmen1516 -- Artur -- Arturo Mendivil -- Ben Alkov -- Benjamin Warner -- Bernard Maltais -- blessedcoolant -- blhook -- BlueAmulet -- Bouncyknighter -- Brandon -- Brandon Rising -- Brent Ozar -- Brian Racer -- bsilvereagle -- c67e708d -- camenduru -- CapableWeb -- Carson Katri -- chainchompa -- Chloe -- Chris Dawson -- Chris Hayes -- Chris Jones -- chromaticist -- Claus F. Strasburger -- cmdr2 -- cody -- Conor Reid -- Cora Johnson-Roberson -- coreco -- cosmii02 -- cpacker -- Cragin Godley -- creachec -- CrypticWit -- d8ahazard -- damian -- damian0815 -- Damian at mba -- Damian Stewart -- Daniel Manzke -- Danny Beer -- Dan Sully -- Darren Ringer -- David Burnett -- David Ford -- David Regla -- David Sisco -- David Wager -- Daya Adianto -- db3000 -- DekitaRPG -- Denis Olshin -- Dennis -- dependabot[bot] -- Dmitry Parnas -- Dobrynia100 -- Dominic Letz -- DrGunnarMallon -- Drun555 -- dunkeroni -- Edward Johan -- elliotsayes -- Elrik -- ElrikUnderlake -- Eric Khun -- Eric Wolf -- Eugene -- Eugene Brodsky -- ExperimentalCyborg -- Fabian Bahl -- Fabio 'MrWHO' Torchetti -- Fattire -- fattire -- Felipe Nogueira -- Félix Sanz -- figgefigge -- Gabriel Mackievicz Telles -- gabrielrotbart -- gallegonovato -- Gérald LONLAS -- Gille -- GitHub Actions Bot -- glibesyck -- gogurtenjoyer -- Gohsuke Shimada -- greatwolf -- greentext2 -- Gregg Helt -- H4rk -- Håvard Gulldahl -- henry -- Henry van Megen -- hipsterusername -- hj -- Hosted Weblate -- Iman Karim -- ismail ihsan bülbül -- ItzAttila -- Ivan Efimov -- jakehl -- Jakub Kolčář -- JamDon2 -- James Reynolds -- Jan Skurovec -- Jari Vetoniemi -- Jason Toffaletti -- Jaulustus -- Jeff Mahoney -- Jennifer Player -- jeremy -- Jeremy Clark -- JigenD -- Jim Hays -- Johan Roxendal -- Johnathon Selstad -- Jonathan -- Jordan Hewitt -- Joseph Dries III -- Josh Corbett -- JPPhoto -- jspraul -- junzi -- Justin Wong -- Juuso V -- Kaspar Emanuel -- Katsuyuki-Karasawa -- Keerigan45 -- Kent Keirsey -- Kevin Brack -- Kevin Coakley -- Kevin Gibbons -- Kevin Schaul -- Kevin Turner -- Kieran Klaassen -- krummrey -- Kyle -- Kyle Lacy -- Kyle Schouviller -- Lawrence Norton -- LemonDouble -- Leo Pasanen -- Lincoln Stein -- LoganPederson -- Lynne Whitehorn -- majick -- Marco Labarile -- Marta Nahorniuk -- Martin Kristiansen -- Mary Hipp -- maryhipp -- Mary Hipp Rogers -- mastercaster -- mastercaster9000 -- Matthias Wild -- mauwii -- michaelk71 -- mickr777 -- Mihai -- Mihail Dumitrescu -- Mikhail Tishin -- Millun Atluri -- Minjune Song -- Mitchell Allain -- mitien -- mofuzz -- Muhammad Usama -- Name -- _nderscore -- Neil Wang -- nekowaiz -- nemuruibai -- Netzer R -- Nicholas Koh -- Nicholas Körfer -- nicolai256 -- Niek van der Maas -- noodlebox -- Nuno Coração -- ofirkris -- Olivier Louvignes -- owenvincent -- pand4z31 -- Patrick Esser -- Patrick Tien -- Patrick von Platen -- Paul Curry -- Paul Sajna -- pejotr -- Peter Baylies -- Peter Lin -- plucked -- prixt -- psychedelicious -- psychedelicious@windows -- Rainer Bernhardt -- Riccardo Giovanetti -- Rich Jones -- rmagur1203 -- Rob Baines -- Robert Bolender -- Robin Rombach -- Rohan Barar -- Rohinish -- rpagliuca -- rromb -- Rupesh Sreeraman -- Ryan -- Ryan Cao -- Ryan Dick -- Saifeddine -- Saifeddine ALOUI -- Sam -- SammCheese -- Sam McLeod -- Sammy -- sammyf -- Samuel Husso -- Saurav Maheshkar -- Scott Lahteine -- Sean McLellan -- Sebastian Aigner -- Sergey Borisov -- Sergey Krashevich -- Shapor Naghibzadeh -- Shawn Zhong -- Simona Liliac -- Simon Vans-Colina -- skunkworxdark -- slashtechno -- SoheilRezaei -- Song, Pengcheng -- spezialspezial -- ssantos -- StAlKeR7779 -- Stefan Tobler -- Stephan Koglin-Fischer -- SteveCaruso -- Steve Martinelli -- Steven Frank -- Surisen -- System X - Files -- Taylor Kems -- techicode -- techybrain-dev -- tesseractcat -- thealanle -- Thomas -- tildebyte -- Tim Cabbage -- Tom -- Tom Elovi Spruce -- Tom Gouville -- tomosuto -- Travco -- Travis Palmer -- tyler -- unknown -- user1 -- vedant-3010 -- Vedant Madane -- veprogames -- wa.code -- wfng92 -- whjms -- whosawhatsis -- Will -- William Becher -- William Chong -- Wilson E. Alvarez -- woweenie -- Wubbbi -- xra -- Yeung Yiu Hung -- ymgenesis -- Yorzaren -- Yosuke Shinya -- yun saki -- ZachNagengast -- Zadagu -- zeptofine -- Zerdoumi -- Васянатор -- 冯不游 -- 唐澤 克幸 - -## **Original CompVis (Stable Diffusion) Authors** - -- [Robin Rombach](https://github.com/rromb) -- [Patrick von Platen](https://github.com/patrickvonplaten) -- [ablattmann](https://github.com/ablattmann) -- [Patrick Esser](https://github.com/pesser) -- [owenvincent](https://github.com/owenvincent) -- [apolinario](https://github.com/apolinario) -- [Charles Packer](https://github.com/cpacker) - ---- - -_If you have contributed and don't see your name on the list of contributors, please let one of the -collaborators know about the omission, or feel free to make a pull request._ diff --git a/docs/other/README-CompViz.md b/docs/other/README-CompViz.md deleted file mode 100644 index cb3a207b2e0..00000000000 --- a/docs/other/README-CompViz.md +++ /dev/null @@ -1,255 +0,0 @@ ---- -title: CompViz-Readme ---- - -# _README from [CompViz/stable-diffusion](https://github.com/CompVis/stable-diffusion)_ - -_Stable Diffusion was made possible thanks to a collaboration with -[Stability AI](https://stability.ai/) and [Runway](https://runwayml.com/) and -builds upon our previous work:_ - -[**High-Resolution Image Synthesis with Latent Diffusion Models**](https://ommer-lab.com/research/latent-diffusion-models/)
-[Robin Rombach](https://github.com/rromb)\*, -[Andreas Blattmann](https://github.com/ablattmann)\*, -[Dominik Lorenz](https://github.com/qp-qp)\, -[Patrick Esser](https://github.com/pesser), -[Björn Ommer](https://hci.iwr.uni-heidelberg.de/Staff/bommer)
- -## **CVPR '22 Oral** - -which is available on [GitHub](https://github.com/CompVis/latent-diffusion). PDF -at [arXiv](https://arxiv.org/abs/2112.10752). Please also visit our -[Project page](https://ommer-lab.com/research/latent-diffusion-models/). - -![txt2img-stable2](../assets/stable-samples/txt2img/merged-0006.png) -[Stable Diffusion](#stable-diffusion-v1) is a latent text-to-image diffusion -model. Thanks to a generous compute donation from -[Stability AI](https://stability.ai/) and support from -[LAION](https://laion.ai/), we were able to train a Latent Diffusion Model on -512x512 images from a subset of the [LAION-5B](https://laion.ai/blog/laion-5b/) -database. Similar to Google's [Imagen](https://arxiv.org/abs/2205.11487), this -model uses a frozen CLIP ViT-L/14 text encoder to condition the model on text -prompts. With its 860M UNet and 123M text encoder, the model is relatively -lightweight and runs on a GPU with at least 10GB VRAM. See -[this section](#stable-diffusion-v1) below and the -[model card](https://huggingface.co/CompVis/stable-diffusion). - -## Requirements - -A suitable [conda](https://conda.io/) environment named `ldm` can be created and -activated with: - -``` -conda env create -conda activate ldm -``` - -Note that the first line may be abbreviated `conda env create`, since conda will -look for `environment.yml` by default. - -You can also update an existing -[latent diffusion](https://github.com/CompVis/latent-diffusion) environment by -running - -```bash -conda install pytorch torchvision -c pytorch -pip install transformers==4.19.2 -pip install -e . -``` - -## Stable Diffusion v1 - -Stable Diffusion v1 refers to a specific configuration of the model architecture -that uses a downsampling-factor 8 autoencoder with an 860M UNet and CLIP -ViT-L/14 text encoder for the diffusion model. The model was pretrained on -256x256 images and then finetuned on 512x512 images. - -\*Note: Stable Diffusion v1 is a general text-to-image diffusion model and -therefore mirrors biases and (mis-)conceptions that are present in its training -data. Details on the training procedure and data, as well as the intended use of -the model can be found in the corresponding -[model card](https://huggingface.co/CompVis/stable-diffusion). Research into the -safe deployment of general text-to-image models is an ongoing effort. To prevent -misuse and harm, we currently provide access to the checkpoints only for -[academic research purposes upon request](https://stability.ai/academia-access-form). -**This is an experiment in safe and community-driven publication of a capable -and general text-to-image model. We are working on a public release with a more -permissive license that also incorporates ethical considerations.\*** - -[Request access to Stable Diffusion v1 checkpoints for academic research](https://stability.ai/academia-access-form) - -### Weights - -We currently provide three checkpoints, `sd-v1-1.ckpt`, `sd-v1-2.ckpt` and -`sd-v1-3.ckpt`, which were trained as follows, - -- `sd-v1-1.ckpt`: 237k steps at resolution `256x256` on - [laion2B-en](https://huggingface.co/datasets/laion/laion2B-en). 194k steps at - resolution `512x512` on - [laion-high-resolution](https://huggingface.co/datasets/laion/laion-high-resolution) - (170M examples from LAION-5B with resolution `>= 1024x1024`). -- `sd-v1-2.ckpt`: Resumed from `sd-v1-1.ckpt`. 515k steps at resolution - `512x512` on "laion-improved-aesthetics" (a subset of laion2B-en, filtered to - images with an original size `>= 512x512`, estimated aesthetics score `> 5.0`, - and an estimated watermark probability `< 0.5`. The watermark estimate is from - the LAION-5B metadata, the aesthetics score is estimated using an - [improved aesthetics estimator](https://github.com/christophschuhmann/improved-aesthetic-predictor)). -- `sd-v1-3.ckpt`: Resumed from `sd-v1-2.ckpt`. 195k steps at resolution - `512x512` on "laion-improved-aesthetics" and 10\% dropping of the - text-conditioning to improve - [classifier-free guidance sampling](https://arxiv.org/abs/2207.12598). - -Evaluations with different classifier-free guidance scales (1.5, 2.0, 3.0, 4.0, -5.0, 6.0, 7.0, 8.0) and 50 PLMS sampling steps show the relative improvements of -the checkpoints: ![sd evaluation results](../assets/v1-variants-scores.jpg) - -### Text-to-Image with Stable Diffusion - -![txt2img-stable2](../assets/stable-samples/txt2img/merged-0005.png) -![txt2img-stable2](../assets/stable-samples/txt2img/merged-0007.png) - -Stable Diffusion is a latent diffusion model conditioned on the (non-pooled) -text embeddings of a CLIP ViT-L/14 text encoder. - -#### Sampling Script - -After [obtaining the weights](#weights), link them - -``` -mkdir -p models/ldm/stable-diffusion-v1/ -ln -s models/ldm/stable-diffusion-v1/model.ckpt -``` - -and sample with - -``` -python scripts/txt2img.py --prompt "a photograph of an astronaut riding a horse" --plms -``` - -By default, this uses a guidance scale of `--scale 7.5`, -[Katherine Crowson's implementation](https://github.com/CompVis/latent-diffusion/pull/51) -of the [PLMS](https://arxiv.org/abs/2202.09778) sampler, and renders images of -size 512x512 (which it was trained on) in 50 steps. All supported arguments are -listed below (type `python scripts/txt2img.py --help`). - -```commandline -usage: txt2img.py [-h] [--prompt [PROMPT]] [--outdir [OUTDIR]] [--skip_grid] [--skip_save] [--ddim_steps DDIM_STEPS] [--plms] [--laion400m] [--fixed_code] [--ddim_eta DDIM_ETA] [--n_iter N_ITER] [--H H] [--W W] [--C C] [--f F] [--n_samples N_SAMPLES] [--n_rows N_ROWS] - [--scale SCALE] [--from-file FROM_FILE] [--config CONFIG] [--ckpt CKPT] [--seed SEED] [--precision {full,autocast}] - -optional arguments: - -h, --help show this help message and exit - --prompt [PROMPT] the prompt to render - --outdir [OUTDIR] dir to write results to - --skip_grid do not save a grid, only individual samples. Helpful when evaluating lots of samples - --skip_save do not save individual samples. For speed measurements. - --ddim_steps DDIM_STEPS - number of ddim sampling steps - --plms use plms sampling - --laion400m uses the LAION400M model - --fixed_code if enabled, uses the same starting code across samples - --ddim_eta DDIM_ETA ddim eta (eta=0.0 corresponds to deterministic sampling - --n_iter N_ITER sample this often - --H H image height, in pixel space - --W W image width, in pixel space - --C C latent channels - --f F downsampling factor - --n_samples N_SAMPLES - how many samples to produce for each given prompt. A.k.a. batch size - (note that the seeds for each image in the batch will be unavailable) - --n_rows N_ROWS rows in the grid (default: n_samples) - --scale SCALE unconditional guidance scale: eps = eps(x, empty) + scale * (eps(x, cond) - eps(x, empty)) - --from-file FROM_FILE - if specified, load prompts from this file - --config CONFIG path to config which constructs model - --ckpt CKPT path to checkpoint of model - --seed SEED the seed (for reproducible sampling) - --precision {full,autocast} - evaluate at this precision - -``` - -Note: The inference config for all v1 versions is designed to be used with -EMA-only checkpoints. For this reason `use_ema=False` is set in the -configuration, otherwise the code will try to switch from non-EMA to EMA -weights. If you want to examine the effect of EMA vs no EMA, we provide "full" -checkpoints which contain both types of weights. For these, `use_ema=False` will -load and use the non-EMA weights. - -#### Diffusers Integration - -Another way to download and sample Stable Diffusion is by using the -[diffusers library](https://github.com/huggingface/diffusers/tree/main#new--stable-diffusion-is-now-fully-compatible-with-diffusers) - -```py -# make sure you're logged in with `huggingface-cli login` -from torch import autocast -from diffusers import StableDiffusionPipeline, LMSDiscreteScheduler - -pipe = StableDiffusionPipeline.from_pretrained( - "CompVis/stable-diffusion-v1-3-diffusers", - use_auth_token=True -) - -prompt = "a photo of an astronaut riding a horse on mars" -with autocast("cuda"): - image = pipe(prompt)["sample"][0] - -image.save("astronaut_rides_horse.png") -``` - -### Image Modification with Stable Diffusion - -By using a diffusion-denoising mechanism as first proposed by -[SDEdit](https://arxiv.org/abs/2108.01073), the model can be used for different -tasks such as text-guided image-to-image translation and upscaling. Similar to -the txt2img sampling script, we provide a script to perform image modification -with Stable Diffusion. - -The following describes an example where a rough sketch made in -[Pinta](https://www.pinta-project.com/) is converted into a detailed artwork. - -``` -python scripts/img2img.py --prompt "A fantasy landscape, trending on artstation" --init-img --strength 0.8 -``` - -Here, strength is a value between 0.0 and 1.0, that controls the amount of noise -that is added to the input image. Values that approach 1.0 allow for lots of -variations but will also produce images that are not semantically consistent -with the input. See the following example. - -**Input** - -![sketch-in](../assets/stable-samples/img2img/sketch-mountains-input.jpg) - -**Outputs** - -![out3](../assets/stable-samples/img2img/mountains-3.png) -![out2](../assets/stable-samples/img2img/mountains-2.png) - -This procedure can, for example, also be used to upscale samples from the base -model. - -## Comments - -- Our codebase for the diffusion models builds heavily on - [OpenAI's ADM codebase](https://github.com/openai/guided-diffusion) and - [https://github.com/lucidrains/denoising-diffusion-pytorch](https://github.com/lucidrains/denoising-diffusion-pytorch). - Thanks for open-sourcing! - -- The implementation of the transformer encoder is from - [x-transformers](https://github.com/lucidrains/x-transformers) by - [lucidrains](https://github.com/lucidrains?tab=repositories). - -## BibTeX - -``` -@misc{rombach2021highresolution, - title={High-Resolution Image Synthesis with Latent Diffusion Models}, - author={Robin Rombach and Andreas Blattmann and Dominik Lorenz and Patrick Esser and Björn Ommer}, - year={2021}, - eprint={2112.10752}, - archivePrefix={arXiv}, - primaryClass={cs.CV} -} - -``` diff --git a/docs/workflows/ESRGAN_img2img_upscale_w_Canny_ControlNet.json b/docs/workflows/ESRGAN_img2img_upscale_w_Canny_ControlNet.json deleted file mode 100644 index abde0cab76b..00000000000 --- a/docs/workflows/ESRGAN_img2img_upscale_w_Canny_ControlNet.json +++ /dev/null @@ -1,1364 +0,0 @@ -{ - "id": "6bfa0b3a-7090-4cd9-ad2d-a4b8662b6e71", - "name": "ESRGAN Upscaling with Canny ControlNet", - "author": "InvokeAI", - "description": "Sample workflow for using Upscaling with ControlNet with SD1.5", - "version": "1.0.1", - "contact": "invoke@invoke.ai", - "tags": "upscale, controlnet, default", - "notes": "", - "exposedFields": [ - { - "nodeId": "d8ace142-c05f-4f1d-8982-88dc7473958d", - "fieldName": "model" - }, - { - "nodeId": "63b6ab7e-5b05-4d1b-a3b1-42d8e53ce16b", - "fieldName": "prompt" - }, - { - "nodeId": "771bdf6a-0813-4099-a5d8-921a138754d4", - "fieldName": "image" - } - ], - "meta": { - "category": "default", - "version": "2.0.0" - }, - "nodes": [ - { - "id": "e8bf67fe-67de-4227-87eb-79e86afdfc74", - "type": "invocation", - "data": { - "id": "e8bf67fe-67de-4227-87eb-79e86afdfc74", - "type": "compel", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "prompt": { - "id": "5f762fae-d791-42d9-8ab5-2b830c33ff20", - "name": "prompt", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "clip": { - "id": "8ac95f40-317d-4513-bbba-b99effd3b438", - "name": "clip", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - } - }, - "outputs": { - "conditioning": { - "id": "46c65b2b-c0b5-40c2-b183-74e9451c6d56", - "name": "conditioning", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - } - } - }, - "width": 320, - "height": 256, - "position": { - "x": 1250, - "y": 1500 - } - }, - { - "id": "d8ace142-c05f-4f1d-8982-88dc7473958d", - "type": "invocation", - "data": { - "id": "d8ace142-c05f-4f1d-8982-88dc7473958d", - "type": "main_model_loader", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "model": { - "id": "b35ae88a-f2d2-43f6-958c-8c624391250f", - "name": "model", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MainModelField" - }, - "value": { - "model_name": "stable-diffusion-v1-5", - "base_model": "sd-1", - "model_type": "main" - } - } - }, - "outputs": { - "unet": { - "id": "02f243cb-c6e2-42c5-8be9-ef0519d54383", - "name": "unet", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "UNetField" - } - }, - "clip": { - "id": "7762ed13-5b28-40f4-85f1-710942ceb92a", - "name": "clip", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - }, - "vae": { - "id": "69566153-1918-417d-a3bb-32e9e857ef6b", - "name": "vae", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "VaeField" - } - } - } - }, - "width": 320, - "height": 227, - "position": { - "x": 700, - "y": 1375 - } - }, - { - "id": "771bdf6a-0813-4099-a5d8-921a138754d4", - "type": "invocation", - "data": { - "id": "771bdf6a-0813-4099-a5d8-921a138754d4", - "type": "image", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "image": { - "id": "0f6d68a2-38bd-4f65-a112-0a256c7a2678", - "name": "image", - "fieldKind": "input", - "label": "Image To Upscale", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - } - }, - "outputs": { - "image": { - "id": "76f6f9b6-755b-4373-93fa-6a779998d2c8", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "6858e46b-707c-444f-beda-9b5f4aecfdf8", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "421bdc6e-ecd1-4935-9665-d38ab8314f79", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 225, - "position": { - "x": 375, - "y": 1900 - } - }, - { - "id": "f7564dd2-9539-47f2-ac13-190804461f4e", - "type": "invocation", - "data": { - "id": "f7564dd2-9539-47f2-ac13-190804461f4e", - "type": "esrgan", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.3.0", - "nodePack": "invokeai", - "inputs": { - "metadata": { - "id": "8fa0c7eb-5bd3-4575-98e7-72285c532504", - "name": "metadata", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MetadataField" - } - }, - "image": { - "id": "3c949799-a504-41c9-b342-cff4b8146c48", - "name": "image", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "model_name": { - "id": "77cb4750-53d6-4c2c-bb5c-145981acbf17", - "name": "model_name", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "EnumField" - }, - "value": "RealESRGAN_x4plus.pth" - }, - "tile_size": { - "id": "7787b3ad-46ee-4248-995f-bc740e1f988b", - "name": "tile_size", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 400 - } - }, - "outputs": { - "image": { - "id": "37e6308e-e926-4e07-b0db-4e8601f495d0", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "c194d84a-fac7-4856-b646-d08477a5ad2b", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "b2a6206c-a9c8-4271-a055-0b93a7f7d505", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 340, - "position": { - "x": 775, - "y": 1900 - } - }, - { - "id": "1d887701-df21-4966-ae6e-a7d82307d7bd", - "type": "invocation", - "data": { - "id": "1d887701-df21-4966-ae6e-a7d82307d7bd", - "type": "canny_image_processor", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.2.0", - "nodePack": "invokeai", - "inputs": { - "metadata": { - "id": "52c877c8-25d9-4949-8518-f536fcdd152d", - "name": "metadata", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MetadataField" - } - }, - "image": { - "id": "e0af11fe-4f95-4193-a599-cf40b6a963f5", - "name": "image", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "low_threshold": { - "id": "ab775f7b-f556-4298-a9d6-2274f3a6c77c", - "name": "low_threshold", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 100 - }, - "high_threshold": { - "id": "9e58b615-06e4-417f-b0d8-63f1574cd174", - "name": "high_threshold", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 200 - } - }, - "outputs": { - "image": { - "id": "61feb8bf-95c9-4634-87e2-887fc43edbdf", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "9e203e41-73f7-4cfa-bdca-5040e5e60c55", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "ec7d99dc-0d82-4495-a759-6423808bff1c", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 340, - "position": { - "x": 1200, - "y": 1900 - } - }, - { - "id": "ca1d020c-89a8-4958-880a-016d28775cfa", - "type": "invocation", - "data": { - "id": "ca1d020c-89a8-4958-880a-016d28775cfa", - "type": "controlnet", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.1.0", - "nodePack": "invokeai", - "inputs": { - "image": { - "id": "2973c126-e301-4595-a7dc-d6e1729ccdbf", - "name": "image", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "control_model": { - "id": "4bb4d987-8491-4839-b41b-6e2f546fe2d0", - "name": "control_model", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ControlNetModelField" - }, - "value": { - "model_name": "canny", - "base_model": "sd-1" - } - }, - "control_weight": { - "id": "a3cf387a-b58f-4058-858f-6a918efac609", - "name": "control_weight", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "FloatField" - }, - "value": 1 - }, - "begin_step_percent": { - "id": "e0614f69-8a58-408b-9238-d3a44a4db4e0", - "name": "begin_step_percent", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0 - }, - "end_step_percent": { - "id": "ac683539-b6ed-4166-9294-2040e3ede206", - "name": "end_step_percent", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 1 - }, - "control_mode": { - "id": "f00b21de-cbd7-4901-8efc-e7134a2dc4c8", - "name": "control_mode", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "EnumField" - }, - "value": "balanced" - }, - "resize_mode": { - "id": "cafb60ee-3959-4d57-a06c-13b83be6ea4f", - "name": "resize_mode", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "EnumField" - }, - "value": "just_resize" - } - }, - "outputs": { - "control": { - "id": "dfb88dd1-12bf-4034-9268-e726f894c131", - "name": "control", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ControlField" - } - } - } - }, - "width": 320, - "height": 511, - "position": { - "x": 1650, - "y": 1900 - } - }, - { - "id": "f50624ce-82bf-41d0-bdf7-8aab11a80d48", - "type": "invocation", - "data": { - "id": "f50624ce-82bf-41d0-bdf7-8aab11a80d48", - "type": "noise", - "label": "", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.1", - "nodePack": "invokeai", - "inputs": { - "seed": { - "id": "f76b0e01-b601-423f-9b5f-ab7a1f10fe82", - "name": "seed", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "width": { - "id": "eec326d6-710c-45de-a25c-95704c80d7e2", - "name": "width", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 512 - }, - "height": { - "id": "2794a27d-5337-43ca-95d9-41b673642c94", - "name": "height", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 512 - }, - "use_cpu": { - "id": "ae7654e3-979e-44a1-8968-7e3199e91e66", - "name": "use_cpu", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": true - } - }, - "outputs": { - "noise": { - "id": "8b6dc166-4ead-4124-8ac9-529814b0cbb9", - "name": "noise", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "width": { - "id": "e3fe3940-a277-4838-a448-5f81f2a7d99d", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "48ecd6ef-c216-40d5-9d1b-d37bd00c82e7", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 1650, - "y": 1775 - } - }, - { - "id": "c3737554-8d87-48ff-a6f8-e71d2867f434", - "type": "invocation", - "data": { - "id": "c3737554-8d87-48ff-a6f8-e71d2867f434", - "type": "denoise_latents", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.5.0", - "nodePack": "invokeai", - "inputs": { - "positive_conditioning": { - "id": "e127084b-72f5-4fe4-892b-84f34f88bce9", - "name": "positive_conditioning", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - }, - "negative_conditioning": { - "id": "72cde4ee-55de-4d3e-9057-74e741c04e20", - "name": "negative_conditioning", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - }, - "noise": { - "id": "747f7023-1c19-465b-bec8-1d9695dd3505", - "name": "noise", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "steps": { - "id": "80860292-633c-46f2-83d0-60d0029b65d2", - "name": "steps", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 10 - }, - "cfg_scale": { - "id": "ebc71e6f-9148-4f12-b455-5e1f179d1c3a", - "name": "cfg_scale", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "FloatField" - }, - "value": 7.5 - }, - "denoising_start": { - "id": "ced44b8f-3bad-4c34-8113-13bc0faed28a", - "name": "denoising_start", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0 - }, - "denoising_end": { - "id": "79bf4b77-3502-4f72-ba8b-269c4c3c5c72", - "name": "denoising_end", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 1 - }, - "scheduler": { - "id": "ed56e2b8-f477-41a2-b9f5-f15f4933ae65", - "name": "scheduler", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "SchedulerField" - }, - "value": "euler" - }, - "unet": { - "id": "146b790c-b08e-437c-a2e1-e393c2c1c41a", - "name": "unet", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "UNetField" - } - }, - "control": { - "id": "75ed3df1-d261-4b8e-a89b-341c4d7161fb", - "name": "control", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "ControlField" - } - }, - "ip_adapter": { - "id": "eab9a61d-9b64-44d3-8d90-4686f5887cb0", - "name": "ip_adapter", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "IPAdapterField" - } - }, - "t2i_adapter": { - "id": "2dc8d637-58fd-4069-ad33-85c32d958b7b", - "name": "t2i_adapter", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "T2IAdapterField" - } - }, - "cfg_rescale_multiplier": { - "id": "391e5010-e402-4380-bb46-e7edaede3512", - "name": "cfg_rescale_multiplier", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0 - }, - "latents": { - "id": "6767e40a-97c6-4487-b3c9-cad1c150bf9f", - "name": "latents", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "denoise_mask": { - "id": "6251efda-d97d-4ff1-94b5-8cc6b458c184", - "name": "denoise_mask", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "DenoiseMaskField" - } - } - }, - "outputs": { - "latents": { - "id": "4e7986a4-dff2-4448-b16b-1af477b81f8b", - "name": "latents", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "width": { - "id": "dad525dd-d2f8-4f07-8c8d-51f2a3c5456e", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "af03a089-4739-40c6-8b48-25d458d63c2f", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 705, - "position": { - "x": 2128.740065979906, - "y": 1232.6219060454753 - } - }, - { - "id": "3ed9b2ef-f4ec-40a7-94db-92e63b583ec0", - "type": "invocation", - "data": { - "id": "3ed9b2ef-f4ec-40a7-94db-92e63b583ec0", - "type": "l2i", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": false, - "useCache": true, - "version": "1.2.0", - "nodePack": "invokeai", - "inputs": { - "metadata": { - "id": "9f7a1a9f-7861-4f09-874b-831af89b7474", - "name": "metadata", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MetadataField" - } - }, - "latents": { - "id": "a5b42432-8ee7-48cd-b61c-b97be6e490a2", - "name": "latents", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "vae": { - "id": "890de106-e6c3-4c2c-8d67-b368def64894", - "name": "vae", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "VaeField" - } - }, - "tiled": { - "id": "b8e5a2ca-5fbc-49bd-ad4c-ea0e109d46e3", - "name": "tiled", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": false - }, - "fp32": { - "id": "fdaf6264-4593-4bd2-ac71-8a0acff261af", - "name": "fp32", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": false - } - }, - "outputs": { - "image": { - "id": "94c5877d-6c78-4662-a836-8a84fc75d0a0", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "2a854e42-1616-42f5-b9ef-7b73c40afc1d", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "dd649053-1433-4f31-90b3-8bb103efc5b1", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 267, - "position": { - "x": 2559.4751127537957, - "y": 1246.6000376741406 - } - }, - { - "id": "5ca498a4-c8c8-4580-a396-0c984317205d", - "type": "invocation", - "data": { - "id": "5ca498a4-c8c8-4580-a396-0c984317205d", - "type": "i2l", - "label": "", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "image": { - "id": "9e6c4010-0f79-4587-9062-29d9a8f96b3b", - "name": "image", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "vae": { - "id": "b9ed2ec4-e8e3-4d69-8a42-27f2d983bcd6", - "name": "vae", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "VaeField" - } - }, - "tiled": { - "id": "bb48d10b-2440-4c46-b835-646ae5ebc013", - "name": "tiled", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": false - }, - "fp32": { - "id": "1048612c-c0f4-4abf-a684-0045e7d158f8", - "name": "fp32", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": false - } - }, - "outputs": { - "latents": { - "id": "55301367-0578-4dee-8060-031ae13c7bf8", - "name": "latents", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "width": { - "id": "2eb65690-1f20-4070-afbd-1e771b9f8ca9", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "d5bf64c7-c30f-43b8-9bc2-95e7718c1bdc", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 1650, - "y": 1675 - } - }, - { - "id": "63b6ab7e-5b05-4d1b-a3b1-42d8e53ce16b", - "type": "invocation", - "data": { - "id": "63b6ab7e-5b05-4d1b-a3b1-42d8e53ce16b", - "type": "compel", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "prompt": { - "id": "5f762fae-d791-42d9-8ab5-2b830c33ff20", - "name": "prompt", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "clip": { - "id": "8ac95f40-317d-4513-bbba-b99effd3b438", - "name": "clip", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - } - }, - "outputs": { - "conditioning": { - "id": "46c65b2b-c0b5-40c2-b183-74e9451c6d56", - "name": "conditioning", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - } - } - }, - "width": 320, - "height": 256, - "position": { - "x": 1250, - "y": 1200 - } - }, - { - "id": "eb8f6f8a-c7b1-4914-806e-045ee2717a35", - "type": "invocation", - "data": { - "id": "eb8f6f8a-c7b1-4914-806e-045ee2717a35", - "type": "rand_int", - "label": "", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": false, - "version": "1.0.0", - "inputs": { - "low": { - "id": "2118026f-1c64-41fa-ab6b-7532410f60ae", - "name": "low", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "high": { - "id": "c12f312a-fdfd-4aca-9aa6-4c99bc70bd63", - "name": "high", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 2147483647 - } - }, - "outputs": { - "value": { - "id": "75552bad-6212-4ae7-96a7-68e666acea4c", - "name": "value", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 1650, - "y": 1600 - } - } - ], - "edges": [ - { - "id": "5ca498a4-c8c8-4580-a396-0c984317205d-f50624ce-82bf-41d0-bdf7-8aab11a80d48-collapsed", - "source": "5ca498a4-c8c8-4580-a396-0c984317205d", - "target": "f50624ce-82bf-41d0-bdf7-8aab11a80d48", - "type": "collapsed" - }, - { - "id": "eb8f6f8a-c7b1-4914-806e-045ee2717a35-f50624ce-82bf-41d0-bdf7-8aab11a80d48-collapsed", - "source": "eb8f6f8a-c7b1-4914-806e-045ee2717a35", - "target": "f50624ce-82bf-41d0-bdf7-8aab11a80d48", - "type": "collapsed" - }, - { - "id": "reactflow__edge-771bdf6a-0813-4099-a5d8-921a138754d4image-f7564dd2-9539-47f2-ac13-190804461f4eimage", - "source": "771bdf6a-0813-4099-a5d8-921a138754d4", - "target": "f7564dd2-9539-47f2-ac13-190804461f4e", - "type": "default", - "sourceHandle": "image", - "targetHandle": "image" - }, - { - "id": "reactflow__edge-f7564dd2-9539-47f2-ac13-190804461f4eimage-1d887701-df21-4966-ae6e-a7d82307d7bdimage", - "source": "f7564dd2-9539-47f2-ac13-190804461f4e", - "target": "1d887701-df21-4966-ae6e-a7d82307d7bd", - "type": "default", - "sourceHandle": "image", - "targetHandle": "image" - }, - { - "id": "reactflow__edge-5ca498a4-c8c8-4580-a396-0c984317205dwidth-f50624ce-82bf-41d0-bdf7-8aab11a80d48width", - "source": "5ca498a4-c8c8-4580-a396-0c984317205d", - "target": "f50624ce-82bf-41d0-bdf7-8aab11a80d48", - "type": "default", - "sourceHandle": "width", - "targetHandle": "width" - }, - { - "id": "reactflow__edge-5ca498a4-c8c8-4580-a396-0c984317205dheight-f50624ce-82bf-41d0-bdf7-8aab11a80d48height", - "source": "5ca498a4-c8c8-4580-a396-0c984317205d", - "target": "f50624ce-82bf-41d0-bdf7-8aab11a80d48", - "type": "default", - "sourceHandle": "height", - "targetHandle": "height" - }, - { - "id": "reactflow__edge-f50624ce-82bf-41d0-bdf7-8aab11a80d48noise-c3737554-8d87-48ff-a6f8-e71d2867f434noise", - "source": "f50624ce-82bf-41d0-bdf7-8aab11a80d48", - "target": "c3737554-8d87-48ff-a6f8-e71d2867f434", - "type": "default", - "sourceHandle": "noise", - "targetHandle": "noise" - }, - { - "id": "reactflow__edge-5ca498a4-c8c8-4580-a396-0c984317205dlatents-c3737554-8d87-48ff-a6f8-e71d2867f434latents", - "source": "5ca498a4-c8c8-4580-a396-0c984317205d", - "target": "c3737554-8d87-48ff-a6f8-e71d2867f434", - "type": "default", - "sourceHandle": "latents", - "targetHandle": "latents" - }, - { - "id": "reactflow__edge-e8bf67fe-67de-4227-87eb-79e86afdfc74conditioning-c3737554-8d87-48ff-a6f8-e71d2867f434negative_conditioning", - "source": "e8bf67fe-67de-4227-87eb-79e86afdfc74", - "target": "c3737554-8d87-48ff-a6f8-e71d2867f434", - "type": "default", - "sourceHandle": "conditioning", - "targetHandle": "negative_conditioning" - }, - { - "id": "reactflow__edge-63b6ab7e-5b05-4d1b-a3b1-42d8e53ce16bconditioning-c3737554-8d87-48ff-a6f8-e71d2867f434positive_conditioning", - "source": "63b6ab7e-5b05-4d1b-a3b1-42d8e53ce16b", - "target": "c3737554-8d87-48ff-a6f8-e71d2867f434", - "type": "default", - "sourceHandle": "conditioning", - "targetHandle": "positive_conditioning" - }, - { - "id": "reactflow__edge-d8ace142-c05f-4f1d-8982-88dc7473958dclip-63b6ab7e-5b05-4d1b-a3b1-42d8e53ce16bclip", - "source": "d8ace142-c05f-4f1d-8982-88dc7473958d", - "target": "63b6ab7e-5b05-4d1b-a3b1-42d8e53ce16b", - "type": "default", - "sourceHandle": "clip", - "targetHandle": "clip" - }, - { - "id": "reactflow__edge-d8ace142-c05f-4f1d-8982-88dc7473958dclip-e8bf67fe-67de-4227-87eb-79e86afdfc74clip", - "source": "d8ace142-c05f-4f1d-8982-88dc7473958d", - "target": "e8bf67fe-67de-4227-87eb-79e86afdfc74", - "type": "default", - "sourceHandle": "clip", - "targetHandle": "clip" - }, - { - "id": "reactflow__edge-1d887701-df21-4966-ae6e-a7d82307d7bdimage-ca1d020c-89a8-4958-880a-016d28775cfaimage", - "source": "1d887701-df21-4966-ae6e-a7d82307d7bd", - "target": "ca1d020c-89a8-4958-880a-016d28775cfa", - "type": "default", - "sourceHandle": "image", - "targetHandle": "image" - }, - { - "id": "reactflow__edge-ca1d020c-89a8-4958-880a-016d28775cfacontrol-c3737554-8d87-48ff-a6f8-e71d2867f434control", - "source": "ca1d020c-89a8-4958-880a-016d28775cfa", - "target": "c3737554-8d87-48ff-a6f8-e71d2867f434", - "type": "default", - "sourceHandle": "control", - "targetHandle": "control" - }, - { - "id": "reactflow__edge-c3737554-8d87-48ff-a6f8-e71d2867f434latents-3ed9b2ef-f4ec-40a7-94db-92e63b583ec0latents", - "source": "c3737554-8d87-48ff-a6f8-e71d2867f434", - "target": "3ed9b2ef-f4ec-40a7-94db-92e63b583ec0", - "type": "default", - "sourceHandle": "latents", - "targetHandle": "latents" - }, - { - "id": "reactflow__edge-d8ace142-c05f-4f1d-8982-88dc7473958dvae-3ed9b2ef-f4ec-40a7-94db-92e63b583ec0vae", - "source": "d8ace142-c05f-4f1d-8982-88dc7473958d", - "target": "3ed9b2ef-f4ec-40a7-94db-92e63b583ec0", - "type": "default", - "sourceHandle": "vae", - "targetHandle": "vae" - }, - { - "id": "reactflow__edge-f7564dd2-9539-47f2-ac13-190804461f4eimage-5ca498a4-c8c8-4580-a396-0c984317205dimage", - "source": "f7564dd2-9539-47f2-ac13-190804461f4e", - "target": "5ca498a4-c8c8-4580-a396-0c984317205d", - "type": "default", - "sourceHandle": "image", - "targetHandle": "image" - }, - { - "id": "reactflow__edge-d8ace142-c05f-4f1d-8982-88dc7473958dunet-c3737554-8d87-48ff-a6f8-e71d2867f434unet", - "source": "d8ace142-c05f-4f1d-8982-88dc7473958d", - "target": "c3737554-8d87-48ff-a6f8-e71d2867f434", - "type": "default", - "sourceHandle": "unet", - "targetHandle": "unet" - }, - { - "id": "reactflow__edge-d8ace142-c05f-4f1d-8982-88dc7473958dvae-5ca498a4-c8c8-4580-a396-0c984317205dvae", - "source": "d8ace142-c05f-4f1d-8982-88dc7473958d", - "target": "5ca498a4-c8c8-4580-a396-0c984317205d", - "type": "default", - "sourceHandle": "vae", - "targetHandle": "vae" - }, - { - "id": "reactflow__edge-eb8f6f8a-c7b1-4914-806e-045ee2717a35value-f50624ce-82bf-41d0-bdf7-8aab11a80d48seed", - "source": "eb8f6f8a-c7b1-4914-806e-045ee2717a35", - "target": "f50624ce-82bf-41d0-bdf7-8aab11a80d48", - "type": "default", - "sourceHandle": "value", - "targetHandle": "seed" - } - ] -} \ No newline at end of file diff --git a/docs/workflows/FaceMask.json b/docs/workflows/FaceMask.json deleted file mode 100644 index 54c1f800b67..00000000000 --- a/docs/workflows/FaceMask.json +++ /dev/null @@ -1,1081 +0,0 @@ -{ - "name": "FaceMask", - "author": "YMGenesis", - "description": "Place an image with recognizable face(s) in Image Primitive, and write what sort of new face you want in the top prompt text box. See Notes for more info.", - "version": "1.0", - "contact": "YMGenesis on InvokeAI Discord", - "tags": "facemask, facetools", - "notes": "If you want to choose one face out of many, run the original image through FaceIdentifier and view its output to get the FaceID you want to change. Then, enter it into the \"Face Ids\" field on FaceMask. If changing many faces, but not all, enter the IDs you wish to change in a comma separated list (ex: 1,3,5 or 1, 3, 5). \n\nTo resemble the original face more when doing small touchups, change Denoise Start on Denoise Latents to a number closer to 1 (ex: 0.5-0.9). To create something fairly new, Denoise Start should be around 0.2-0.5. When using a regular model, anything around 0.2 and below might not create a face, but a new \"image\" inside the face area instead. Use an inpaint model in that case.\n\nAdjust X&Y Offsets on FaceMask to adjust the shape of the mask along those axes. Note: X&Y Offset changes will apply to all face masks in the mask image.", - "exposedFields": [], - "meta": { - "version": "1.0.0" - }, - "nodes": [ - { - "id": "c9897be0-7f59-4388-816d-86cb72cc4036", - "type": "invocation", - "data": { - "id": "c9897be0-7f59-4388-816d-86cb72cc4036", - "type": "main_model_loader", - "inputs": { - "model": { - "id": "e3c5384f-3b73-45c4-bdd0-9f394819f33d", - "name": "model", - "type": "MainModelField", - "fieldKind": "input", - "label": "", - "value": { - "model_name": "stable-diffusion-v1-5", - "base_model": "sd-1", - "model_type": "main" - } - } - }, - "outputs": { - "unet": { - "id": "e578c176-1de1-4e36-bfc0-771f60d615da", - "name": "unet", - "type": "UNetField", - "fieldKind": "output" - }, - "clip": { - "id": "54a97800-72ac-4951-94e5-2711ac139a07", - "name": "clip", - "type": "ClipField", - "fieldKind": "output" - }, - "vae": { - "id": "814a8df5-7882-48a2-8ac1-8ff82d7c1b07", - "name": "vae", - "type": "VaeField", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 226, - "position": { - "x": 4103.832039728059, - "y": 1987.4435345183065 - } - }, - { - "id": "fb7e72d9-51cb-432a-b511-c6c608d07413", - "type": "invocation", - "data": { - "id": "fb7e72d9-51cb-432a-b511-c6c608d07413", - "type": "compel", - "inputs": { - "prompt": { - "id": "a4f25874-bc29-4900-abef-47701c805132", - "name": "prompt", - "type": "string", - "fieldKind": "input", - "label": "", - "value": "" - }, - "clip": { - "id": "6464b46f-fc74-4917-88b0-3fd458fc11f0", - "name": "clip", - "type": "ClipField", - "fieldKind": "input", - "label": "" - } - }, - "outputs": { - "conditioning": { - "id": "65bea1c6-e3b6-4120-a546-d93ff5dd7765", - "name": "conditioning", - "type": "ConditioningField", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 261, - "position": { - "x": 4988.591898842789, - "y": 1700.8901379603535 - } - }, - { - "id": "7c4e5071-5b76-4d42-b340-68b52c5ded7a", - "type": "invocation", - "data": { - "id": "7c4e5071-5b76-4d42-b340-68b52c5ded7a", - "type": "compel", - "inputs": { - "prompt": { - "id": "fcb313f2-74ab-443d-a8a8-eb5f2a9b5f96", - "name": "prompt", - "type": "string", - "fieldKind": "input", - "label": "", - "value": "" - }, - "clip": { - "id": "a278e13b-823a-4dda-96ca-44cf56f994dd", - "name": "clip", - "type": "ClipField", - "fieldKind": "input", - "label": "" - } - }, - "outputs": { - "conditioning": { - "id": "3c1f0f11-b8b0-444a-97ad-1cf80acf4bf7", - "name": "conditioning", - "type": "ConditioningField", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 261, - "position": { - "x": 4986.228031951785, - "y": 1987.19695578231 - } - }, - { - "id": "098898c8-7a20-4d78-9363-296d42e3d8da", - "type": "invocation", - "data": { - "id": "098898c8-7a20-4d78-9363-296d42e3d8da", - "type": "noise", - "inputs": { - "seed": { - "id": "9358ec7b-e575-40d9-af22-2d4786ba1aa7", - "name": "seed", - "type": "integer", - "fieldKind": "input", - "label": "", - "value": 0 - }, - "width": { - "id": "8422b4ba-9d8e-41ac-bf08-1ea826859b46", - "name": "width", - "type": "integer", - "fieldKind": "input", - "label": "", - "value": 512 - }, - "height": { - "id": "2467c79c-302b-4800-9efd-5bca58103322", - "name": "height", - "type": "integer", - "fieldKind": "input", - "label": "", - "value": 512 - }, - "use_cpu": { - "id": "911c827e-a6af-4168-9f6d-cecc732938ad", - "name": "use_cpu", - "type": "boolean", - "fieldKind": "input", - "label": "", - "value": true - } - }, - "outputs": { - "noise": { - "id": "9db55798-5c98-40f6-9015-56bfa8618f12", - "name": "noise", - "type": "LatentsField", - "fieldKind": "output" - }, - "width": { - "id": "bc091210-946e-410e-8c70-e20982dd1ee7", - "name": "width", - "type": "integer", - "fieldKind": "output" - }, - "height": { - "id": "4df04a89-43a2-441a-8f15-089350b36ea7", - "name": "height", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": false, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 32, - "position": { - "x": 5398.389401611981, - "y": 2019.4053462371755 - } - }, - { - "id": "27dd9fc3-8c6e-4602-8754-e9ca2f478d68", - "type": "invocation", - "data": { - "id": "27dd9fc3-8c6e-4602-8754-e9ca2f478d68", - "type": "rand_int", - "inputs": { - "low": { - "id": "86e06b6e-7c84-40b0-9df2-12f966c3db4d", - "name": "low", - "type": "integer", - "fieldKind": "input", - "label": "", - "value": 0 - }, - "high": { - "id": "5ee9adcc-d48c-4b9a-951a-6892d234acbc", - "name": "high", - "type": "integer", - "fieldKind": "input", - "label": "", - "value": 2147483647 - } - }, - "outputs": { - "value": { - "id": "b6c69841-ba37-43f0-8904-0026b1caf8ff", - "name": "value", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": false, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": false, - "version": "1.0.0" - }, - "width": 320, - "height": 32, - "position": { - "x": 5386.304039775159, - "y": 1979.791644235275 - } - }, - { - "id": "bcbdc4ea-1fad-40d4-8632-70f84116f4b6", - "type": "invocation", - "data": { - "id": "bcbdc4ea-1fad-40d4-8632-70f84116f4b6", - "type": "create_denoise_mask", - "inputs": { - "vae": { - "id": "c7991df7-9f68-4b42-96ce-d795a8e2f714", - "name": "vae", - "type": "VaeField", - "fieldKind": "input", - "label": "" - }, - "image": { - "id": "3345a725-f5d5-4f47-9942-b1dfffbe5906", - "name": "image", - "type": "ImageField", - "fieldKind": "input", - "label": "" - }, - "mask": { - "id": "41fb1d83-1ca3-4299-b039-fb3b7c90f04e", - "name": "mask", - "type": "ImageField", - "fieldKind": "input", - "label": "" - }, - "tiled": { - "id": "32d8cf55-9910-4e09-8486-1c556a580a2d", - "name": "tiled", - "type": "boolean", - "fieldKind": "input", - "label": "", - "value": false - }, - "fp32": { - "id": "e26410cc-54f3-44f2-a81c-a22a8dad6f24", - "name": "fp32", - "type": "boolean", - "fieldKind": "input", - "label": "", - "value": false - } - }, - "outputs": { - "denoise_mask": { - "id": "9e1b78c0-5ac6-4632-91e9-831ce328237f", - "name": "denoise_mask", - "type": "DenoiseMaskField", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": false, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 32, - "position": { - "x": 5009.179957658444, - "y": 2346.7322639404283 - } - }, - { - "id": "3fac3aa6-910a-4a90-a8b6-5b7e1611efba", - "type": "invocation", - "data": { - "id": "3fac3aa6-910a-4a90-a8b6-5b7e1611efba", - "type": "image", - "inputs": { - "image": { - "id": "6efba7ef-b986-4488-84ca-80f23f939ba8", - "name": "image", - "type": "ImageField", - "fieldKind": "input", - "label": "" - } - }, - "outputs": { - "image": { - "id": "2512df7a-9981-4186-93ed-aa5405dc3057", - "name": "image", - "type": "ImageField", - "fieldKind": "output" - }, - "width": { - "id": "68d2a9c6-43ff-49aa-989c-db6f5452134f", - "name": "width", - "type": "integer", - "fieldKind": "output" - }, - "height": { - "id": "2cb4e505-7e9e-40bd-b402-1e7470167d30", - "name": "height", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 225, - "position": { - "x": 4107.933245141945, - "y": 2255.443448115275 - } - }, - { - "id": "a6d08bcb-0b52-4dd8-9247-8b6480238c6d", - "type": "invocation", - "data": { - "id": "a6d08bcb-0b52-4dd8-9247-8b6480238c6d", - "type": "i2l", - "inputs": { - "image": { - "id": "4aef9c20-51be-47e4-bdc4-d449694d75e1", - "name": "image", - "type": "ImageField", - "fieldKind": "input", - "label": "" - }, - "vae": { - "id": "9507adad-df7c-447b-8aad-4d8d6f638420", - "name": "vae", - "type": "VaeField", - "fieldKind": "input", - "label": "" - }, - "tiled": { - "id": "2a100779-503a-4fb4-a2b5-507eb0f8328f", - "name": "tiled", - "type": "boolean", - "fieldKind": "input", - "label": "", - "value": false - }, - "fp32": { - "id": "3dbf8dbc-4ad4-4451-89f4-99a59ec87453", - "name": "fp32", - "type": "boolean", - "fieldKind": "input", - "label": "", - "value": false - } - }, - "outputs": { - "latents": { - "id": "215003b1-64dd-4c97-b5a4-7593d41ffd0e", - "name": "latents", - "type": "LatentsField", - "fieldKind": "output" - }, - "width": { - "id": "dc9b2940-79e0-49b2-906c-05417a691175", - "name": "width", - "type": "integer", - "fieldKind": "output" - }, - "height": { - "id": "605de93b-c1c7-409f-b059-24918a292bfc", - "name": "height", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": false, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 32, - "position": { - "x": 5006.155303630073, - "y": 2277.2727128782517 - } - }, - { - "id": "d14b4d95-bf74-4ec5-827b-4c9e797c7ae9", - "type": "invocation", - "data": { - "id": "d14b4d95-bf74-4ec5-827b-4c9e797c7ae9", - "type": "denoise_latents", - "inputs": { - "noise": { - "id": "175b4d0a-3017-46e2-933f-c02f1cfb29b2", - "name": "noise", - "type": "LatentsField", - "fieldKind": "input", - "label": "" - }, - "steps": { - "id": "dd174b3e-3f6c-46cb-a703-3c6f3b3c72f1", - "name": "steps", - "type": "integer", - "fieldKind": "input", - "label": "", - "value": 10 - }, - "cfg_scale": { - "id": "0ea30aa7-8747-4c93-87e8-3c84e0dfd187", - "name": "cfg_scale", - "type": "FloatPolymorphic", - "fieldKind": "input", - "label": "", - "value": 7.5 - }, - "denoising_start": { - "id": "a6392edb-8895-41ed-918b-0ba8d2ac72ac", - "name": "denoising_start", - "type": "float", - "fieldKind": "input", - "label": "", - "value": 0 - }, - "denoising_end": { - "id": "1d1807cc-a24d-426e-9de5-a7e61d45c006", - "name": "denoising_end", - "type": "float", - "fieldKind": "input", - "label": "", - "value": 1 - }, - "scheduler": { - "id": "947a5212-8923-4d5d-934c-dbc5879b9d07", - "name": "scheduler", - "type": "Scheduler", - "fieldKind": "input", - "label": "", - "value": "euler" - }, - "control": { - "id": "585378b9-2686-4573-b762-3dc2d6179193", - "name": "control", - "type": "ControlPolymorphic", - "fieldKind": "input", - "label": "" - }, - "ip_adapter": { - "id": "191f4687-fdcc-45da-859f-71fd5091a8bd", - "name": "ip_adapter", - "type": "IPAdapterPolymorphic", - "fieldKind": "input", - "label": "" - }, - "t2i_adapter": { - "id": "39fc54ae-2141-4cab-9c01-c6c415f964cd", - "name": "t2i_adapter", - "type": "T2IAdapterPolymorphic", - "fieldKind": "input", - "label": "" - }, - "latents": { - "id": "7f1a388e-8355-496c-a45d-fce5b8685a63", - "name": "latents", - "type": "LatentsField", - "fieldKind": "input", - "label": "" - }, - "denoise_mask": { - "id": "de922941-b2d8-4c57-92a7-201f9ddaf262", - "name": "denoise_mask", - "type": "DenoiseMaskField", - "fieldKind": "input", - "label": "" - }, - "positive_conditioning": { - "id": "2b42b4e8-4795-4fcc-bef1-c08cb8e25e0a", - "name": "positive_conditioning", - "type": "ConditioningField", - "fieldKind": "input", - "label": "" - }, - "negative_conditioning": { - "id": "ff29b7d7-1bff-4aa9-b5c0-f8786a55023a", - "name": "negative_conditioning", - "type": "ConditioningField", - "fieldKind": "input", - "label": "" - }, - "unet": { - "id": "0155f1cb-152b-4097-9395-afcc745c697b", - "name": "unet", - "type": "UNetField", - "fieldKind": "input", - "label": "" - } - }, - "outputs": { - "latents": { - "id": "03cfb327-02a1-4fbe-b7ce-b07fd501d2b8", - "name": "latents", - "type": "LatentsField", - "fieldKind": "output" - }, - "width": { - "id": "3ffb87d7-b5a6-4b35-bdf1-2bb9b718d815", - "name": "width", - "type": "integer", - "fieldKind": "output" - }, - "height": { - "id": "2c1f0588-943a-4fd1-b75b-48d04c944296", - "name": "height", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.3.0" - }, - "width": 320, - "height": 646, - "position": { - "x": 5512.059705982663, - "y": 2103.8364934988267 - } - }, - { - "id": "eb725b0b-1fa6-4f79-aedb-52c19afcfad9", - "type": "invocation", - "data": { - "id": "eb725b0b-1fa6-4f79-aedb-52c19afcfad9", - "type": "face_mask_detection", - "inputs": { - "metadata": { - "id": "a56bf310-b5c3-4440-8ba6-79f5e434a9e6", - "name": "metadata", - "type": "MetadataField", - "fieldKind": "input", - "label": "" - }, - "image": { - "id": "11ece2fd-57ee-4504-b1f5-8d0c9332d785", - "name": "image", - "type": "ImageField", - "fieldKind": "input", - "label": "" - }, - "face_ids": { - "id": "c5eaafc3-70f4-4bcd-9df7-0d4cd26e1734", - "name": "face_ids", - "type": "string", - "fieldKind": "input", - "label": "", - "value": "" - }, - "minimum_confidence": { - "id": "ab85fdbd-d61e-4584-8595-c1cea1ffb288", - "name": "minimum_confidence", - "type": "float", - "fieldKind": "input", - "label": "", - "value": 0.5 - }, - "x_offset": { - "id": "e381e04d-b54d-4457-9b6e-b3b554a8e343", - "name": "x_offset", - "type": "float", - "fieldKind": "input", - "label": "", - "value": 0 - }, - "y_offset": { - "id": "98e771c8-df97-4a57-a5d4-9601dac68338", - "name": "y_offset", - "type": "float", - "fieldKind": "input", - "label": "", - "value": 0 - }, - "chunk": { - "id": "ae4af045-99f9-4d84-81d2-438dc3d13b8d", - "name": "chunk", - "type": "boolean", - "fieldKind": "input", - "label": "", - "value": false - }, - "invert_mask": { - "id": "a6a0fe16-da45-46aa-9f85-9469fde40d71", - "name": "invert_mask", - "type": "boolean", - "fieldKind": "input", - "label": "", - "value": false - } - }, - "outputs": { - "image": { - "id": "7de8643a-c6b1-4260-b843-728c8d0fc6d4", - "name": "image", - "type": "ImageField", - "fieldKind": "output" - }, - "width": { - "id": "fb1450b6-de42-465a-98d7-1dc93ceb20d7", - "name": "width", - "type": "integer", - "fieldKind": "output" - }, - "height": { - "id": "cea5abb6-1584-440a-9ee2-1e4c926235e7", - "name": "height", - "type": "integer", - "fieldKind": "output" - }, - "mask": { - "id": "272e4224-1736-42de-895d-096309259ac7", - "name": "mask", - "type": "ImageField", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.2" - }, - "width": 320, - "height": 585, - "position": { - "x": 4559.385043470649, - "y": 2082.7157021692556 - } - }, - { - "id": "e4681270-ea7e-4063-9116-880408854eee", - "type": "invocation", - "data": { - "id": "e4681270-ea7e-4063-9116-880408854eee", - "type": "l2i", - "inputs": { - "metadata": { - "id": "1632b6ac-605d-42a7-853c-65539a6f664e", - "name": "metadata", - "type": "MetadataField", - "fieldKind": "input", - "label": "" - }, - "latents": { - "id": "9986c874-6d4b-47fc-895a-88933ef2b473", - "name": "latents", - "type": "LatentsField", - "fieldKind": "input", - "label": "" - }, - "vae": { - "id": "d5842416-e575-4e35-a5d0-fd1ce4401b52", - "name": "vae", - "type": "VaeField", - "fieldKind": "input", - "label": "" - }, - "tiled": { - "id": "6a84e45e-5f54-4952-9285-9dedc6d056d5", - "name": "tiled", - "type": "boolean", - "fieldKind": "input", - "label": "", - "value": false - }, - "fp32": { - "id": "2fa37674-8685-4ec4-87d9-d4683131d79c", - "name": "fp32", - "type": "boolean", - "fieldKind": "input", - "label": "", - "value": false - } - }, - "outputs": { - "image": { - "id": "b1856446-1b03-4825-aae0-0859e27c3c8c", - "name": "image", - "type": "ImageField", - "fieldKind": "output" - }, - "width": { - "id": "c95d92f6-2416-4fc8-a542-998c7c3fac73", - "name": "width", - "type": "integer", - "fieldKind": "output" - }, - "height": { - "id": "7033a118-3b20-4c25-8450-e15d7fc8657c", - "name": "height", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 267, - "position": { - "x": 5941.909912847396, - "y": 2111.4771842290065 - } - }, - { - "id": "7bc3c331-4658-46fd-8736-fe3043fcd9d1", - "type": "invocation", - "data": { - "id": "7bc3c331-4658-46fd-8736-fe3043fcd9d1", - "type": "color_correct", - "inputs": { - "metadata": { - "id": "203d08d1-586f-47c9-95a1-2afa1db23751", - "name": "metadata", - "type": "MetadataField", - "fieldKind": "input", - "label": "" - }, - "image": { - "id": "50bc42c6-c3b8-44c4-89fe-ef2edd9b67f4", - "name": "image", - "type": "ImageField", - "fieldKind": "input", - "label": "" - }, - "reference": { - "id": "2eef99df-b1f8-441c-a316-466a46812df0", - "name": "reference", - "type": "ImageField", - "fieldKind": "input", - "label": "" - }, - "mask": { - "id": "6cfde62b-e6fc-4f13-91dc-e679b26ec04b", - "name": "mask", - "type": "ImageField", - "fieldKind": "input", - "label": "" - }, - "mask_blur_radius": { - "id": "51125aec-bbcb-4ae0-b618-a9bc632a5a86", - "name": "mask_blur_radius", - "type": "float", - "fieldKind": "input", - "label": "", - "value": 8 - } - }, - "outputs": { - "image": { - "id": "4c82dcb2-1c55-4b6d-a42c-061478881393", - "name": "image", - "type": "ImageField", - "fieldKind": "output" - }, - "width": { - "id": "b7d23fea-e361-468d-96e7-9b243592e904", - "name": "width", - "type": "integer", - "fieldKind": "output" - }, - "height": { - "id": "d056d182-d261-4037-bb5e-caec9bda9ca6", - "name": "height", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 396, - "position": { - "x": 6399.947577155154, - "y": 2127.7477011465667 - } - } - ], - "edges": [ - { - "source": "27dd9fc3-8c6e-4602-8754-e9ca2f478d68", - "target": "098898c8-7a20-4d78-9363-296d42e3d8da", - "id": "27dd9fc3-8c6e-4602-8754-e9ca2f478d68-098898c8-7a20-4d78-9363-296d42e3d8da-collapsed", - "type": "collapsed" - }, - { - "source": "a6d08bcb-0b52-4dd8-9247-8b6480238c6d", - "target": "098898c8-7a20-4d78-9363-296d42e3d8da", - "id": "a6d08bcb-0b52-4dd8-9247-8b6480238c6d-098898c8-7a20-4d78-9363-296d42e3d8da-collapsed", - "type": "collapsed" - }, - { - "source": "c9897be0-7f59-4388-816d-86cb72cc4036", - "sourceHandle": "clip", - "target": "fb7e72d9-51cb-432a-b511-c6c608d07413", - "targetHandle": "clip", - "id": "reactflow__edge-c9897be0-7f59-4388-816d-86cb72cc4036clip-fb7e72d9-51cb-432a-b511-c6c608d07413clip", - "type": "default" - }, - { - "source": "c9897be0-7f59-4388-816d-86cb72cc4036", - "sourceHandle": "clip", - "target": "7c4e5071-5b76-4d42-b340-68b52c5ded7a", - "targetHandle": "clip", - "id": "reactflow__edge-c9897be0-7f59-4388-816d-86cb72cc4036clip-7c4e5071-5b76-4d42-b340-68b52c5ded7aclip", - "type": "default" - }, - { - "source": "27dd9fc3-8c6e-4602-8754-e9ca2f478d68", - "sourceHandle": "value", - "target": "098898c8-7a20-4d78-9363-296d42e3d8da", - "targetHandle": "seed", - "id": "reactflow__edge-27dd9fc3-8c6e-4602-8754-e9ca2f478d68value-098898c8-7a20-4d78-9363-296d42e3d8daseed", - "type": "default" - }, - { - "source": "c9897be0-7f59-4388-816d-86cb72cc4036", - "sourceHandle": "vae", - "target": "bcbdc4ea-1fad-40d4-8632-70f84116f4b6", - "targetHandle": "vae", - "id": "reactflow__edge-c9897be0-7f59-4388-816d-86cb72cc4036vae-bcbdc4ea-1fad-40d4-8632-70f84116f4b6vae", - "type": "default" - }, - { - "source": "c9897be0-7f59-4388-816d-86cb72cc4036", - "sourceHandle": "vae", - "target": "a6d08bcb-0b52-4dd8-9247-8b6480238c6d", - "targetHandle": "vae", - "id": "reactflow__edge-c9897be0-7f59-4388-816d-86cb72cc4036vae-a6d08bcb-0b52-4dd8-9247-8b6480238c6dvae", - "type": "default" - }, - { - "source": "a6d08bcb-0b52-4dd8-9247-8b6480238c6d", - "sourceHandle": "width", - "target": "098898c8-7a20-4d78-9363-296d42e3d8da", - "targetHandle": "width", - "id": "reactflow__edge-a6d08bcb-0b52-4dd8-9247-8b6480238c6dwidth-098898c8-7a20-4d78-9363-296d42e3d8dawidth", - "type": "default" - }, - { - "source": "a6d08bcb-0b52-4dd8-9247-8b6480238c6d", - "sourceHandle": "height", - "target": "098898c8-7a20-4d78-9363-296d42e3d8da", - "targetHandle": "height", - "id": "reactflow__edge-a6d08bcb-0b52-4dd8-9247-8b6480238c6dheight-098898c8-7a20-4d78-9363-296d42e3d8daheight", - "type": "default" - }, - { - "source": "c9897be0-7f59-4388-816d-86cb72cc4036", - "sourceHandle": "unet", - "target": "d14b4d95-bf74-4ec5-827b-4c9e797c7ae9", - "targetHandle": "unet", - "id": "reactflow__edge-c9897be0-7f59-4388-816d-86cb72cc4036unet-d14b4d95-bf74-4ec5-827b-4c9e797c7ae9unet", - "type": "default" - }, - { - "source": "7c4e5071-5b76-4d42-b340-68b52c5ded7a", - "sourceHandle": "conditioning", - "target": "d14b4d95-bf74-4ec5-827b-4c9e797c7ae9", - "targetHandle": "negative_conditioning", - "id": "reactflow__edge-7c4e5071-5b76-4d42-b340-68b52c5ded7aconditioning-d14b4d95-bf74-4ec5-827b-4c9e797c7ae9negative_conditioning", - "type": "default" - }, - { - "source": "fb7e72d9-51cb-432a-b511-c6c608d07413", - "sourceHandle": "conditioning", - "target": "d14b4d95-bf74-4ec5-827b-4c9e797c7ae9", - "targetHandle": "positive_conditioning", - "id": "reactflow__edge-fb7e72d9-51cb-432a-b511-c6c608d07413conditioning-d14b4d95-bf74-4ec5-827b-4c9e797c7ae9positive_conditioning", - "type": "default" - }, - { - "source": "098898c8-7a20-4d78-9363-296d42e3d8da", - "sourceHandle": "noise", - "target": "d14b4d95-bf74-4ec5-827b-4c9e797c7ae9", - "targetHandle": "noise", - "id": "reactflow__edge-098898c8-7a20-4d78-9363-296d42e3d8danoise-d14b4d95-bf74-4ec5-827b-4c9e797c7ae9noise", - "type": "default" - }, - { - "source": "bcbdc4ea-1fad-40d4-8632-70f84116f4b6", - "sourceHandle": "denoise_mask", - "target": "d14b4d95-bf74-4ec5-827b-4c9e797c7ae9", - "targetHandle": "denoise_mask", - "id": "reactflow__edge-bcbdc4ea-1fad-40d4-8632-70f84116f4b6denoise_mask-d14b4d95-bf74-4ec5-827b-4c9e797c7ae9denoise_mask", - "type": "default" - }, - { - "source": "a6d08bcb-0b52-4dd8-9247-8b6480238c6d", - "sourceHandle": "latents", - "target": "d14b4d95-bf74-4ec5-827b-4c9e797c7ae9", - "targetHandle": "latents", - "id": "reactflow__edge-a6d08bcb-0b52-4dd8-9247-8b6480238c6dlatents-d14b4d95-bf74-4ec5-827b-4c9e797c7ae9latents", - "type": "default" - }, - { - "source": "3fac3aa6-910a-4a90-a8b6-5b7e1611efba", - "sourceHandle": "image", - "target": "eb725b0b-1fa6-4f79-aedb-52c19afcfad9", - "targetHandle": "image", - "id": "reactflow__edge-3fac3aa6-910a-4a90-a8b6-5b7e1611efbaimage-eb725b0b-1fa6-4f79-aedb-52c19afcfad9image", - "type": "default" - }, - { - "source": "eb725b0b-1fa6-4f79-aedb-52c19afcfad9", - "sourceHandle": "image", - "target": "bcbdc4ea-1fad-40d4-8632-70f84116f4b6", - "targetHandle": "image", - "id": "reactflow__edge-eb725b0b-1fa6-4f79-aedb-52c19afcfad9image-bcbdc4ea-1fad-40d4-8632-70f84116f4b6image", - "type": "default" - }, - { - "source": "eb725b0b-1fa6-4f79-aedb-52c19afcfad9", - "sourceHandle": "mask", - "target": "bcbdc4ea-1fad-40d4-8632-70f84116f4b6", - "targetHandle": "mask", - "id": "reactflow__edge-eb725b0b-1fa6-4f79-aedb-52c19afcfad9mask-bcbdc4ea-1fad-40d4-8632-70f84116f4b6mask", - "type": "default" - }, - { - "source": "eb725b0b-1fa6-4f79-aedb-52c19afcfad9", - "sourceHandle": "image", - "target": "a6d08bcb-0b52-4dd8-9247-8b6480238c6d", - "targetHandle": "image", - "id": "reactflow__edge-eb725b0b-1fa6-4f79-aedb-52c19afcfad9image-a6d08bcb-0b52-4dd8-9247-8b6480238c6dimage", - "type": "default" - }, - { - "source": "c9897be0-7f59-4388-816d-86cb72cc4036", - "sourceHandle": "vae", - "target": "e4681270-ea7e-4063-9116-880408854eee", - "targetHandle": "vae", - "id": "reactflow__edge-c9897be0-7f59-4388-816d-86cb72cc4036vae-e4681270-ea7e-4063-9116-880408854eeevae", - "type": "default" - }, - { - "source": "d14b4d95-bf74-4ec5-827b-4c9e797c7ae9", - "sourceHandle": "latents", - "target": "e4681270-ea7e-4063-9116-880408854eee", - "targetHandle": "latents", - "id": "reactflow__edge-d14b4d95-bf74-4ec5-827b-4c9e797c7ae9latents-e4681270-ea7e-4063-9116-880408854eeelatents", - "type": "default" - }, - { - "source": "3fac3aa6-910a-4a90-a8b6-5b7e1611efba", - "sourceHandle": "image", - "target": "7bc3c331-4658-46fd-8736-fe3043fcd9d1", - "targetHandle": "reference", - "id": "reactflow__edge-3fac3aa6-910a-4a90-a8b6-5b7e1611efbaimage-7bc3c331-4658-46fd-8736-fe3043fcd9d1reference", - "type": "default" - }, - { - "source": "e4681270-ea7e-4063-9116-880408854eee", - "sourceHandle": "image", - "target": "7bc3c331-4658-46fd-8736-fe3043fcd9d1", - "targetHandle": "image", - "id": "reactflow__edge-e4681270-ea7e-4063-9116-880408854eeeimage-7bc3c331-4658-46fd-8736-fe3043fcd9d1image", - "type": "default" - }, - { - "source": "eb725b0b-1fa6-4f79-aedb-52c19afcfad9", - "sourceHandle": "mask", - "target": "7bc3c331-4658-46fd-8736-fe3043fcd9d1", - "targetHandle": "mask", - "id": "reactflow__edge-eb725b0b-1fa6-4f79-aedb-52c19afcfad9mask-7bc3c331-4658-46fd-8736-fe3043fcd9d1mask", - "type": "default" - } - ] -} \ No newline at end of file diff --git a/docs/workflows/FaceOff_FaceScale2x.json b/docs/workflows/FaceOff_FaceScale2x.json deleted file mode 100644 index d1707e5e732..00000000000 --- a/docs/workflows/FaceOff_FaceScale2x.json +++ /dev/null @@ -1,1451 +0,0 @@ -{ - "name": "FaceOff_FaceScale2x", - "author": "YMGenesis", - "description": "21 September 2023\n\nPlace an image with recognizable face(s) in Image Primitive, and write what sort of new face you want in the top prompt text box. The face (and mask) will be scaled by 2 factor to allow for more details when generating. It'll then be downscaled by half before being pasted back onto the original image. See Notes for more info.", - "version": "1.0", - "contact": "YMGenesis on InvokeAI Discord", - "tags": "faceoff, facetools", - "notes": "If you want to choose one face out of many, run the original image through FaceIdentifier and view its output to get the FaceID you want to change. Then, enter it into the \"Face Id\" field on FaceOff.\n\nTo resemble the original face more when doing small touchups, change Denoise Start on Denoise Latents to a number closer to 1 (ex: 0.5-0.9). To create something fairly new, Denoise Start should be around 0.2-0.5. When using a regular model, anything around 0.2 and below might not create a face, but a new \"image\" inside the face area instead. Use an inpaint model in that case.\n\nAdjust X&Y Offsets on FaceOff to adjust the shape of the mask along those axes. Adjust Padding to zoom the bounding box out (positive integers) and in (negative integers). Zooming out will give more context to the diffusion process, resulting in a face more likely to exist in that image.", - "exposedFields": [], - "meta": { - "version": "1.0.0" - }, - "nodes": [ - { - "id": "c9897be0-7f59-4388-816d-86cb72cc4036", - "type": "invocation", - "data": { - "id": "c9897be0-7f59-4388-816d-86cb72cc4036", - "type": "main_model_loader", - "inputs": { - "model": { - "id": "e3c5384f-3b73-45c4-bdd0-9f394819f33d", - "name": "model", - "type": "MainModelField", - "fieldKind": "input", - "label": "", - "value": { - "model_name": "stable-diffusion-v1-5", - "base_model": "sd-1", - "model_type": "main" - } - } - }, - "outputs": { - "unet": { - "id": "e578c176-1de1-4e36-bfc0-771f60d615da", - "name": "unet", - "type": "UNetField", - "fieldKind": "output" - }, - "clip": { - "id": "54a97800-72ac-4951-94e5-2711ac139a07", - "name": "clip", - "type": "ClipField", - "fieldKind": "output" - }, - "vae": { - "id": "814a8df5-7882-48a2-8ac1-8ff82d7c1b07", - "name": "vae", - "type": "VaeField", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 226, - "position": { - "x": 4625, - "y": 1275 - } - }, - { - "id": "fb7e72d9-51cb-432a-b511-c6c608d07413", - "type": "invocation", - "data": { - "id": "fb7e72d9-51cb-432a-b511-c6c608d07413", - "type": "compel", - "inputs": { - "prompt": { - "id": "a4f25874-bc29-4900-abef-47701c805132", - "name": "prompt", - "type": "string", - "fieldKind": "input", - "label": "", - "value": "" - }, - "clip": { - "id": "6464b46f-fc74-4917-88b0-3fd458fc11f0", - "name": "clip", - "type": "ClipField", - "fieldKind": "input", - "label": "" - } - }, - "outputs": { - "conditioning": { - "id": "65bea1c6-e3b6-4120-a546-d93ff5dd7765", - "name": "conditioning", - "type": "ConditioningField", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 259, - "position": { - "x": 5025, - "y": 1275 - } - }, - { - "id": "7c4e5071-5b76-4d42-b340-68b52c5ded7a", - "type": "invocation", - "data": { - "id": "7c4e5071-5b76-4d42-b340-68b52c5ded7a", - "type": "compel", - "inputs": { - "prompt": { - "id": "fcb313f2-74ab-443d-a8a8-eb5f2a9b5f96", - "name": "prompt", - "type": "string", - "fieldKind": "input", - "label": "", - "value": "" - }, - "clip": { - "id": "a278e13b-823a-4dda-96ca-44cf56f994dd", - "name": "clip", - "type": "ClipField", - "fieldKind": "input", - "label": "" - } - }, - "outputs": { - "conditioning": { - "id": "3c1f0f11-b8b0-444a-97ad-1cf80acf4bf7", - "name": "conditioning", - "type": "ConditioningField", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 259, - "position": { - "x": 5025, - "y": 1550 - } - }, - { - "id": "098898c8-7a20-4d78-9363-296d42e3d8da", - "type": "invocation", - "data": { - "id": "098898c8-7a20-4d78-9363-296d42e3d8da", - "type": "noise", - "inputs": { - "seed": { - "id": "9358ec7b-e575-40d9-af22-2d4786ba1aa7", - "name": "seed", - "type": "integer", - "fieldKind": "input", - "label": "", - "value": 0 - }, - "width": { - "id": "8422b4ba-9d8e-41ac-bf08-1ea826859b46", - "name": "width", - "type": "integer", - "fieldKind": "input", - "label": "", - "value": 512 - }, - "height": { - "id": "2467c79c-302b-4800-9efd-5bca58103322", - "name": "height", - "type": "integer", - "fieldKind": "input", - "label": "", - "value": 512 - }, - "use_cpu": { - "id": "911c827e-a6af-4168-9f6d-cecc732938ad", - "name": "use_cpu", - "type": "boolean", - "fieldKind": "input", - "label": "", - "value": true - } - }, - "outputs": { - "noise": { - "id": "9db55798-5c98-40f6-9015-56bfa8618f12", - "name": "noise", - "type": "LatentsField", - "fieldKind": "output" - }, - "width": { - "id": "bc091210-946e-410e-8c70-e20982dd1ee7", - "name": "width", - "type": "integer", - "fieldKind": "output" - }, - "height": { - "id": "4df04a89-43a2-441a-8f15-089350b36ea7", - "name": "height", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 389, - "position": { - "x": 5425, - "y": 1525 - } - }, - { - "id": "27dd9fc3-8c6e-4602-8754-e9ca2f478d68", - "type": "invocation", - "data": { - "id": "27dd9fc3-8c6e-4602-8754-e9ca2f478d68", - "type": "rand_int", - "inputs": { - "low": { - "id": "86e06b6e-7c84-40b0-9df2-12f966c3db4d", - "name": "low", - "type": "integer", - "fieldKind": "input", - "label": "", - "value": 0 - }, - "high": { - "id": "5ee9adcc-d48c-4b9a-951a-6892d234acbc", - "name": "high", - "type": "integer", - "fieldKind": "input", - "label": "", - "value": 2147483647 - } - }, - "outputs": { - "value": { - "id": "b6c69841-ba37-43f0-8904-0026b1caf8ff", - "name": "value", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": false, - "version": "1.0.0" - }, - "width": 320, - "height": 218, - "position": { - "x": 5425, - "y": 1275 - } - }, - { - "id": "bcbdc4ea-1fad-40d4-8632-70f84116f4b6", - "type": "invocation", - "data": { - "id": "bcbdc4ea-1fad-40d4-8632-70f84116f4b6", - "type": "create_denoise_mask", - "inputs": { - "vae": { - "id": "c7991df7-9f68-4b42-96ce-d795a8e2f714", - "name": "vae", - "type": "VaeField", - "fieldKind": "input", - "label": "" - }, - "image": { - "id": "3345a725-f5d5-4f47-9942-b1dfffbe5906", - "name": "image", - "type": "ImageField", - "fieldKind": "input", - "label": "" - }, - "mask": { - "id": "41fb1d83-1ca3-4299-b039-fb3b7c90f04e", - "name": "mask", - "type": "ImageField", - "fieldKind": "input", - "label": "" - }, - "tiled": { - "id": "32d8cf55-9910-4e09-8486-1c556a580a2d", - "name": "tiled", - "type": "boolean", - "fieldKind": "input", - "label": "", - "value": false - }, - "fp32": { - "id": "e26410cc-54f3-44f2-a81c-a22a8dad6f24", - "name": "fp32", - "type": "boolean", - "fieldKind": "input", - "label": "", - "value": false - } - }, - "outputs": { - "denoise_mask": { - "id": "9e1b78c0-5ac6-4632-91e9-831ce328237f", - "name": "denoise_mask", - "type": "DenoiseMaskField", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 318, - "position": { - "x": 5025, - "y": 2175 - } - }, - { - "id": "3fac3aa6-910a-4a90-a8b6-5b7e1611efba", - "type": "invocation", - "data": { - "id": "3fac3aa6-910a-4a90-a8b6-5b7e1611efba", - "type": "image", - "inputs": { - "image": { - "id": "6efba7ef-b986-4488-84ca-80f23f939ba8", - "name": "image", - "type": "ImageField", - "fieldKind": "input", - "label": "" - } - }, - "outputs": { - "image": { - "id": "2512df7a-9981-4186-93ed-aa5405dc3057", - "name": "image", - "type": "ImageField", - "fieldKind": "output" - }, - "width": { - "id": "68d2a9c6-43ff-49aa-989c-db6f5452134f", - "name": "width", - "type": "integer", - "fieldKind": "output" - }, - "height": { - "id": "2cb4e505-7e9e-40bd-b402-1e7470167d30", - "name": "height", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 225, - "position": { - "x": 4625, - "y": 1525 - } - }, - { - "id": "a6d08bcb-0b52-4dd8-9247-8b6480238c6d", - "type": "invocation", - "data": { - "id": "a6d08bcb-0b52-4dd8-9247-8b6480238c6d", - "type": "i2l", - "inputs": { - "image": { - "id": "4aef9c20-51be-47e4-bdc4-d449694d75e1", - "name": "image", - "type": "ImageField", - "fieldKind": "input", - "label": "" - }, - "vae": { - "id": "9507adad-df7c-447b-8aad-4d8d6f638420", - "name": "vae", - "type": "VaeField", - "fieldKind": "input", - "label": "" - }, - "tiled": { - "id": "2a100779-503a-4fb4-a2b5-507eb0f8328f", - "name": "tiled", - "type": "boolean", - "fieldKind": "input", - "label": "", - "value": false - }, - "fp32": { - "id": "3dbf8dbc-4ad4-4451-89f4-99a59ec87453", - "name": "fp32", - "type": "boolean", - "fieldKind": "input", - "label": "", - "value": false - } - }, - "outputs": { - "latents": { - "id": "215003b1-64dd-4c97-b5a4-7593d41ffd0e", - "name": "latents", - "type": "LatentsField", - "fieldKind": "output" - }, - "width": { - "id": "dc9b2940-79e0-49b2-906c-05417a691175", - "name": "width", - "type": "integer", - "fieldKind": "output" - }, - "height": { - "id": "605de93b-c1c7-409f-b059-24918a292bfc", - "name": "height", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 325, - "position": { - "x": 5025, - "y": 1825 - } - }, - { - "id": "01a35dfd-b4bd-4901-8088-49972eac7582", - "type": "invocation", - "data": { - "id": "01a35dfd-b4bd-4901-8088-49972eac7582", - "type": "l2i", - "inputs": { - "metadata": { - "id": "ce479dbf-d12f-43e7-9047-ec0e6bd838a7", - "name": "metadata", - "type": "MetadataField", - "fieldKind": "input", - "label": "" - }, - "latents": { - "id": "0d3f0abc-5c60-495e-af10-8136b25532d0", - "name": "latents", - "type": "LatentsField", - "fieldKind": "input", - "label": "" - }, - "vae": { - "id": "c0563226-c977-456a-8cf5-2873ab56a9f4", - "name": "vae", - "type": "VaeField", - "fieldKind": "input", - "label": "" - }, - "tiled": { - "id": "f909d67c-f789-4daa-8528-50113bba78ea", - "name": "tiled", - "type": "boolean", - "fieldKind": "input", - "label": "", - "value": false - }, - "fp32": { - "id": "d7c26ac3-df0f-47ab-aa91-0c5bfbe1ea38", - "name": "fp32", - "type": "boolean", - "fieldKind": "input", - "label": "", - "value": false - } - }, - "outputs": { - "image": { - "id": "380a7af7-bba5-434b-9996-47b8194d69d4", - "name": "image", - "type": "ImageField", - "fieldKind": "output" - }, - "width": { - "id": "a0f2a9cf-77f6-42a5-801d-30f635d1de26", - "name": "width", - "type": "integer", - "fieldKind": "output" - }, - "height": { - "id": "890ec07c-9bc0-46f6-b962-8a6fd149d562", - "name": "height", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 267, - "position": { - "x": 5810.2137275110845, - "y": 1270.641572039504 - } - }, - { - "id": "43c00342-9ca3-498a-8635-c4c716e32d5f", - "type": "invocation", - "data": { - "id": "43c00342-9ca3-498a-8635-c4c716e32d5f", - "type": "img_scale", - "inputs": { - "metadata": { - "id": "d35fa75e-439b-4fda-9064-4ed73f378de6", - "name": "metadata", - "type": "MetadataField", - "fieldKind": "input", - "label": "" - }, - "image": { - "id": "e8c46885-2ec1-4fb9-8d34-07534e62ec97", - "name": "image", - "type": "ImageField", - "fieldKind": "input", - "label": "" - }, - "scale_factor": { - "id": "94b04846-9f70-44ac-ae82-99af13632255", - "name": "scale_factor", - "type": "float", - "fieldKind": "input", - "label": "", - "value": 2 - }, - "resample_mode": { - "id": "2fbcd8bb-6668-4661-868a-1452f0e73e6d", - "name": "resample_mode", - "type": "enum", - "fieldKind": "input", - "label": "", - "value": "bicubic" - } - }, - "outputs": { - "image": { - "id": "96600931-0da3-4c68-842f-d06f2d93f383", - "name": "image", - "type": "ImageField", - "fieldKind": "output" - }, - "width": { - "id": "ff158681-580c-4a51-a2c8-c4bd2058a011", - "name": "width", - "type": "integer", - "fieldKind": "output" - }, - "height": { - "id": "2a332d0e-4442-4a6e-8cf9-5e2e42f713c6", - "name": "height", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 339, - "position": { - "x": 5808.235568293352, - "y": 1551.540180957498 - } - }, - { - "id": "0c71919b-a030-44fb-8c09-1baf37088d20", - "type": "invocation", - "data": { - "id": "0c71919b-a030-44fb-8c09-1baf37088d20", - "type": "color_correct", - "inputs": { - "metadata": { - "id": "89536a0d-1c62-4975-ada9-33f359837481", - "name": "metadata", - "type": "MetadataField", - "fieldKind": "input", - "label": "" - }, - "image": { - "id": "10d7c1da-e8e1-4226-ad9f-1bde9816c118", - "name": "image", - "type": "ImageField", - "fieldKind": "input", - "label": "" - }, - "reference": { - "id": "9c7354ed-33dc-462a-bc57-717082eb3f45", - "name": "reference", - "type": "ImageField", - "fieldKind": "input", - "label": "" - }, - "mask": { - "id": "03aee643-6873-421c-8caf-1e05e85f6a9d", - "name": "mask", - "type": "ImageField", - "fieldKind": "input", - "label": "" - }, - "mask_blur_radius": { - "id": "2d2dffa6-f719-4ec9-a201-c07a3a914c77", - "name": "mask_blur_radius", - "type": "float", - "fieldKind": "input", - "label": "", - "value": 8 - } - }, - "outputs": { - "image": { - "id": "b652c45e-e797-47d2-9175-aa77ede6a8f5", - "name": "image", - "type": "ImageField", - "fieldKind": "output" - }, - "width": { - "id": "385015ed-2c6b-4b72-adda-ba5639841352", - "name": "width", - "type": "integer", - "fieldKind": "output" - }, - "height": { - "id": "fe6632e0-560c-4c56-9b52-6e5e5d7eb642", - "name": "height", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 396, - "position": { - "x": 5806.25740907562, - "y": 1903.6525217138576 - } - }, - { - "id": "4e11665c-b932-493d-ab4f-019bed730b47", - "type": "invocation", - "data": { - "id": "4e11665c-b932-493d-ab4f-019bed730b47", - "type": "img_paste", - "inputs": { - "metadata": { - "id": "6f365d9d-bf84-4053-b936-8035a4c7c991", - "name": "metadata", - "type": "MetadataField", - "fieldKind": "input", - "label": "" - }, - "base_image": { - "id": "fb323f35-d1fd-4d20-b145-9a3db7a57a28", - "name": "base_image", - "type": "ImageField", - "fieldKind": "input", - "label": "" - }, - "image": { - "id": "ea76a063-ec51-4b2b-bfa8-8df9c64ecc2e", - "name": "image", - "type": "ImageField", - "fieldKind": "input", - "label": "" - }, - "mask": { - "id": "9b3f194a-d7f1-45f3-989a-6b2096dd3fd6", - "name": "mask", - "type": "ImageField", - "fieldKind": "input", - "label": "" - }, - "x": { - "id": "d74b8e26-bc59-4a27-bb00-f769b81e8ef0", - "name": "x", - "type": "integer", - "fieldKind": "input", - "label": "", - "value": 0 - }, - "y": { - "id": "6ada744a-8f67-49c6-a8b6-df03b3397d73", - "name": "y", - "type": "integer", - "fieldKind": "input", - "label": "", - "value": 0 - }, - "crop": { - "id": "dec1e8e1-2fb0-43e8-9ddf-0eb478e5e567", - "name": "crop", - "type": "boolean", - "fieldKind": "input", - "label": "", - "value": false - } - }, - "outputs": { - "image": { - "id": "4a01e54d-9a7b-458d-aa87-640ce8c5cd62", - "name": "image", - "type": "ImageField", - "fieldKind": "output" - }, - "width": { - "id": "be903c7c-b867-4938-9a0e-de8a6676ae89", - "name": "width", - "type": "integer", - "fieldKind": "output" - }, - "height": { - "id": "7dbb23a1-bedc-418c-8c27-09cf24e0e777", - "name": "height", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.1" - }, - "width": 320, - "height": 504, - "position": { - "x": 5810.103371182836, - "y": 2315.9071582023707 - } - }, - { - "id": "9a6a35cd-5c05-4df1-81bf-e40a1954c618", - "type": "invocation", - "data": { - "id": "9a6a35cd-5c05-4df1-81bf-e40a1954c618", - "type": "denoise_latents", - "inputs": { - "positive_conditioning": { - "id": "1039d676-b54f-4848-903d-a5e3eef84781", - "name": "positive_conditioning", - "type": "ConditioningField", - "fieldKind": "input", - "label": "" - }, - "negative_conditioning": { - "id": "52e4b032-e32f-48b1-ac02-b17f0dff78f6", - "name": "negative_conditioning", - "type": "ConditioningField", - "fieldKind": "input", - "label": "" - }, - "noise": { - "id": "7c6c35bb-576c-42fa-8191-169afff13d73", - "name": "noise", - "type": "LatentsField", - "fieldKind": "input", - "label": "" - }, - "steps": { - "id": "e0df62c7-edb8-4777-8ca1-c7a6fb30f6a2", - "name": "steps", - "type": "integer", - "fieldKind": "input", - "label": "", - "value": 10 - }, - "cfg_scale": { - "id": "e1a87d18-671d-4a6e-a528-7d4376500211", - "name": "cfg_scale", - "type": "FloatPolymorphic", - "fieldKind": "input", - "label": "", - "value": 7.5 - }, - "denoising_start": { - "id": "60ab8906-162c-4817-bd46-f5d7a93aa213", - "name": "denoising_start", - "type": "float", - "fieldKind": "input", - "label": "", - "value": 0 - }, - "denoising_end": { - "id": "c8f73ade-d5a4-4e69-8462-c0f9ee3dfb96", - "name": "denoising_end", - "type": "float", - "fieldKind": "input", - "label": "", - "value": 1 - }, - "scheduler": { - "id": "e2872b56-4250-4a0d-86b3-37c60485fdc7", - "name": "scheduler", - "type": "Scheduler", - "fieldKind": "input", - "label": "", - "value": "euler" - }, - "unet": { - "id": "b1f93d41-b399-4774-a913-4a0c0c6d5f66", - "name": "unet", - "type": "UNetField", - "fieldKind": "input", - "label": "" - }, - "control": { - "id": "89315aa7-95d7-463b-86fd-a8064092503c", - "name": "control", - "type": "ControlPolymorphic", - "fieldKind": "input", - "label": "" - }, - "ip_adapter": { - "id": "370ded4f-ef23-4741-9e4c-1f3d1d429cfd", - "name": "ip_adapter", - "type": "IPAdapterPolymorphic", - "fieldKind": "input", - "label": "" - }, - "t2i_adapter": { - "id": "dac77b99-0cc9-46c5-9d17-66ddbabdb7f8", - "name": "t2i_adapter", - "type": "T2IAdapterPolymorphic", - "fieldKind": "input", - "label": "" - }, - "latents": { - "id": "229e7492-abfd-47cb-9218-67c1ba75c4b4", - "name": "latents", - "type": "LatentsField", - "fieldKind": "input", - "label": "" - }, - "denoise_mask": { - "id": "1248eb2e-d362-446c-8ffc-ddab52b7c20f", - "name": "denoise_mask", - "type": "DenoiseMaskField", - "fieldKind": "input", - "label": "" - } - }, - "outputs": { - "latents": { - "id": "de5c8012-df50-4fae-a4b7-ca09aaa181ca", - "name": "latents", - "type": "LatentsField", - "fieldKind": "output" - }, - "width": { - "id": "ba1e5e4f-3ba9-467b-b80d-3c85aa97afab", - "name": "width", - "type": "integer", - "fieldKind": "output" - }, - "height": { - "id": "b0fa6029-ede9-45be-b1ec-b1ec469bfeb6", - "name": "height", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.4.0" - }, - "width": 320, - "height": 646, - "position": { - "x": 5468.65700494231, - "y": 1926.1754472409636 - } - }, - { - "id": "98048fa7-dd08-49ec-92b8-76c9017e5444", - "type": "invocation", - "data": { - "id": "98048fa7-dd08-49ec-92b8-76c9017e5444", - "type": "img_scale", - "inputs": { - "metadata": { - "id": "02fa128c-3d3b-4083-aa73-fb7acbfb072a", - "name": "metadata", - "type": "MetadataField", - "fieldKind": "input", - "label": "" - }, - "image": { - "id": "8008b9db-bd61-4a89-b2df-de444961bc5b", - "name": "image", - "type": "ImageField", - "fieldKind": "input", - "label": "" - }, - "scale_factor": { - "id": "45268d5f-b8f9-49ee-b770-a6876100878a", - "name": "scale_factor", - "type": "float", - "fieldKind": "input", - "label": "", - "value": 2 - }, - "resample_mode": { - "id": "645b99b1-fd64-429b-b61d-caf739830efa", - "name": "resample_mode", - "type": "enum", - "fieldKind": "input", - "label": "", - "value": "bicubic" - } - }, - "outputs": { - "image": { - "id": "ff088e78-dd52-4605-a14d-d10d7c0015a5", - "name": "image", - "type": "ImageField", - "fieldKind": "output" - }, - "width": { - "id": "b0bede16-55d6-4fee-8709-6bce92118431", - "name": "width", - "type": "integer", - "fieldKind": "output" - }, - "height": { - "id": "88dc53cd-9d12-4f95-b23a-382b3db92db9", - "name": "height", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 339, - "position": { - "x": 5026.491824134117, - "y": 2513.056664333261 - } - }, - { - "id": "894b9ca6-e7bc-428e-87e9-cce64095bce9", - "type": "invocation", - "data": { - "id": "894b9ca6-e7bc-428e-87e9-cce64095bce9", - "type": "img_scale", - "inputs": { - "metadata": { - "id": "ae97ac6c-6dc7-4c01-955a-ae98a608db4b", - "name": "metadata", - "type": "MetadataField", - "fieldKind": "input", - "label": "" - }, - "image": { - "id": "56d9afd5-b1c6-4b62-b332-a5585e863000", - "name": "image", - "type": "ImageField", - "fieldKind": "input", - "label": "" - }, - "scale_factor": { - "id": "cdeeecb8-8f12-4d2b-b961-4d18cca858de", - "name": "scale_factor", - "type": "float", - "fieldKind": "input", - "label": "", - "value": 2 - }, - "resample_mode": { - "id": "b120b6a1-dbdb-4989-80fb-af0a682e124c", - "name": "resample_mode", - "type": "enum", - "fieldKind": "input", - "label": "", - "value": "bicubic" - } - }, - "outputs": { - "image": { - "id": "7888a231-4f89-4ad7-a216-d5664a96eb7d", - "name": "image", - "type": "ImageField", - "fieldKind": "output" - }, - "width": { - "id": "9030b8fd-4963-4bc7-86a2-5a964443fc41", - "name": "width", - "type": "integer", - "fieldKind": "output" - }, - "height": { - "id": "4beb6975-4ec2-4c76-8916-81331a2d2230", - "name": "height", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 339, - "position": { - "x": 4624.131880974906, - "y": 2614.5694940293906 - } - }, - { - "id": "efea8306-de20-418f-806c-31ae4e5eb6bf", - "type": "invocation", - "data": { - "id": "efea8306-de20-418f-806c-31ae4e5eb6bf", - "type": "face_off", - "inputs": { - "metadata": { - "id": "4e7eb36f-3742-49d9-91b4-092b955ef588", - "name": "metadata", - "type": "MetadataField", - "fieldKind": "input", - "label": "" - }, - "image": { - "id": "003c3ff3-d0d0-464e-85ed-fb4df75fd513", - "name": "image", - "type": "ImageField", - "fieldKind": "input", - "label": "" - }, - "face_id": { - "id": "9281074a-be25-4e43-8b80-9504b2365999", - "name": "face_id", - "type": "integer", - "fieldKind": "input", - "label": "", - "value": 0 - }, - "minimum_confidence": { - "id": "808efdd1-41d5-4c3c-9ea3-0a1854503087", - "name": "minimum_confidence", - "type": "float", - "fieldKind": "input", - "label": "", - "value": 0.5 - }, - "x_offset": { - "id": "fd4fedf5-7fba-4687-864b-bfd018c296cf", - "name": "x_offset", - "type": "float", - "fieldKind": "input", - "label": "", - "value": 0 - }, - "y_offset": { - "id": "3d64697c-707e-404b-8261-9665c78f686d", - "name": "y_offset", - "type": "float", - "fieldKind": "input", - "label": "", - "value": 0 - }, - "padding": { - "id": "1f147de3-8fde-4bcc-8c68-a6617feed334", - "name": "padding", - "type": "integer", - "fieldKind": "input", - "label": "", - "value": 0 - }, - "chunk": { - "id": "e60fae93-2056-4621-a6bf-d0248df6f538", - "name": "chunk", - "type": "boolean", - "fieldKind": "input", - "label": "", - "value": false - } - }, - "outputs": { - "image": { - "id": "1c6aa0cf-4bb8-4236-b92e-a862036c9522", - "name": "image", - "type": "ImageField", - "fieldKind": "output" - }, - "width": { - "id": "8dac27bd-7d72-471b-a310-bb7dae686a0b", - "name": "width", - "type": "integer", - "fieldKind": "output" - }, - "height": { - "id": "4bfb3364-fe37-4fb8-b8a0-75d1038ce726", - "name": "height", - "type": "integer", - "fieldKind": "output" - }, - "mask": { - "id": "221c6022-5314-4f8f-afb0-4b00ceea8ecd", - "name": "mask", - "type": "ImageField", - "fieldKind": "output" - }, - "x": { - "id": "657fa37b-6e9c-4c04-b5d2-e3e659fcb0f3", - "name": "x", - "type": "integer", - "fieldKind": "output" - }, - "y": { - "id": "bc5cf72e-0389-4b8c-b886-40d145b6b73a", - "name": "y", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.2" - }, - "width": 320, - "height": 656, - "position": { - "x": 4618.594817536934, - "y": 1836.6663791833205 - } - } - ], - "edges": [ - { - "source": "c9897be0-7f59-4388-816d-86cb72cc4036", - "sourceHandle": "clip", - "target": "fb7e72d9-51cb-432a-b511-c6c608d07413", - "targetHandle": "clip", - "id": "reactflow__edge-c9897be0-7f59-4388-816d-86cb72cc4036clip-fb7e72d9-51cb-432a-b511-c6c608d07413clip", - "type": "default" - }, - { - "source": "c9897be0-7f59-4388-816d-86cb72cc4036", - "sourceHandle": "clip", - "target": "7c4e5071-5b76-4d42-b340-68b52c5ded7a", - "targetHandle": "clip", - "id": "reactflow__edge-c9897be0-7f59-4388-816d-86cb72cc4036clip-7c4e5071-5b76-4d42-b340-68b52c5ded7aclip", - "type": "default" - }, - { - "source": "27dd9fc3-8c6e-4602-8754-e9ca2f478d68", - "sourceHandle": "value", - "target": "098898c8-7a20-4d78-9363-296d42e3d8da", - "targetHandle": "seed", - "id": "reactflow__edge-27dd9fc3-8c6e-4602-8754-e9ca2f478d68value-098898c8-7a20-4d78-9363-296d42e3d8daseed", - "type": "default" - }, - { - "source": "c9897be0-7f59-4388-816d-86cb72cc4036", - "sourceHandle": "vae", - "target": "bcbdc4ea-1fad-40d4-8632-70f84116f4b6", - "targetHandle": "vae", - "id": "reactflow__edge-c9897be0-7f59-4388-816d-86cb72cc4036vae-bcbdc4ea-1fad-40d4-8632-70f84116f4b6vae", - "type": "default" - }, - { - "source": "c9897be0-7f59-4388-816d-86cb72cc4036", - "sourceHandle": "vae", - "target": "a6d08bcb-0b52-4dd8-9247-8b6480238c6d", - "targetHandle": "vae", - "id": "reactflow__edge-c9897be0-7f59-4388-816d-86cb72cc4036vae-a6d08bcb-0b52-4dd8-9247-8b6480238c6dvae", - "type": "default" - }, - { - "source": "a6d08bcb-0b52-4dd8-9247-8b6480238c6d", - "sourceHandle": "width", - "target": "098898c8-7a20-4d78-9363-296d42e3d8da", - "targetHandle": "width", - "id": "reactflow__edge-a6d08bcb-0b52-4dd8-9247-8b6480238c6dwidth-098898c8-7a20-4d78-9363-296d42e3d8dawidth", - "type": "default" - }, - { - "source": "a6d08bcb-0b52-4dd8-9247-8b6480238c6d", - "sourceHandle": "height", - "target": "098898c8-7a20-4d78-9363-296d42e3d8da", - "targetHandle": "height", - "id": "reactflow__edge-a6d08bcb-0b52-4dd8-9247-8b6480238c6dheight-098898c8-7a20-4d78-9363-296d42e3d8daheight", - "type": "default" - }, - { - "source": "c9897be0-7f59-4388-816d-86cb72cc4036", - "sourceHandle": "vae", - "target": "01a35dfd-b4bd-4901-8088-49972eac7582", - "targetHandle": "vae", - "id": "reactflow__edge-c9897be0-7f59-4388-816d-86cb72cc4036vae-01a35dfd-b4bd-4901-8088-49972eac7582vae", - "type": "default" - }, - { - "source": "01a35dfd-b4bd-4901-8088-49972eac7582", - "sourceHandle": "image", - "target": "43c00342-9ca3-498a-8635-c4c716e32d5f", - "targetHandle": "image", - "id": "reactflow__edge-01a35dfd-b4bd-4901-8088-49972eac7582image-43c00342-9ca3-498a-8635-c4c716e32d5fimage", - "type": "default" - }, - { - "source": "43c00342-9ca3-498a-8635-c4c716e32d5f", - "sourceHandle": "image", - "target": "0c71919b-a030-44fb-8c09-1baf37088d20", - "targetHandle": "image", - "id": "reactflow__edge-43c00342-9ca3-498a-8635-c4c716e32d5fimage-0c71919b-a030-44fb-8c09-1baf37088d20image", - "type": "default" - }, - { - "source": "3fac3aa6-910a-4a90-a8b6-5b7e1611efba", - "sourceHandle": "image", - "target": "4e11665c-b932-493d-ab4f-019bed730b47", - "targetHandle": "base_image", - "id": "reactflow__edge-3fac3aa6-910a-4a90-a8b6-5b7e1611efbaimage-4e11665c-b932-493d-ab4f-019bed730b47base_image", - "type": "default" - }, - { - "source": "0c71919b-a030-44fb-8c09-1baf37088d20", - "sourceHandle": "image", - "target": "4e11665c-b932-493d-ab4f-019bed730b47", - "targetHandle": "image", - "id": "reactflow__edge-0c71919b-a030-44fb-8c09-1baf37088d20image-4e11665c-b932-493d-ab4f-019bed730b47image", - "type": "default" - }, - { - "source": "9a6a35cd-5c05-4df1-81bf-e40a1954c618", - "sourceHandle": "latents", - "target": "01a35dfd-b4bd-4901-8088-49972eac7582", - "targetHandle": "latents", - "id": "reactflow__edge-9a6a35cd-5c05-4df1-81bf-e40a1954c618latents-01a35dfd-b4bd-4901-8088-49972eac7582latents", - "type": "default" - }, - { - "source": "c9897be0-7f59-4388-816d-86cb72cc4036", - "sourceHandle": "unet", - "target": "9a6a35cd-5c05-4df1-81bf-e40a1954c618", - "targetHandle": "unet", - "id": "reactflow__edge-c9897be0-7f59-4388-816d-86cb72cc4036unet-9a6a35cd-5c05-4df1-81bf-e40a1954c618unet", - "type": "default" - }, - { - "source": "7c4e5071-5b76-4d42-b340-68b52c5ded7a", - "sourceHandle": "conditioning", - "target": "9a6a35cd-5c05-4df1-81bf-e40a1954c618", - "targetHandle": "negative_conditioning", - "id": "reactflow__edge-7c4e5071-5b76-4d42-b340-68b52c5ded7aconditioning-9a6a35cd-5c05-4df1-81bf-e40a1954c618negative_conditioning", - "type": "default" - }, - { - "source": "fb7e72d9-51cb-432a-b511-c6c608d07413", - "sourceHandle": "conditioning", - "target": "9a6a35cd-5c05-4df1-81bf-e40a1954c618", - "targetHandle": "positive_conditioning", - "id": "reactflow__edge-fb7e72d9-51cb-432a-b511-c6c608d07413conditioning-9a6a35cd-5c05-4df1-81bf-e40a1954c618positive_conditioning", - "type": "default" - }, - { - "source": "bcbdc4ea-1fad-40d4-8632-70f84116f4b6", - "sourceHandle": "denoise_mask", - "target": "9a6a35cd-5c05-4df1-81bf-e40a1954c618", - "targetHandle": "denoise_mask", - "id": "reactflow__edge-bcbdc4ea-1fad-40d4-8632-70f84116f4b6denoise_mask-9a6a35cd-5c05-4df1-81bf-e40a1954c618denoise_mask", - "type": "default" - }, - { - "source": "098898c8-7a20-4d78-9363-296d42e3d8da", - "sourceHandle": "noise", - "target": "9a6a35cd-5c05-4df1-81bf-e40a1954c618", - "targetHandle": "noise", - "id": "reactflow__edge-098898c8-7a20-4d78-9363-296d42e3d8danoise-9a6a35cd-5c05-4df1-81bf-e40a1954c618noise", - "type": "default" - }, - { - "source": "a6d08bcb-0b52-4dd8-9247-8b6480238c6d", - "sourceHandle": "latents", - "target": "9a6a35cd-5c05-4df1-81bf-e40a1954c618", - "targetHandle": "latents", - "id": "reactflow__edge-a6d08bcb-0b52-4dd8-9247-8b6480238c6dlatents-9a6a35cd-5c05-4df1-81bf-e40a1954c618latents", - "type": "default" - }, - { - "source": "98048fa7-dd08-49ec-92b8-76c9017e5444", - "sourceHandle": "image", - "target": "bcbdc4ea-1fad-40d4-8632-70f84116f4b6", - "targetHandle": "mask", - "id": "reactflow__edge-98048fa7-dd08-49ec-92b8-76c9017e5444image-bcbdc4ea-1fad-40d4-8632-70f84116f4b6mask", - "type": "default" - }, - { - "source": "894b9ca6-e7bc-428e-87e9-cce64095bce9", - "sourceHandle": "image", - "target": "a6d08bcb-0b52-4dd8-9247-8b6480238c6d", - "targetHandle": "image", - "id": "reactflow__edge-894b9ca6-e7bc-428e-87e9-cce64095bce9image-a6d08bcb-0b52-4dd8-9247-8b6480238c6dimage", - "type": "default" - }, - { - "source": "894b9ca6-e7bc-428e-87e9-cce64095bce9", - "sourceHandle": "image", - "target": "bcbdc4ea-1fad-40d4-8632-70f84116f4b6", - "targetHandle": "image", - "id": "reactflow__edge-894b9ca6-e7bc-428e-87e9-cce64095bce9image-bcbdc4ea-1fad-40d4-8632-70f84116f4b6image", - "type": "default" - }, - { - "source": "efea8306-de20-418f-806c-31ae4e5eb6bf", - "sourceHandle": "image", - "target": "894b9ca6-e7bc-428e-87e9-cce64095bce9", - "targetHandle": "image", - "id": "reactflow__edge-efea8306-de20-418f-806c-31ae4e5eb6bfimage-894b9ca6-e7bc-428e-87e9-cce64095bce9image", - "type": "default" - }, - { - "source": "efea8306-de20-418f-806c-31ae4e5eb6bf", - "sourceHandle": "image", - "target": "0c71919b-a030-44fb-8c09-1baf37088d20", - "targetHandle": "reference", - "id": "reactflow__edge-efea8306-de20-418f-806c-31ae4e5eb6bfimage-0c71919b-a030-44fb-8c09-1baf37088d20reference", - "type": "default" - }, - { - "source": "efea8306-de20-418f-806c-31ae4e5eb6bf", - "sourceHandle": "mask", - "target": "98048fa7-dd08-49ec-92b8-76c9017e5444", - "targetHandle": "image", - "id": "reactflow__edge-efea8306-de20-418f-806c-31ae4e5eb6bfmask-98048fa7-dd08-49ec-92b8-76c9017e5444image", - "type": "default" - }, - { - "source": "efea8306-de20-418f-806c-31ae4e5eb6bf", - "sourceHandle": "mask", - "target": "0c71919b-a030-44fb-8c09-1baf37088d20", - "targetHandle": "mask", - "id": "reactflow__edge-efea8306-de20-418f-806c-31ae4e5eb6bfmask-0c71919b-a030-44fb-8c09-1baf37088d20mask", - "type": "default" - }, - { - "source": "efea8306-de20-418f-806c-31ae4e5eb6bf", - "sourceHandle": "x", - "target": "4e11665c-b932-493d-ab4f-019bed730b47", - "targetHandle": "x", - "id": "reactflow__edge-efea8306-de20-418f-806c-31ae4e5eb6bfx-4e11665c-b932-493d-ab4f-019bed730b47x", - "type": "default" - }, - { - "source": "efea8306-de20-418f-806c-31ae4e5eb6bf", - "sourceHandle": "y", - "target": "4e11665c-b932-493d-ab4f-019bed730b47", - "targetHandle": "y", - "id": "reactflow__edge-efea8306-de20-418f-806c-31ae4e5eb6bfy-4e11665c-b932-493d-ab4f-019bed730b47y", - "type": "default" - }, - { - "source": "3fac3aa6-910a-4a90-a8b6-5b7e1611efba", - "sourceHandle": "image", - "target": "efea8306-de20-418f-806c-31ae4e5eb6bf", - "targetHandle": "image", - "id": "reactflow__edge-3fac3aa6-910a-4a90-a8b6-5b7e1611efbaimage-efea8306-de20-418f-806c-31ae4e5eb6bfimage", - "type": "default" - } - ] -} \ No newline at end of file diff --git a/docs/workflows/Face_Detailer_with_IP-Adapter_and_Canny.json b/docs/workflows/Face_Detailer_with_IP-Adapter_and_Canny.json deleted file mode 100644 index 6f392d6a7b5..00000000000 --- a/docs/workflows/Face_Detailer_with_IP-Adapter_and_Canny.json +++ /dev/null @@ -1,2930 +0,0 @@ -{ - "id": "972fc0e9-a13f-4658-86b9-aef100d124ba", - "name": "Face Detailer with IP-Adapter & Canny (See Note)", - "author": "kosmoskatten", - "description": "A workflow to add detail to and improve faces. This workflow is most effective when used with a model that creates realistic outputs. For best results, use this image as the blur mask: https://i.imgur.com/Gxi61zP.png", - "version": "1.0.0", - "contact": "invoke@invoke.ai", - "tags": "face detailer, IP-Adapter, Canny", - "notes": "", - "exposedFields": [ - { - "nodeId": "cdfa5ab0-b3e2-43ed-85bb-2ac4aa83bc05", - "fieldName": "value" - }, - { - "nodeId": "64712037-92e8-483f-9f6e-87588539c1b8", - "fieldName": "value" - }, - { - "nodeId": "77da4e4d-5778-4469-8449-ffed03d54bdb", - "fieldName": "radius" - }, - { - "nodeId": "f0de6c44-4515-4f79-bcc0-dee111bcfe31", - "fieldName": "value" - }, - { - "nodeId": "2c9bc2a6-6c03-4861-aad4-db884a7682f8", - "fieldName": "image" - }, - { - "nodeId": "c59e815c-1f3a-4e2b-b6b8-66f4b005e955", - "fieldName": "image" - } - ], - "meta": { - "category": "default", - "version": "2.0.0" - }, - "nodes": [ - { - "id": "44f2c190-eb03-460d-8d11-a94d13b33f19", - "type": "invocation", - "data": { - "id": "44f2c190-eb03-460d-8d11-a94d13b33f19", - "type": "compel", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "prompt": { - "id": "916b229a-38e1-45a2-a433-cca97495b143", - "name": "prompt", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "clip": { - "id": "ae9aeb1a-4ebd-4bc3-b6e6-a8c9adca01f6", - "name": "clip", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - } - }, - "outputs": { - "conditioning": { - "id": "4d59bad1-99a9-43e2-bdb4-7a0f3dd5b787", - "name": "conditioning", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - } - } - }, - "width": 320, - "height": 256, - "position": { - "x": 2575, - "y": -250 - } - }, - { - "id": "c59e815c-1f3a-4e2b-b6b8-66f4b005e955", - "type": "invocation", - "data": { - "id": "c59e815c-1f3a-4e2b-b6b8-66f4b005e955", - "type": "img_resize", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.2.0", - "nodePack": "invokeai", - "inputs": { - "metadata": { - "id": "48ff6f70-380c-4e19-acf7-91063cfff8a8", - "name": "metadata", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MetadataField" - } - }, - "image": { - "id": "2a348a03-07a3-4a97-93c8-46051045b32f", - "name": "image", - "fieldKind": "input", - "label": "Blur Mask", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "6b95969c-ca73-4b54-815d-7aae305a67bd", - "name": "width", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 512 - }, - "height": { - "id": "af83c526-c730-4a34-8f73-80f443fecc05", - "name": "height", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 512 - }, - "resample_mode": { - "id": "43f7d6b5-ebe0-43c4-bf5d-8fb7fdc40a3f", - "name": "resample_mode", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "EnumField" - }, - "value": "lanczos" - } - }, - "outputs": { - "image": { - "id": "e492b013-615d-4dfd-b0d8-7df7b5ba9a9d", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "05f829b3-c253-495a-b1ad-9906c0833e49", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "65d5d662-2527-4f3c-8a87-0a7d9d4486de", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 397, - "position": { - "x": 4675, - "y": 625 - } - }, - { - "id": "2c9bc2a6-6c03-4861-aad4-db884a7682f8", - "type": "invocation", - "data": { - "id": "2c9bc2a6-6c03-4861-aad4-db884a7682f8", - "type": "image", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "image": { - "id": "729c571b-d5a0-4b53-8f50-5e11eb744f66", - "name": "image", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - }, - "value": { - "image_name": "42a524fd-ed77-46e2-b52f-40375633f357.png" - } - } - }, - "outputs": { - "image": { - "id": "3632a144-58d6-4447-bafc-e4f7d6ca96bf", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "30faefcc-81a1-445b-a3fe-0110ceb56772", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "d173d225-849a-4498-a75d-ba17210dbd3e", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 489, - "position": { - "x": 2050, - "y": -75 - } - }, - { - "id": "9ae34718-a17d-401d-9859-086896c29fca", - "type": "invocation", - "data": { - "id": "9ae34718-a17d-401d-9859-086896c29fca", - "type": "face_off", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.2.0", - "nodePack": "invokeai", - "inputs": { - "metadata": { - "id": "0144d549-b04a-49c2-993f-9ecb2695191a", - "name": "metadata", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MetadataField" - } - }, - "image": { - "id": "9c580dec-a958-43a4-9aa0-7ab9491c56a0", - "name": "image", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "face_id": { - "id": "1ee762e1-810f-46f7-a591-ecd28abff85b", - "name": "face_id", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "minimum_confidence": { - "id": "74d2bae8-7ac5-4f8f-afb7-1efc76ed72a0", - "name": "minimum_confidence", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0.5 - }, - "x_offset": { - "id": "f1c1489d-cbbb-45d2-ba94-e150fc5ce24d", - "name": "x_offset", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0 - }, - "y_offset": { - "id": "6621377a-7e29-4841-aa47-aa7d438662f9", - "name": "y_offset", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0 - }, - "padding": { - "id": "0414c830-1be8-48cd-b0c8-6de10b099029", - "name": "padding", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 64 - }, - "chunk": { - "id": "22eba30a-c68a-4e5f-8f97-315830959b04", - "name": "chunk", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": false - } - }, - "outputs": { - "image": { - "id": "7d8fa807-0e9c-4d6a-a85a-388bd0cb5166", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "048361ca-314c-44a4-8b6e-ca4917e3468f", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "7b721071-63e5-4d54-9607-9fa2192163a8", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "mask": { - "id": "a9c6194a-3dbd-4b18-af04-a85a9498f04e", - "name": "mask", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "x": { - "id": "d072582c-2db5-430b-9e50-b50277baa7d5", - "name": "x", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "y": { - "id": "40624813-e55d-42d7-bc14-dea48ccfd9c8", - "name": "y", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 657, - "position": { - "x": 2575, - "y": 200 - } - }, - { - "id": "50a8db6a-3796-4522-8547-53275efa4e7d", - "type": "invocation", - "data": { - "id": "50a8db6a-3796-4522-8547-53275efa4e7d", - "type": "img_resize", - "label": "", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.2.0", - "nodePack": "invokeai", - "inputs": { - "metadata": { - "id": "6bf91925-e22e-4bcb-90e4-f8ac32ddff36", - "name": "metadata", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MetadataField" - } - }, - "image": { - "id": "65af3f4e-7a89-4df4-8ba9-377af1701d16", - "name": "image", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "1f036fee-77f3-480f-b690-089b27616ab8", - "name": "width", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 512 - }, - "height": { - "id": "0c703b6e-e91a-4cd7-8b9e-b97865f76793", - "name": "height", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 512 - }, - "resample_mode": { - "id": "ed77cf71-94cb-4da4-b536-75cb7aad8e54", - "name": "resample_mode", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "EnumField" - }, - "value": "lanczos" - } - }, - "outputs": { - "image": { - "id": "0d9e437b-6a08-45e1-9a55-ef03ae28e616", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "7c56c704-b4e5-410f-bb62-cd441ddb454f", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "45e12e17-7f25-46bd-a804-4384ec6b98cc", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 3000, - "y": 0 - } - }, - { - "id": "de8b1a48-a2e4-42ca-90bb-66058bffd534", - "type": "invocation", - "data": { - "id": "de8b1a48-a2e4-42ca-90bb-66058bffd534", - "type": "i2l", - "label": "", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "image": { - "id": "6c4d2827-4995-49d4-94ce-0ba0541d8839", - "name": "image", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "vae": { - "id": "9d6e3ab6-b6a4-45ac-ad75-0a96efba4c2f", - "name": "vae", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "VaeField" - } - }, - "tiled": { - "id": "9c258141-a75d-4ffd-bce5-f3fb3d90b720", - "name": "tiled", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": false - }, - "fp32": { - "id": "2235cc48-53c9-4e8a-a74a-ed41c61f2993", - "name": "fp32", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": true - } - }, - "outputs": { - "latents": { - "id": "8eb9293f-8f43-4c0c-b0fb-8c4db1200f87", - "name": "latents", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "width": { - "id": "ce493959-d308-423c-b0f5-db05912e0318", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "827bf290-94fb-455f-a970-f98ba8800eac", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 3100, - "y": -275 - } - }, - { - "id": "bd06261d-a74a-4d1f-8374-745ed6194bc2", - "type": "invocation", - "data": { - "id": "bd06261d-a74a-4d1f-8374-745ed6194bc2", - "type": "denoise_latents", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.5.0", - "nodePack": "invokeai", - "inputs": { - "positive_conditioning": { - "id": "673e4094-448b-4c59-ab05-d05b29b3e07f", - "name": "positive_conditioning", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - }, - "negative_conditioning": { - "id": "3b3bac27-7e8a-4c4e-8b5b-c5231125302a", - "name": "negative_conditioning", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - }, - "noise": { - "id": "d7c20d11-fbfb-4613-ba58-bf00307e53be", - "name": "noise", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "steps": { - "id": "e4af3bea-dae4-403f-8cec-6cb66fa888ce", - "name": "steps", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 80 - }, - "cfg_scale": { - "id": "9ec125bb-6819-4970-89fe-fe09e6b96885", - "name": "cfg_scale", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "FloatField" - }, - "value": 3 - }, - "denoising_start": { - "id": "7190b40d-9467-4238-b180-0d19065258e2", - "name": "denoising_start", - "fieldKind": "input", - "label": "Original Image Percent", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0.2 - }, - "denoising_end": { - "id": "c033f2d4-b60a-4a25-8a88-7852b556657a", - "name": "denoising_end", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 1 - }, - "scheduler": { - "id": "bb043b8a-a119-4b2a-bb88-8afb364bdcc1", - "name": "scheduler", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "SchedulerField" - }, - "value": "dpmpp_2m_sde_k" - }, - "unet": { - "id": "16d7688a-fc80-405c-aa55-a8ba2a1efecb", - "name": "unet", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "UNetField" - } - }, - "control": { - "id": "d0225ede-7d03-405d-b5b4-97c07d9b602b", - "name": "control", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "ControlField" - } - }, - "ip_adapter": { - "id": "6fbe0a17-6b85-4d3e-835d-0e23d3040bf4", - "name": "ip_adapter", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IPAdapterField" - } - }, - "t2i_adapter": { - "id": "2e4e1e6e-0278-47e3-a464-1a51760a9411", - "name": "t2i_adapter", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "T2IAdapterField" - } - }, - "cfg_rescale_multiplier": { - "id": "c9703a2e-4178-493c-90b9-81325a83a5ec", - "name": "cfg_rescale_multiplier", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0 - }, - "latents": { - "id": "b2527e78-6f55-4274-aaa0-8fef1c928faa", - "name": "latents", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "denoise_mask": { - "id": "cceec5a4-d3e9-4cff-a1e1-b5b62cb12588", - "name": "denoise_mask", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "DenoiseMaskField" - } - } - }, - "outputs": { - "latents": { - "id": "6eca0515-4357-40be-ac8d-f84eb927dc31", - "name": "latents", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "width": { - "id": "14453d1c-6202-4377-811c-88ac9c024e77", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "0e0e04dc-4158-4461-b0ba-6c6af16e863c", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 705, - "position": { - "x": 4597.554345564559, - "y": -265.6421598623905 - } - }, - { - "id": "35623411-ba3a-4eaa-91fd-1e0fda0a5b42", - "type": "invocation", - "data": { - "id": "35623411-ba3a-4eaa-91fd-1e0fda0a5b42", - "type": "noise", - "label": "", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.1", - "nodePack": "invokeai", - "inputs": { - "seed": { - "id": "c6b5bc5e-ef09-4f9c-870e-1110a0f5017f", - "name": "seed", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 123451234 - }, - "width": { - "id": "7bdd24b6-4f14-4d0a-b8fc-9b24145b4ba9", - "name": "width", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 512 - }, - "height": { - "id": "dc15bf97-b8d5-49c6-999b-798b33679418", - "name": "height", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 512 - }, - "use_cpu": { - "id": "00626297-19dd-4989-9688-e8d527c9eacf", - "name": "use_cpu", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": true - } - }, - "outputs": { - "noise": { - "id": "2915f8ae-0f6e-4f26-8541-0ebf477586b6", - "name": "noise", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "width": { - "id": "26587461-a24a-434d-9ae5-8d8f36fea221", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "335d08fc-8bf1-4393-8902-2c579f327b51", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 4025, - "y": -175 - } - }, - { - "id": "2224ed72-2453-4252-bd89-3085240e0b6f", - "type": "invocation", - "data": { - "id": "2224ed72-2453-4252-bd89-3085240e0b6f", - "type": "l2i", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": false, - "useCache": true, - "version": "1.2.0", - "nodePack": "invokeai", - "inputs": { - "metadata": { - "id": "2f077d6f-579e-4399-9986-3feabefa9ade", - "name": "metadata", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MetadataField" - } - }, - "latents": { - "id": "568a1537-dc7c-44f5-8a87-3571b0528b85", - "name": "latents", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "vae": { - "id": "392c3757-ad3a-46af-8d76-9724ca30aad8", - "name": "vae", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "VaeField" - } - }, - "tiled": { - "id": "90f98601-c05d-453e-878b-18e23cc222b4", - "name": "tiled", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": false - }, - "fp32": { - "id": "6be5cad7-dd41-4f83-98e7-124a6ad1728d", - "name": "fp32", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": true - } - }, - "outputs": { - "image": { - "id": "6f90a4f5-42dd-472a-8f30-403bcbc16531", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "4d1c8a66-35fc-40e9-a7a9-d8604a247d33", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "e668cfb3-aedc-4032-94c9-b8add1fbaacf", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 267, - "position": { - "x": 4980.1395106966565, - "y": -255.9158921745602 - } - }, - { - "id": "2974e5b3-3d41-4b6f-9953-cd21e8f3a323", - "type": "invocation", - "data": { - "id": "2974e5b3-3d41-4b6f-9953-cd21e8f3a323", - "type": "lscale", - "label": "", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "latents": { - "id": "79e8f073-ddc3-416e-b818-6ef8ec73cc07", - "name": "latents", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "scale_factor": { - "id": "23f78d24-72df-4bde-8d3c-8593ce507205", - "name": "scale_factor", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 1.5 - }, - "mode": { - "id": "4ab30c38-57d3-480d-8b34-918887e92340", - "name": "mode", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "EnumField" - }, - "value": "bilinear" - }, - "antialias": { - "id": "22b39171-0003-44f0-9c04-d241581d2a39", - "name": "antialias", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": true - } - }, - "outputs": { - "latents": { - "id": "f6d71aef-6251-4d51-afa8-f692a72bfd1f", - "name": "latents", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "width": { - "id": "8db4cf33-5489-4887-a5f6-5e926d959c40", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "74e1ec7c-50b6-4e97-a7b8-6602e6d78c08", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 3075, - "y": -175 - } - }, - { - "id": "a7d14545-aa09-4b96-bfc5-40c009af9110", - "type": "invocation", - "data": { - "id": "a7d14545-aa09-4b96-bfc5-40c009af9110", - "type": "img_paste", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": false, - "useCache": true, - "version": "1.2.0", - "nodePack": "invokeai", - "inputs": { - "metadata": { - "id": "159f5a3c-4b47-46dd-b8fe-450455ee3dcf", - "name": "metadata", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MetadataField" - } - }, - "base_image": { - "id": "445cfacf-5042-49ae-a63e-c19f21f90b1d", - "name": "base_image", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "image": { - "id": "c292948b-8efd-4f5c-909d-d902cfd1509a", - "name": "image", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "mask": { - "id": "8b7bc7e9-35b5-45bc-9b8c-e15e92ab4d74", - "name": "mask", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "x": { - "id": "0694ba58-07bc-470b-80b5-9c7a99b64607", - "name": "x", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "y": { - "id": "40f8b20b-f804-4ec2-9622-285726f7665f", - "name": "y", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "crop": { - "id": "8a09a132-c07e-4cfb-8ec2-7093dc063f99", - "name": "crop", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": false - } - }, - "outputs": { - "image": { - "id": "4a96ec78-d4b6-435f-b5a3-6366cbfcfba7", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "c1ee69c7-6ca0-4604-abc9-b859f4178421", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "6c198681-5f16-4526-8e37-0bf000962acd", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 504, - "position": { - "x": 6000, - "y": -200 - } - }, - { - "id": "ff8c23dc-da7c-45b7-b5c9-d984b12f02ef", - "type": "invocation", - "data": { - "id": "ff8c23dc-da7c-45b7-b5c9-d984b12f02ef", - "type": "img_resize", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.2.0", - "nodePack": "invokeai", - "inputs": { - "metadata": { - "id": "afbbb112-60e4-44c8-bdfd-30f48d58b236", - "name": "metadata", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MetadataField" - } - }, - "image": { - "id": "2a348a03-07a3-4a97-93c8-46051045b32f", - "name": "image", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "6b95969c-ca73-4b54-815d-7aae305a67bd", - "name": "width", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 512 - }, - "height": { - "id": "af83c526-c730-4a34-8f73-80f443fecc05", - "name": "height", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 512 - }, - "resample_mode": { - "id": "43f7d6b5-ebe0-43c4-bf5d-8fb7fdc40a3f", - "name": "resample_mode", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "EnumField" - }, - "value": "lanczos" - } - }, - "outputs": { - "image": { - "id": "e492b013-615d-4dfd-b0d8-7df7b5ba9a9d", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "05f829b3-c253-495a-b1ad-9906c0833e49", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "65d5d662-2527-4f3c-8a87-0a7d9d4486de", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 397, - "position": { - "x": 5500, - "y": -225 - } - }, - { - "id": "cdfa5ab0-b3e2-43ed-85bb-2ac4aa83bc05", - "type": "invocation", - "data": { - "id": "cdfa5ab0-b3e2-43ed-85bb-2ac4aa83bc05", - "type": "float", - "label": "", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "value": { - "id": "d5d8063d-44f6-4e20-b557-2f4ce093c7ef", - "name": "value", - "fieldKind": "input", - "label": "Orignal Image Percentage", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0.4 - } - }, - "outputs": { - "value": { - "id": "562416a4-0d75-48aa-835e-5e2d221dfbb7", - "name": "value", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 4025, - "y": -75 - } - }, - { - "id": "64712037-92e8-483f-9f6e-87588539c1b8", - "type": "invocation", - "data": { - "id": "64712037-92e8-483f-9f6e-87588539c1b8", - "type": "float", - "label": "CFG Main", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "value": { - "id": "750358d5-251d-4fe6-a673-2cde21995da2", - "name": "value", - "fieldKind": "input", - "label": "CFG Main", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 6 - } - }, - "outputs": { - "value": { - "id": "eea7f6d2-92e4-4581-b555-64a44fda2be9", - "name": "value", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 4025, - "y": 75 - } - }, - { - "id": "c865f39f-f830-4ed7-88a5-e935cfe050a9", - "type": "invocation", - "data": { - "id": "c865f39f-f830-4ed7-88a5-e935cfe050a9", - "type": "rand_int", - "label": "", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": false, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "low": { - "id": "31e29709-9f19-45b0-a2de-fdee29a50393", - "name": "low", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "high": { - "id": "d47d875c-509d-4fa3-9112-e335d3144a17", - "name": "high", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 2147483647 - } - }, - "outputs": { - "value": { - "id": "15b8d1ea-d2ac-4b3a-9619-57bba9a6da75", - "name": "value", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 4025, - "y": -275 - } - }, - { - "id": "76ea1e31-eabe-4080-935e-e74ce20e2805", - "type": "invocation", - "data": { - "id": "76ea1e31-eabe-4080-935e-e74ce20e2805", - "type": "main_model_loader", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "model": { - "id": "54e737f9-2547-4bd9-a607-733d02f0c990", - "name": "model", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MainModelField" - }, - "value": { - "model_name": "epicrealism_naturalSinRC1VAE", - "base_model": "sd-1", - "model_type": "main" - } - } - }, - "outputs": { - "unet": { - "id": "3483ea21-f0b3-4422-894b-36c5d7701365", - "name": "unet", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "UNetField" - } - }, - "clip": { - "id": "dddd055f-5c1b-4e61-977b-6393da9006fa", - "name": "clip", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - }, - "vae": { - "id": "879893b4-3415-4879-8dff-aa1727ef5e63", - "name": "vae", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "VaeField" - } - } - } - }, - "width": 320, - "height": 227, - "position": { - "x": 2050, - "y": -525 - } - }, - { - "id": "f4d15b64-c4a6-42a5-90fc-e4ed07a0ca65", - "type": "invocation", - "data": { - "id": "f4d15b64-c4a6-42a5-90fc-e4ed07a0ca65", - "type": "compel", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "prompt": { - "id": "916b229a-38e1-45a2-a433-cca97495b143", - "name": "prompt", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "clip": { - "id": "ae9aeb1a-4ebd-4bc3-b6e6-a8c9adca01f6", - "name": "clip", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - } - }, - "outputs": { - "conditioning": { - "id": "4d59bad1-99a9-43e2-bdb4-7a0f3dd5b787", - "name": "conditioning", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - } - } - }, - "width": 320, - "height": 256, - "position": { - "x": 2550, - "y": -525 - } - }, - { - "id": "22b750db-b85e-486b-b278-ac983e329813", - "type": "invocation", - "data": { - "id": "22b750db-b85e-486b-b278-ac983e329813", - "type": "ip_adapter", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.1.0", - "nodePack": "invokeai", - "inputs": { - "image": { - "id": "088a126c-ab1d-4c7a-879a-c1eea09eac8e", - "name": "image", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "ip_adapter_model": { - "id": "f2ac529f-f778-4a12-af12-0c7e449de17a", - "name": "ip_adapter_model", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IPAdapterModelField" - }, - "value": { - "model_name": "ip_adapter_plus_face_sd15", - "base_model": "sd-1" - } - }, - "weight": { - "id": "ddb4a7cb-607d-47e8-b46b-cc1be27ebde0", - "name": "weight", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0.5 - }, - "begin_step_percent": { - "id": "1807371f-b56c-4777-baa2-de71e21f0b80", - "name": "begin_step_percent", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0 - }, - "end_step_percent": { - "id": "4ea8e4dc-9cd7-445e-9b32-8934c652381b", - "name": "end_step_percent", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0.8 - } - }, - "outputs": { - "ip_adapter": { - "id": "739b5fed-d813-4611-8f87-1dded25a7619", - "name": "ip_adapter", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IPAdapterField" - } - } - } - }, - "width": 320, - "height": 396, - "position": { - "x": 3575, - "y": -200 - } - }, - { - "id": "f60b6161-8f26-42f6-89ff-545e6011e501", - "type": "invocation", - "data": { - "id": "f60b6161-8f26-42f6-89ff-545e6011e501", - "type": "controlnet", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.1.0", - "nodePack": "invokeai", - "inputs": { - "image": { - "id": "96434c75-abd8-4b73-ab82-0b358e4735bf", - "name": "image", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "control_model": { - "id": "21551ac2-ee50-4fe8-b06c-5be00680fb5c", - "name": "control_model", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ControlNetModelField" - }, - "value": { - "model_name": "canny", - "base_model": "sd-1" - } - }, - "control_weight": { - "id": "1dacac0a-b985-4bdf-b4b5-b960f4cff6ed", - "name": "control_weight", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "FloatField" - }, - "value": 0.5 - }, - "begin_step_percent": { - "id": "b2a3f128-7fc1-4c12-acc8-540f013c856b", - "name": "begin_step_percent", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0 - }, - "end_step_percent": { - "id": "0e701834-f7ba-4a6e-b9cb-6d4aff5dacd8", - "name": "end_step_percent", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0.5 - }, - "control_mode": { - "id": "f9a5f038-ae80-4b6e-8a48-362a2c858299", - "name": "control_mode", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "EnumField" - }, - "value": "balanced" - }, - "resize_mode": { - "id": "5369dd44-a708-4b66-8182-fea814d2a0ae", - "name": "resize_mode", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "EnumField" - }, - "value": "just_resize" - } - }, - "outputs": { - "control": { - "id": "f470a1af-7b68-4849-a144-02bc345fd810", - "name": "control", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ControlField" - } - } - } - }, - "width": 320, - "height": 511, - "position": { - "x": 3950, - "y": 150 - } - }, - { - "id": "8fe598c6-d447-44fa-a165-4975af77d080", - "type": "invocation", - "data": { - "id": "8fe598c6-d447-44fa-a165-4975af77d080", - "type": "canny_image_processor", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.2.0", - "nodePack": "invokeai", - "inputs": { - "metadata": { - "id": "855f4575-309a-4810-bd02-7c4a04e0efc8", - "name": "metadata", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MetadataField" - } - }, - "image": { - "id": "7d2695fa-a617-431a-bc0e-69ac7c061651", - "name": "image", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "low_threshold": { - "id": "ceb37a49-c989-4afa-abbf-49b6e52ef663", - "name": "low_threshold", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 100 - }, - "high_threshold": { - "id": "6ec118f8-ca6c-4be7-9951-6eee58afbc1b", - "name": "high_threshold", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 200 - } - }, - "outputs": { - "image": { - "id": "264bcaaf-d185-43ce-9e1a-b6f707140c0c", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "0d374d8e-d5c7-49be-9057-443e32e45048", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "fa892b68-6135-4598-a765-e79cd5c6e3f6", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 340, - "position": { - "x": 3519.4131037388597, - "y": 576.7946795840575 - } - }, - { - "id": "4bd4ae80-567f-4366-b8c6-3bb06f4fb46a", - "type": "invocation", - "data": { - "id": "4bd4ae80-567f-4366-b8c6-3bb06f4fb46a", - "type": "img_scale", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.2.0", - "nodePack": "invokeai", - "inputs": { - "metadata": { - "id": "46fc750e-7dda-4145-8f72-be88fb93f351", - "name": "metadata", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MetadataField" - } - }, - "image": { - "id": "f7f41bb3-9a5a-4022-b671-0acc2819f7c3", - "name": "image", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "scale_factor": { - "id": "1ae95574-f725-4cbc-bb78-4c9db240f78a", - "name": "scale_factor", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 1.5 - }, - "resample_mode": { - "id": "0756e37d-3d01-4c2c-9364-58e8978b04a2", - "name": "resample_mode", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "EnumField" - }, - "value": "bicubic" - } - }, - "outputs": { - "image": { - "id": "2729e697-cacc-4874-94bf-3aee5c18b5f9", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "d9551981-cbd3-419a-bcb9-5b50600e8c18", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "3355c99e-cdc6-473b-a7c6-a9d1dcc941e5", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 340, - "position": { - "x": 3079.916484101321, - "y": 151.0148192064986 - } - }, - { - "id": "381d5b6a-f044-48b0-bc07-6138fbfa8dfc", - "type": "invocation", - "data": { - "id": "381d5b6a-f044-48b0-bc07-6138fbfa8dfc", - "type": "mask_combine", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.2.0", - "nodePack": "invokeai", - "inputs": { - "metadata": { - "id": "061ea794-2494-429e-bfdd-5fbd2c7eeb99", - "name": "metadata", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MetadataField" - } - }, - "mask1": { - "id": "446c6c99-9cb5-4035-a452-ab586ef4ede9", - "name": "mask1", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "mask2": { - "id": "ebbe37b8-8bf3-4520-b6f5-631fe2d05d66", - "name": "mask2", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - } - }, - "outputs": { - "image": { - "id": "7c33cfae-ea9a-4572-91ca-40fc4112369f", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "7410c10c-3060-44a9-b399-43555c3e1156", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "3eb74c96-ae3e-4091-b027-703428244fdf", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 283, - "position": { - "x": 5450, - "y": 250 - } - }, - { - "id": "77da4e4d-5778-4469-8449-ffed03d54bdb", - "type": "invocation", - "data": { - "id": "77da4e4d-5778-4469-8449-ffed03d54bdb", - "type": "img_blur", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.2.0", - "nodePack": "invokeai", - "inputs": { - "metadata": { - "id": "755d4fa2-a520-4837-a3da-65e1f479e6e6", - "name": "metadata", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MetadataField" - } - }, - "image": { - "id": "a4786d7d-9593-4f5f-830b-d94bb0e42bca", - "name": "image", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "radius": { - "id": "e1c9afa0-4d41-4664-b560-e1e85f467267", - "name": "radius", - "fieldKind": "input", - "label": "Mask Blue", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 150 - }, - "blur_type": { - "id": "f6231886-0981-444b-bd26-24674f87e7cb", - "name": "blur_type", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "EnumField" - }, - "value": "gaussian" - } - }, - "outputs": { - "image": { - "id": "20c7bcfc-269d-4119-8b45-6c59dd4005d7", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "37e228ef-cb59-4477-b18f-343609d7bb4e", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "2de6080e-8bc3-42cd-bb8a-afd72f082df4", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 340, - "position": { - "x": 5000, - "y": 300 - } - }, - { - "id": "f0de6c44-4515-4f79-bcc0-dee111bcfe31", - "type": "invocation", - "data": { - "id": "f0de6c44-4515-4f79-bcc0-dee111bcfe31", - "type": "float", - "label": "Face Detail Scale", - "isOpen": false, - "notes": "The image is cropped to the face and scaled to 512x512. This value can scale even more. Best result with value between 1-2.\n\n1 = 512\n2 = 1024\n\n", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "value": { - "id": "9b51a26f-af3c-4caa-940a-5183234b1ed7", - "name": "value", - "fieldKind": "input", - "label": "Face Detail Scale", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 1.5 - } - }, - "outputs": { - "value": { - "id": "c7c87b77-c149-4e9c-8ed1-beb1ba013055", - "name": "value", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 2550, - "y": 125 - } - }, - { - "id": "a6482723-4e0a-4e40-98c0-b20622bf5f16", - "type": "invocation", - "data": { - "id": "a6482723-4e0a-4e40-98c0-b20622bf5f16", - "type": "face_mask_detection", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.2.0", - "inputs": { - "metadata": { - "id": "44e1fca6-3f06-4698-9562-6743c1f7a739", - "name": "metadata", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MetadataField" - } - }, - "image": { - "id": "65ba4653-8c35-403d-838b-ddac075e4118", - "name": "image", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "face_ids": { - "id": "630e86e5-3041-47c4-8864-b8ee71ec7da5", - "name": "face_ids", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "minimum_confidence": { - "id": "8c4aef57-90c6-4904-9113-7189db1357c9", - "name": "minimum_confidence", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0.5 - }, - "x_offset": { - "id": "2d409495-4aee-41e2-9688-f37fb6add537", - "name": "x_offset", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0 - }, - "y_offset": { - "id": "de3c1e68-6962-4520-b672-989afff1d2a1", - "name": "y_offset", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0 - }, - "chunk": { - "id": "9a11971a-0759-4782-902a-8300070d8861", - "name": "chunk", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": false - }, - "invert_mask": { - "id": "2abecba7-35d0-4cc4-9732-769e97d34c75", - "name": "invert_mask", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": false - } - }, - "outputs": { - "image": { - "id": "af33585c-5451-4738-b1da-7ff83afdfbf8", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "52cec0bd-d2e5-4514-8ebf-1c0d8bd1b81d", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "05edbbc8-99df-42e0-9b9b-de7b555e44cc", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "mask": { - "id": "cf928567-3e05-42dd-9591-0d3d942034f8", - "name": "mask", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - } - } - }, - "width": 320, - "height": 585, - "position": { - "x": 4300, - "y": 600 - } - } - ], - "edges": [ - { - "id": "50a8db6a-3796-4522-8547-53275efa4e7d-de8b1a48-a2e4-42ca-90bb-66058bffd534-collapsed", - "source": "50a8db6a-3796-4522-8547-53275efa4e7d", - "target": "de8b1a48-a2e4-42ca-90bb-66058bffd534", - "type": "collapsed" - }, - { - "id": "f0de6c44-4515-4f79-bcc0-dee111bcfe31-2974e5b3-3d41-4b6f-9953-cd21e8f3a323-collapsed", - "source": "f0de6c44-4515-4f79-bcc0-dee111bcfe31", - "target": "2974e5b3-3d41-4b6f-9953-cd21e8f3a323", - "type": "collapsed" - }, - { - "id": "de8b1a48-a2e4-42ca-90bb-66058bffd534-2974e5b3-3d41-4b6f-9953-cd21e8f3a323-collapsed", - "source": "de8b1a48-a2e4-42ca-90bb-66058bffd534", - "target": "2974e5b3-3d41-4b6f-9953-cd21e8f3a323", - "type": "collapsed" - }, - { - "id": "2974e5b3-3d41-4b6f-9953-cd21e8f3a323-35623411-ba3a-4eaa-91fd-1e0fda0a5b42-collapsed", - "source": "2974e5b3-3d41-4b6f-9953-cd21e8f3a323", - "target": "35623411-ba3a-4eaa-91fd-1e0fda0a5b42", - "type": "collapsed" - }, - { - "id": "c865f39f-f830-4ed7-88a5-e935cfe050a9-35623411-ba3a-4eaa-91fd-1e0fda0a5b42-collapsed", - "source": "c865f39f-f830-4ed7-88a5-e935cfe050a9", - "target": "35623411-ba3a-4eaa-91fd-1e0fda0a5b42", - "type": "collapsed" - }, - { - "id": "reactflow__edge-2c9bc2a6-6c03-4861-aad4-db884a7682f8image-9ae34718-a17d-401d-9859-086896c29fcaimage", - "source": "2c9bc2a6-6c03-4861-aad4-db884a7682f8", - "target": "9ae34718-a17d-401d-9859-086896c29fca", - "type": "default", - "sourceHandle": "image", - "targetHandle": "image" - }, - { - "id": "reactflow__edge-9ae34718-a17d-401d-9859-086896c29fcaimage-50a8db6a-3796-4522-8547-53275efa4e7dimage", - "source": "9ae34718-a17d-401d-9859-086896c29fca", - "target": "50a8db6a-3796-4522-8547-53275efa4e7d", - "type": "default", - "sourceHandle": "image", - "targetHandle": "image" - }, - { - "id": "reactflow__edge-35623411-ba3a-4eaa-91fd-1e0fda0a5b42noise-bd06261d-a74a-4d1f-8374-745ed6194bc2noise", - "source": "35623411-ba3a-4eaa-91fd-1e0fda0a5b42", - "target": "bd06261d-a74a-4d1f-8374-745ed6194bc2", - "type": "default", - "sourceHandle": "noise", - "targetHandle": "noise" - }, - { - "id": "reactflow__edge-de8b1a48-a2e4-42ca-90bb-66058bffd534latents-2974e5b3-3d41-4b6f-9953-cd21e8f3a323latents", - "source": "de8b1a48-a2e4-42ca-90bb-66058bffd534", - "target": "2974e5b3-3d41-4b6f-9953-cd21e8f3a323", - "type": "default", - "sourceHandle": "latents", - "targetHandle": "latents" - }, - { - "id": "reactflow__edge-2974e5b3-3d41-4b6f-9953-cd21e8f3a323latents-bd06261d-a74a-4d1f-8374-745ed6194bc2latents", - "source": "2974e5b3-3d41-4b6f-9953-cd21e8f3a323", - "target": "bd06261d-a74a-4d1f-8374-745ed6194bc2", - "type": "default", - "sourceHandle": "latents", - "targetHandle": "latents" - }, - { - "id": "reactflow__edge-2974e5b3-3d41-4b6f-9953-cd21e8f3a323width-35623411-ba3a-4eaa-91fd-1e0fda0a5b42width", - "source": "2974e5b3-3d41-4b6f-9953-cd21e8f3a323", - "target": "35623411-ba3a-4eaa-91fd-1e0fda0a5b42", - "type": "default", - "sourceHandle": "width", - "targetHandle": "width" - }, - { - "id": "reactflow__edge-2974e5b3-3d41-4b6f-9953-cd21e8f3a323height-35623411-ba3a-4eaa-91fd-1e0fda0a5b42height", - "source": "2974e5b3-3d41-4b6f-9953-cd21e8f3a323", - "target": "35623411-ba3a-4eaa-91fd-1e0fda0a5b42", - "type": "default", - "sourceHandle": "height", - "targetHandle": "height" - }, - { - "id": "reactflow__edge-2c9bc2a6-6c03-4861-aad4-db884a7682f8image-a7d14545-aa09-4b96-bfc5-40c009af9110base_image", - "source": "2c9bc2a6-6c03-4861-aad4-db884a7682f8", - "target": "a7d14545-aa09-4b96-bfc5-40c009af9110", - "type": "default", - "sourceHandle": "image", - "targetHandle": "base_image" - }, - { - "id": "reactflow__edge-2224ed72-2453-4252-bd89-3085240e0b6fimage-ff8c23dc-da7c-45b7-b5c9-d984b12f02efimage", - "source": "2224ed72-2453-4252-bd89-3085240e0b6f", - "target": "ff8c23dc-da7c-45b7-b5c9-d984b12f02ef", - "type": "default", - "sourceHandle": "image", - "targetHandle": "image" - }, - { - "id": "reactflow__edge-9ae34718-a17d-401d-9859-086896c29fcawidth-ff8c23dc-da7c-45b7-b5c9-d984b12f02efwidth", - "source": "9ae34718-a17d-401d-9859-086896c29fca", - "target": "ff8c23dc-da7c-45b7-b5c9-d984b12f02ef", - "type": "default", - "sourceHandle": "width", - "targetHandle": "width" - }, - { - "id": "reactflow__edge-9ae34718-a17d-401d-9859-086896c29fcaheight-ff8c23dc-da7c-45b7-b5c9-d984b12f02efheight", - "source": "9ae34718-a17d-401d-9859-086896c29fca", - "target": "ff8c23dc-da7c-45b7-b5c9-d984b12f02ef", - "type": "default", - "sourceHandle": "height", - "targetHandle": "height" - }, - { - "id": "reactflow__edge-9ae34718-a17d-401d-9859-086896c29fcax-a7d14545-aa09-4b96-bfc5-40c009af9110x", - "source": "9ae34718-a17d-401d-9859-086896c29fca", - "target": "a7d14545-aa09-4b96-bfc5-40c009af9110", - "type": "default", - "sourceHandle": "x", - "targetHandle": "x" - }, - { - "id": "reactflow__edge-9ae34718-a17d-401d-9859-086896c29fcay-a7d14545-aa09-4b96-bfc5-40c009af9110y", - "source": "9ae34718-a17d-401d-9859-086896c29fca", - "target": "a7d14545-aa09-4b96-bfc5-40c009af9110", - "type": "default", - "sourceHandle": "y", - "targetHandle": "y" - }, - { - "id": "reactflow__edge-50a8db6a-3796-4522-8547-53275efa4e7dimage-de8b1a48-a2e4-42ca-90bb-66058bffd534image", - "source": "50a8db6a-3796-4522-8547-53275efa4e7d", - "target": "de8b1a48-a2e4-42ca-90bb-66058bffd534", - "type": "default", - "sourceHandle": "image", - "targetHandle": "image" - }, - { - "id": "reactflow__edge-cdfa5ab0-b3e2-43ed-85bb-2ac4aa83bc05value-bd06261d-a74a-4d1f-8374-745ed6194bc2denoising_start", - "source": "cdfa5ab0-b3e2-43ed-85bb-2ac4aa83bc05", - "target": "bd06261d-a74a-4d1f-8374-745ed6194bc2", - "type": "default", - "sourceHandle": "value", - "targetHandle": "denoising_start" - }, - { - "id": "reactflow__edge-64712037-92e8-483f-9f6e-87588539c1b8value-bd06261d-a74a-4d1f-8374-745ed6194bc2cfg_scale", - "source": "64712037-92e8-483f-9f6e-87588539c1b8", - "target": "bd06261d-a74a-4d1f-8374-745ed6194bc2", - "type": "default", - "sourceHandle": "value", - "targetHandle": "cfg_scale" - }, - { - "id": "reactflow__edge-9ae34718-a17d-401d-9859-086896c29fcawidth-c59e815c-1f3a-4e2b-b6b8-66f4b005e955width", - "source": "9ae34718-a17d-401d-9859-086896c29fca", - "target": "c59e815c-1f3a-4e2b-b6b8-66f4b005e955", - "type": "default", - "sourceHandle": "width", - "targetHandle": "width" - }, - { - "id": "reactflow__edge-9ae34718-a17d-401d-9859-086896c29fcaheight-c59e815c-1f3a-4e2b-b6b8-66f4b005e955height", - "source": "9ae34718-a17d-401d-9859-086896c29fca", - "target": "c59e815c-1f3a-4e2b-b6b8-66f4b005e955", - "type": "default", - "sourceHandle": "height", - "targetHandle": "height" - }, - { - "id": "reactflow__edge-ff8c23dc-da7c-45b7-b5c9-d984b12f02efimage-a7d14545-aa09-4b96-bfc5-40c009af9110image", - "source": "ff8c23dc-da7c-45b7-b5c9-d984b12f02ef", - "target": "a7d14545-aa09-4b96-bfc5-40c009af9110", - "type": "default", - "sourceHandle": "image", - "targetHandle": "image" - }, - { - "id": "reactflow__edge-bd06261d-a74a-4d1f-8374-745ed6194bc2latents-2224ed72-2453-4252-bd89-3085240e0b6flatents", - "source": "bd06261d-a74a-4d1f-8374-745ed6194bc2", - "target": "2224ed72-2453-4252-bd89-3085240e0b6f", - "type": "default", - "sourceHandle": "latents", - "targetHandle": "latents" - }, - { - "id": "reactflow__edge-c865f39f-f830-4ed7-88a5-e935cfe050a9value-35623411-ba3a-4eaa-91fd-1e0fda0a5b42seed", - "source": "c865f39f-f830-4ed7-88a5-e935cfe050a9", - "target": "35623411-ba3a-4eaa-91fd-1e0fda0a5b42", - "type": "default", - "sourceHandle": "value", - "targetHandle": "seed" - }, - { - "id": "reactflow__edge-76ea1e31-eabe-4080-935e-e74ce20e2805clip-f4d15b64-c4a6-42a5-90fc-e4ed07a0ca65clip", - "source": "76ea1e31-eabe-4080-935e-e74ce20e2805", - "target": "f4d15b64-c4a6-42a5-90fc-e4ed07a0ca65", - "type": "default", - "sourceHandle": "clip", - "targetHandle": "clip" - }, - { - "id": "reactflow__edge-76ea1e31-eabe-4080-935e-e74ce20e2805vae-de8b1a48-a2e4-42ca-90bb-66058bffd534vae", - "source": "76ea1e31-eabe-4080-935e-e74ce20e2805", - "target": "de8b1a48-a2e4-42ca-90bb-66058bffd534", - "type": "default", - "sourceHandle": "vae", - "targetHandle": "vae" - }, - { - "id": "reactflow__edge-f4d15b64-c4a6-42a5-90fc-e4ed07a0ca65conditioning-bd06261d-a74a-4d1f-8374-745ed6194bc2positive_conditioning", - "source": "f4d15b64-c4a6-42a5-90fc-e4ed07a0ca65", - "target": "bd06261d-a74a-4d1f-8374-745ed6194bc2", - "type": "default", - "sourceHandle": "conditioning", - "targetHandle": "positive_conditioning" - }, - { - "id": "reactflow__edge-44f2c190-eb03-460d-8d11-a94d13b33f19conditioning-bd06261d-a74a-4d1f-8374-745ed6194bc2negative_conditioning", - "source": "44f2c190-eb03-460d-8d11-a94d13b33f19", - "target": "bd06261d-a74a-4d1f-8374-745ed6194bc2", - "type": "default", - "sourceHandle": "conditioning", - "targetHandle": "negative_conditioning" - }, - { - "id": "reactflow__edge-76ea1e31-eabe-4080-935e-e74ce20e2805unet-bd06261d-a74a-4d1f-8374-745ed6194bc2unet", - "source": "76ea1e31-eabe-4080-935e-e74ce20e2805", - "target": "bd06261d-a74a-4d1f-8374-745ed6194bc2", - "type": "default", - "sourceHandle": "unet", - "targetHandle": "unet" - }, - { - "id": "reactflow__edge-76ea1e31-eabe-4080-935e-e74ce20e2805vae-2224ed72-2453-4252-bd89-3085240e0b6fvae", - "source": "76ea1e31-eabe-4080-935e-e74ce20e2805", - "target": "2224ed72-2453-4252-bd89-3085240e0b6f", - "type": "default", - "sourceHandle": "vae", - "targetHandle": "vae" - }, - { - "id": "reactflow__edge-76ea1e31-eabe-4080-935e-e74ce20e2805clip-44f2c190-eb03-460d-8d11-a94d13b33f19clip", - "source": "76ea1e31-eabe-4080-935e-e74ce20e2805", - "target": "44f2c190-eb03-460d-8d11-a94d13b33f19", - "type": "default", - "sourceHandle": "clip", - "targetHandle": "clip" - }, - { - "id": "reactflow__edge-22b750db-b85e-486b-b278-ac983e329813ip_adapter-bd06261d-a74a-4d1f-8374-745ed6194bc2ip_adapter", - "source": "22b750db-b85e-486b-b278-ac983e329813", - "target": "bd06261d-a74a-4d1f-8374-745ed6194bc2", - "type": "default", - "sourceHandle": "ip_adapter", - "targetHandle": "ip_adapter" - }, - { - "id": "reactflow__edge-50a8db6a-3796-4522-8547-53275efa4e7dimage-4bd4ae80-567f-4366-b8c6-3bb06f4fb46aimage", - "source": "50a8db6a-3796-4522-8547-53275efa4e7d", - "target": "4bd4ae80-567f-4366-b8c6-3bb06f4fb46a", - "type": "default", - "sourceHandle": "image", - "targetHandle": "image" - }, - { - "id": "reactflow__edge-4bd4ae80-567f-4366-b8c6-3bb06f4fb46aimage-22b750db-b85e-486b-b278-ac983e329813image", - "source": "4bd4ae80-567f-4366-b8c6-3bb06f4fb46a", - "target": "22b750db-b85e-486b-b278-ac983e329813", - "type": "default", - "sourceHandle": "image", - "targetHandle": "image" - }, - { - "id": "reactflow__edge-8fe598c6-d447-44fa-a165-4975af77d080image-f60b6161-8f26-42f6-89ff-545e6011e501image", - "source": "8fe598c6-d447-44fa-a165-4975af77d080", - "target": "f60b6161-8f26-42f6-89ff-545e6011e501", - "type": "default", - "sourceHandle": "image", - "targetHandle": "image" - }, - { - "id": "reactflow__edge-4bd4ae80-567f-4366-b8c6-3bb06f4fb46aimage-8fe598c6-d447-44fa-a165-4975af77d080image", - "source": "4bd4ae80-567f-4366-b8c6-3bb06f4fb46a", - "target": "8fe598c6-d447-44fa-a165-4975af77d080", - "type": "default", - "sourceHandle": "image", - "targetHandle": "image" - }, - { - "id": "reactflow__edge-f60b6161-8f26-42f6-89ff-545e6011e501control-bd06261d-a74a-4d1f-8374-745ed6194bc2control", - "source": "f60b6161-8f26-42f6-89ff-545e6011e501", - "target": "bd06261d-a74a-4d1f-8374-745ed6194bc2", - "type": "default", - "sourceHandle": "control", - "targetHandle": "control" - }, - { - "id": "reactflow__edge-c59e815c-1f3a-4e2b-b6b8-66f4b005e955image-381d5b6a-f044-48b0-bc07-6138fbfa8dfcmask2", - "source": "c59e815c-1f3a-4e2b-b6b8-66f4b005e955", - "target": "381d5b6a-f044-48b0-bc07-6138fbfa8dfc", - "type": "default", - "sourceHandle": "image", - "targetHandle": "mask2" - }, - { - "id": "reactflow__edge-381d5b6a-f044-48b0-bc07-6138fbfa8dfcimage-a7d14545-aa09-4b96-bfc5-40c009af9110mask", - "source": "381d5b6a-f044-48b0-bc07-6138fbfa8dfc", - "target": "a7d14545-aa09-4b96-bfc5-40c009af9110", - "type": "default", - "sourceHandle": "image", - "targetHandle": "mask" - }, - { - "id": "reactflow__edge-77da4e4d-5778-4469-8449-ffed03d54bdbimage-381d5b6a-f044-48b0-bc07-6138fbfa8dfcmask1", - "source": "77da4e4d-5778-4469-8449-ffed03d54bdb", - "target": "381d5b6a-f044-48b0-bc07-6138fbfa8dfc", - "type": "default", - "sourceHandle": "image", - "targetHandle": "mask1" - }, - { - "id": "reactflow__edge-9ae34718-a17d-401d-9859-086896c29fcamask-77da4e4d-5778-4469-8449-ffed03d54bdbimage", - "source": "9ae34718-a17d-401d-9859-086896c29fca", - "target": "77da4e4d-5778-4469-8449-ffed03d54bdb", - "type": "default", - "sourceHandle": "mask", - "targetHandle": "image" - }, - { - "id": "reactflow__edge-f0de6c44-4515-4f79-bcc0-dee111bcfe31value-2974e5b3-3d41-4b6f-9953-cd21e8f3a323scale_factor", - "source": "f0de6c44-4515-4f79-bcc0-dee111bcfe31", - "target": "2974e5b3-3d41-4b6f-9953-cd21e8f3a323", - "type": "default", - "sourceHandle": "value", - "targetHandle": "scale_factor" - }, - { - "id": "reactflow__edge-f0de6c44-4515-4f79-bcc0-dee111bcfe31value-4bd4ae80-567f-4366-b8c6-3bb06f4fb46ascale_factor", - "source": "f0de6c44-4515-4f79-bcc0-dee111bcfe31", - "target": "4bd4ae80-567f-4366-b8c6-3bb06f4fb46a", - "type": "default", - "sourceHandle": "value", - "targetHandle": "scale_factor" - }, - { - "id": "reactflow__edge-2c9bc2a6-6c03-4861-aad4-db884a7682f8image-a6482723-4e0a-4e40-98c0-b20622bf5f16image", - "source": "2c9bc2a6-6c03-4861-aad4-db884a7682f8", - "target": "a6482723-4e0a-4e40-98c0-b20622bf5f16", - "type": "default", - "sourceHandle": "image", - "targetHandle": "image" - }, - { - "id": "reactflow__edge-a6482723-4e0a-4e40-98c0-b20622bf5f16image-c59e815c-1f3a-4e2b-b6b8-66f4b005e955image", - "source": "a6482723-4e0a-4e40-98c0-b20622bf5f16", - "target": "c59e815c-1f3a-4e2b-b6b8-66f4b005e955", - "type": "default", - "sourceHandle": "image", - "targetHandle": "image" - } - ] -} \ No newline at end of file diff --git a/docs/workflows/Multi_ControlNet_Canny_and_Depth.json b/docs/workflows/Multi_ControlNet_Canny_and_Depth.json deleted file mode 100644 index 70dc2047725..00000000000 --- a/docs/workflows/Multi_ControlNet_Canny_and_Depth.json +++ /dev/null @@ -1,1480 +0,0 @@ -{ - "id": "1e385b84-86f8-452e-9697-9e5abed20518", - "name": "Multi ControlNet (Canny & Depth)", - "author": "InvokeAI", - "description": "A sample workflow using canny & depth ControlNets to guide the generation process. ", - "version": "1.0.0", - "contact": "invoke@invoke.ai", - "tags": "ControlNet, canny, depth", - "notes": "", - "exposedFields": [ - { - "nodeId": "54486974-835b-4d81-8f82-05f9f32ce9e9", - "fieldName": "model" - }, - { - "nodeId": "7ce68934-3419-42d4-ac70-82cfc9397306", - "fieldName": "prompt" - }, - { - "nodeId": "273e3f96-49ea-4dc5-9d5b-9660390f14e1", - "fieldName": "prompt" - }, - { - "nodeId": "c4b23e64-7986-40c4-9cad-46327b12e204", - "fieldName": "image" - }, - { - "nodeId": "8e860e51-5045-456e-bf04-9a62a2a5c49e", - "fieldName": "image" - } - ], - "meta": { - "category": "default", - "version": "2.0.0" - }, - "nodes": [ - { - "id": "8e860e51-5045-456e-bf04-9a62a2a5c49e", - "type": "invocation", - "data": { - "id": "8e860e51-5045-456e-bf04-9a62a2a5c49e", - "type": "image", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "image": { - "id": "189c8adf-68cc-4774-a729-49da89f6fdf1", - "name": "image", - "fieldKind": "input", - "label": "Depth Input Image", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - } - }, - "outputs": { - "image": { - "id": "1a31cacd-9d19-4f32-b558-c5e4aa39ce73", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "12f298fd-1d11-4cca-9426-01240f7ec7cf", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "c47dabcb-44e8-40c9-992d-81dca59f598e", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 225, - "position": { - "x": 3625, - "y": -75 - } - }, - { - "id": "a33199c2-8340-401e-b8a2-42ffa875fc1c", - "type": "invocation", - "data": { - "id": "a33199c2-8340-401e-b8a2-42ffa875fc1c", - "type": "controlnet", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.1.0", - "nodePack": "invokeai", - "inputs": { - "image": { - "id": "4e0a3172-d3c2-4005-a84c-fa12a404f8a0", - "name": "image", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "control_model": { - "id": "8cb2d998-4086-430a-8b13-94cbc81e3ca3", - "name": "control_model", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ControlNetModelField" - }, - "value": { - "model_name": "depth", - "base_model": "sd-1" - } - }, - "control_weight": { - "id": "5e32bd8a-9dc8-42d8-9bcc-c2b0460c0b0f", - "name": "control_weight", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "FloatField" - }, - "value": 1 - }, - "begin_step_percent": { - "id": "c258a276-352a-416c-8358-152f11005c0c", - "name": "begin_step_percent", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0 - }, - "end_step_percent": { - "id": "43001125-0d70-4f87-8e79-da6603ad6c33", - "name": "end_step_percent", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 1 - }, - "control_mode": { - "id": "d2f14561-9443-4374-9270-e2f05007944e", - "name": "control_mode", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "EnumField" - }, - "value": "balanced" - }, - "resize_mode": { - "id": "727ee7d3-8bf6-4c7d-8b8a-43546b3b59cd", - "name": "resize_mode", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "EnumField" - }, - "value": "just_resize" - } - }, - "outputs": { - "control": { - "id": "b034aa0f-4d0d-46e4-b5e3-e25a9588d087", - "name": "control", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ControlField" - } - } - } - }, - "width": 320, - "height": 511, - "position": { - "x": 4477.604342844504, - "y": -49.39005411272677 - } - }, - { - "id": "273e3f96-49ea-4dc5-9d5b-9660390f14e1", - "type": "invocation", - "data": { - "id": "273e3f96-49ea-4dc5-9d5b-9660390f14e1", - "type": "compel", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "prompt": { - "id": "7c2c4771-2161-4d77-aced-ff8c4b3f1c15", - "name": "prompt", - "fieldKind": "input", - "label": "Negative Prompt", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "clip": { - "id": "06d59e91-9cca-411d-bf05-86b099b3e8f7", - "name": "clip", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - } - }, - "outputs": { - "conditioning": { - "id": "858bc33c-134c-4bf6-8855-f943e1d26f14", - "name": "conditioning", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - } - } - }, - "width": 320, - "height": 256, - "position": { - "x": 4075, - "y": -825 - } - }, - { - "id": "54486974-835b-4d81-8f82-05f9f32ce9e9", - "type": "invocation", - "data": { - "id": "54486974-835b-4d81-8f82-05f9f32ce9e9", - "type": "main_model_loader", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "model": { - "id": "f4a915a5-593e-4b6d-9198-c78eb5cefaed", - "name": "model", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MainModelField" - }, - "value": { - "model_name": "stable-diffusion-v1-5", - "base_model": "sd-1", - "model_type": "main" - } - } - }, - "outputs": { - "unet": { - "id": "ee24fb16-da38-4c66-9fbc-e8f296ed40d2", - "name": "unet", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "UNetField" - } - }, - "clip": { - "id": "f3fb0524-8803-41c1-86db-a61a13ee6a33", - "name": "clip", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - }, - "vae": { - "id": "5c4878a8-b40f-44ab-b146-1c1f42c860b3", - "name": "vae", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "VaeField" - } - } - } - }, - "width": 320, - "height": 227, - "position": { - "x": 3600, - "y": -1000 - } - }, - { - "id": "7ce68934-3419-42d4-ac70-82cfc9397306", - "type": "invocation", - "data": { - "id": "7ce68934-3419-42d4-ac70-82cfc9397306", - "type": "compel", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "prompt": { - "id": "7c2c4771-2161-4d77-aced-ff8c4b3f1c15", - "name": "prompt", - "fieldKind": "input", - "label": "Positive Prompt", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "clip": { - "id": "06d59e91-9cca-411d-bf05-86b099b3e8f7", - "name": "clip", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - } - }, - "outputs": { - "conditioning": { - "id": "858bc33c-134c-4bf6-8855-f943e1d26f14", - "name": "conditioning", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - } - } - }, - "width": 320, - "height": 256, - "position": { - "x": 4075, - "y": -1125 - } - }, - { - "id": "d204d184-f209-4fae-a0a1-d152800844e1", - "type": "invocation", - "data": { - "id": "d204d184-f209-4fae-a0a1-d152800844e1", - "type": "controlnet", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.1.0", - "nodePack": "invokeai", - "inputs": { - "image": { - "id": "4e0a3172-d3c2-4005-a84c-fa12a404f8a0", - "name": "image", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "control_model": { - "id": "8cb2d998-4086-430a-8b13-94cbc81e3ca3", - "name": "control_model", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ControlNetModelField" - }, - "value": { - "model_name": "canny", - "base_model": "sd-1" - } - }, - "control_weight": { - "id": "5e32bd8a-9dc8-42d8-9bcc-c2b0460c0b0f", - "name": "control_weight", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "FloatField" - }, - "value": 1 - }, - "begin_step_percent": { - "id": "c258a276-352a-416c-8358-152f11005c0c", - "name": "begin_step_percent", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0 - }, - "end_step_percent": { - "id": "43001125-0d70-4f87-8e79-da6603ad6c33", - "name": "end_step_percent", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 1 - }, - "control_mode": { - "id": "d2f14561-9443-4374-9270-e2f05007944e", - "name": "control_mode", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "EnumField" - }, - "value": "balanced" - }, - "resize_mode": { - "id": "727ee7d3-8bf6-4c7d-8b8a-43546b3b59cd", - "name": "resize_mode", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "EnumField" - }, - "value": "just_resize" - } - }, - "outputs": { - "control": { - "id": "b034aa0f-4d0d-46e4-b5e3-e25a9588d087", - "name": "control", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ControlField" - } - } - } - }, - "width": 320, - "height": 511, - "position": { - "x": 4479.68542130465, - "y": -618.4221638099414 - } - }, - { - "id": "c4b23e64-7986-40c4-9cad-46327b12e204", - "type": "invocation", - "data": { - "id": "c4b23e64-7986-40c4-9cad-46327b12e204", - "type": "image", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "image": { - "id": "189c8adf-68cc-4774-a729-49da89f6fdf1", - "name": "image", - "fieldKind": "input", - "label": "Canny Input Image", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - } - }, - "outputs": { - "image": { - "id": "1a31cacd-9d19-4f32-b558-c5e4aa39ce73", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "12f298fd-1d11-4cca-9426-01240f7ec7cf", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "c47dabcb-44e8-40c9-992d-81dca59f598e", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 225, - "position": { - "x": 3625, - "y": -425 - } - }, - { - "id": "ca4d5059-8bfb-447f-b415-da0faba5a143", - "type": "invocation", - "data": { - "id": "ca4d5059-8bfb-447f-b415-da0faba5a143", - "type": "collect", - "label": "ControlNet Collection", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "inputs": { - "item": { - "id": "b16ae602-8708-4b1b-8d4f-9e0808d429ab", - "name": "item", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "CollectionItemField" - } - } - }, - "outputs": { - "collection": { - "id": "d8987dd8-dec8-4d94-816a-3e356af29884", - "name": "collection", - "fieldKind": "output", - "type": { - "isCollection": true, - "isCollectionOrScalar": false, - "name": "CollectionField" - } - } - } - }, - "width": 320, - "height": 104, - "position": { - "x": 4875, - "y": -575 - } - }, - { - "id": "018b1214-c2af-43a7-9910-fb687c6726d7", - "type": "invocation", - "data": { - "id": "018b1214-c2af-43a7-9910-fb687c6726d7", - "type": "midas_depth_image_processor", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.2.0", - "nodePack": "invokeai", - "inputs": { - "metadata": { - "id": "77f91980-c696-4a18-a9ea-6e2fc329a747", - "name": "metadata", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MetadataField" - } - }, - "image": { - "id": "50710a20-2af5-424d-9d17-aa08167829c6", - "name": "image", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "a_mult": { - "id": "f3b26f9d-2498-415e-9c01-197a8d06c0a5", - "name": "a_mult", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 2 - }, - "bg_th": { - "id": "4b1eb3ae-9d4a-47d6-b0ed-da62501e007f", - "name": "bg_th", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0.1 - } - }, - "outputs": { - "image": { - "id": "b4ed637c-c4a0-4fdd-a24e-36d6412e4ccf", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "6bf9b609-d72c-4239-99bd-390a73cc3a9c", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "3e8aef09-cf44-4e3e-a490-d3c9e7b23119", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 340, - "position": { - "x": 4100, - "y": -75 - } - }, - { - "id": "c826ba5e-9676-4475-b260-07b85e88753c", - "type": "invocation", - "data": { - "id": "c826ba5e-9676-4475-b260-07b85e88753c", - "type": "canny_image_processor", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.2.0", - "nodePack": "invokeai", - "inputs": { - "metadata": { - "id": "08331ea6-99df-4e61-a919-204d9bfa8fb2", - "name": "metadata", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MetadataField" - } - }, - "image": { - "id": "33a37284-06ac-459c-ba93-1655e4f69b2d", - "name": "image", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "low_threshold": { - "id": "21ec18a3-50c5-4ba1-9642-f921744d594f", - "name": "low_threshold", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 100 - }, - "high_threshold": { - "id": "ebeab271-a5ff-4c88-acfd-1d0271ab6ed4", - "name": "high_threshold", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 200 - } - }, - "outputs": { - "image": { - "id": "c0caadbf-883f-4cb4-a62d-626b9c81fc4e", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "df225843-8098-49c0-99d1-3b0b6600559f", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "e4abe0de-aa16-41f3-9cd7-968b49db5da3", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 340, - "position": { - "x": 4095.757337055795, - "y": -455.63440891935863 - } - }, - { - "id": "9db25398-c869-4a63-8815-c6559341ef12", - "type": "invocation", - "data": { - "id": "9db25398-c869-4a63-8815-c6559341ef12", - "type": "l2i", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": false, - "useCache": true, - "version": "1.2.0", - "nodePack": "invokeai", - "inputs": { - "metadata": { - "id": "2f269793-72e5-4ff3-b76c-fab4f93e983f", - "name": "metadata", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MetadataField" - } - }, - "latents": { - "id": "4aaedd3b-cc77-420c-806e-c7fa74ec4cdf", - "name": "latents", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "vae": { - "id": "432b066a-2462-4d18-83d9-64620b72df45", - "name": "vae", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "VaeField" - } - }, - "tiled": { - "id": "61f86e0f-7c46-40f8-b3f5-fe2f693595ca", - "name": "tiled", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": false - }, - "fp32": { - "id": "39b6c89a-37ef-4a7e-9509-daeca49d5092", - "name": "fp32", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": false - } - }, - "outputs": { - "image": { - "id": "6204e9b0-61dd-4250-b685-2092ba0e28e6", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "b4140649-8d5d-4d2d-bfa6-09e389ede5f9", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "f3a0c0c8-fc24-4646-8be1-ed8cdd140828", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 267, - "position": { - "x": 5675, - "y": -825 - } - }, - { - "id": "ac481b7f-08bf-4a9d-9e0c-3a82ea5243ce", - "type": "invocation", - "data": { - "id": "ac481b7f-08bf-4a9d-9e0c-3a82ea5243ce", - "type": "denoise_latents", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.5.0", - "nodePack": "invokeai", - "inputs": { - "positive_conditioning": { - "id": "869cd309-c238-444b-a1a0-5021f99785ba", - "name": "positive_conditioning", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - }, - "negative_conditioning": { - "id": "343447b4-1e37-4e9e-8ac7-4d04864066af", - "name": "negative_conditioning", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - }, - "noise": { - "id": "b556571e-0cf9-4e03-8cfc-5caad937d957", - "name": "noise", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "steps": { - "id": "a3b3d2de-9308-423e-b00d-c209c3e6e808", - "name": "steps", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 10 - }, - "cfg_scale": { - "id": "b13c50a4-ec7e-4579-b0ef-2fe5df2605ea", - "name": "cfg_scale", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "FloatField" - }, - "value": 7.5 - }, - "denoising_start": { - "id": "57d5d755-f58f-4347-b991-f0bca4a0ab29", - "name": "denoising_start", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0 - }, - "denoising_end": { - "id": "323e78a6-880a-4d73-a62c-70faff965aa6", - "name": "denoising_end", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 1 - }, - "scheduler": { - "id": "c25fdc17-a089-43ac-953e-067c45d5c76b", - "name": "scheduler", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "SchedulerField" - }, - "value": "euler" - }, - "unet": { - "id": "6cde662b-e633-4569-b6b4-ec87c52c9c11", - "name": "unet", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "UNetField" - } - }, - "control": { - "id": "276a4df9-bb26-4505-a4d3-a94e18c7b541", - "name": "control", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "ControlField" - } - }, - "ip_adapter": { - "id": "48d40c51-b5e2-4457-a428-eef0696695e8", - "name": "ip_adapter", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "IPAdapterField" - } - }, - "t2i_adapter": { - "id": "75dd8af2-e7d7-48b4-a574-edd9f6e686ad", - "name": "t2i_adapter", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "T2IAdapterField" - } - }, - "cfg_rescale_multiplier": { - "id": "b90460cf-d0c9-4676-8909-2e8e22dc8ee5", - "name": "cfg_rescale_multiplier", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0 - }, - "latents": { - "id": "9223d67b-1dd7-4b34-a45f-ed0a725d9702", - "name": "latents", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "denoise_mask": { - "id": "4ee99177-6923-4b7f-8fe0-d721dd7cb05b", - "name": "denoise_mask", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "DenoiseMaskField" - } - } - }, - "outputs": { - "latents": { - "id": "7fb4e326-a974-43e8-9ee7-2e3ab235819d", - "name": "latents", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "width": { - "id": "6bb8acd0-8973-4195-a095-e376385dc705", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "795dea52-1c7d-4e64-99f7-2f60ec6e3ab9", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 705, - "position": { - "x": 5274.672987098195, - "y": -823.0752416664332 - } - }, - { - "id": "2e77a0a1-db6a-47a2-a8bf-1e003be6423b", - "type": "invocation", - "data": { - "id": "2e77a0a1-db6a-47a2-a8bf-1e003be6423b", - "type": "noise", - "label": "", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.1", - "inputs": { - "seed": { - "id": "96d7667a-9c56-4fb4-99db-868e2f08e874", - "name": "seed", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "width": { - "id": "1ce644ea-c9bf-48c5-9822-bdec0d2895c5", - "name": "width", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 512 - }, - "height": { - "id": "26d68b53-8a04-4db7-b0f8-57c9bddc0e49", - "name": "height", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 512 - }, - "use_cpu": { - "id": "cf8fb92e-2a8e-4cd5-baf5-4011e0ddfa22", - "name": "use_cpu", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": true - } - }, - "outputs": { - "noise": { - "id": "d9cb9305-6b3a-49a9-b27c-00fb3a58b85c", - "name": "noise", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "width": { - "id": "4ff28d00-ceee-42b8-90e7-f5e5a518376d", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "a6314b9c-346a-4aa6-9260-626ed46c060a", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 4875, - "y": -675 - } - }, - { - "id": "8b260b4d-3fd6-44d4-b1be-9f0e43c628ce", - "type": "invocation", - "data": { - "id": "8b260b4d-3fd6-44d4-b1be-9f0e43c628ce", - "type": "rand_int", - "label": "", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": false, - "version": "1.0.0", - "inputs": { - "low": { - "id": "a190ad12-a6bd-499b-a82a-100e09fe9aa4", - "name": "low", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "high": { - "id": "a085063f-b9ba-46f2-a21b-c46c321949aa", - "name": "high", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 2147483647 - } - }, - "outputs": { - "value": { - "id": "a15aff56-4874-47fe-be32-d66745ed2ab5", - "name": "value", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 4875, - "y": -750 - } - } - ], - "edges": [ - { - "id": "8b260b4d-3fd6-44d4-b1be-9f0e43c628ce-2e77a0a1-db6a-47a2-a8bf-1e003be6423b-collapsed", - "source": "8b260b4d-3fd6-44d4-b1be-9f0e43c628ce", - "target": "2e77a0a1-db6a-47a2-a8bf-1e003be6423b", - "type": "collapsed" - }, - { - "id": "reactflow__edge-54486974-835b-4d81-8f82-05f9f32ce9e9clip-7ce68934-3419-42d4-ac70-82cfc9397306clip", - "source": "54486974-835b-4d81-8f82-05f9f32ce9e9", - "target": "7ce68934-3419-42d4-ac70-82cfc9397306", - "type": "default", - "sourceHandle": "clip", - "targetHandle": "clip" - }, - { - "id": "reactflow__edge-54486974-835b-4d81-8f82-05f9f32ce9e9clip-273e3f96-49ea-4dc5-9d5b-9660390f14e1clip", - "source": "54486974-835b-4d81-8f82-05f9f32ce9e9", - "target": "273e3f96-49ea-4dc5-9d5b-9660390f14e1", - "type": "default", - "sourceHandle": "clip", - "targetHandle": "clip" - }, - { - "id": "reactflow__edge-a33199c2-8340-401e-b8a2-42ffa875fc1ccontrol-ca4d5059-8bfb-447f-b415-da0faba5a143item", - "source": "a33199c2-8340-401e-b8a2-42ffa875fc1c", - "target": "ca4d5059-8bfb-447f-b415-da0faba5a143", - "type": "default", - "sourceHandle": "control", - "targetHandle": "item" - }, - { - "id": "reactflow__edge-d204d184-f209-4fae-a0a1-d152800844e1control-ca4d5059-8bfb-447f-b415-da0faba5a143item", - "source": "d204d184-f209-4fae-a0a1-d152800844e1", - "target": "ca4d5059-8bfb-447f-b415-da0faba5a143", - "type": "default", - "sourceHandle": "control", - "targetHandle": "item" - }, - { - "id": "reactflow__edge-8e860e51-5045-456e-bf04-9a62a2a5c49eimage-018b1214-c2af-43a7-9910-fb687c6726d7image", - "source": "8e860e51-5045-456e-bf04-9a62a2a5c49e", - "target": "018b1214-c2af-43a7-9910-fb687c6726d7", - "type": "default", - "sourceHandle": "image", - "targetHandle": "image" - }, - { - "id": "reactflow__edge-018b1214-c2af-43a7-9910-fb687c6726d7image-a33199c2-8340-401e-b8a2-42ffa875fc1cimage", - "source": "018b1214-c2af-43a7-9910-fb687c6726d7", - "target": "a33199c2-8340-401e-b8a2-42ffa875fc1c", - "type": "default", - "sourceHandle": "image", - "targetHandle": "image" - }, - { - "id": "reactflow__edge-c4b23e64-7986-40c4-9cad-46327b12e204image-c826ba5e-9676-4475-b260-07b85e88753cimage", - "source": "c4b23e64-7986-40c4-9cad-46327b12e204", - "target": "c826ba5e-9676-4475-b260-07b85e88753c", - "type": "default", - "sourceHandle": "image", - "targetHandle": "image" - }, - { - "id": "reactflow__edge-c826ba5e-9676-4475-b260-07b85e88753cimage-d204d184-f209-4fae-a0a1-d152800844e1image", - "source": "c826ba5e-9676-4475-b260-07b85e88753c", - "target": "d204d184-f209-4fae-a0a1-d152800844e1", - "type": "default", - "sourceHandle": "image", - "targetHandle": "image" - }, - { - "id": "reactflow__edge-54486974-835b-4d81-8f82-05f9f32ce9e9vae-9db25398-c869-4a63-8815-c6559341ef12vae", - "source": "54486974-835b-4d81-8f82-05f9f32ce9e9", - "target": "9db25398-c869-4a63-8815-c6559341ef12", - "type": "default", - "sourceHandle": "vae", - "targetHandle": "vae" - }, - { - "id": "reactflow__edge-ac481b7f-08bf-4a9d-9e0c-3a82ea5243celatents-9db25398-c869-4a63-8815-c6559341ef12latents", - "source": "ac481b7f-08bf-4a9d-9e0c-3a82ea5243ce", - "target": "9db25398-c869-4a63-8815-c6559341ef12", - "type": "default", - "sourceHandle": "latents", - "targetHandle": "latents" - }, - { - "id": "reactflow__edge-ca4d5059-8bfb-447f-b415-da0faba5a143collection-ac481b7f-08bf-4a9d-9e0c-3a82ea5243cecontrol", - "source": "ca4d5059-8bfb-447f-b415-da0faba5a143", - "target": "ac481b7f-08bf-4a9d-9e0c-3a82ea5243ce", - "type": "default", - "sourceHandle": "collection", - "targetHandle": "control" - }, - { - "id": "reactflow__edge-54486974-835b-4d81-8f82-05f9f32ce9e9unet-ac481b7f-08bf-4a9d-9e0c-3a82ea5243ceunet", - "source": "54486974-835b-4d81-8f82-05f9f32ce9e9", - "target": "ac481b7f-08bf-4a9d-9e0c-3a82ea5243ce", - "type": "default", - "sourceHandle": "unet", - "targetHandle": "unet" - }, - { - "id": "reactflow__edge-273e3f96-49ea-4dc5-9d5b-9660390f14e1conditioning-ac481b7f-08bf-4a9d-9e0c-3a82ea5243cenegative_conditioning", - "source": "273e3f96-49ea-4dc5-9d5b-9660390f14e1", - "target": "ac481b7f-08bf-4a9d-9e0c-3a82ea5243ce", - "type": "default", - "sourceHandle": "conditioning", - "targetHandle": "negative_conditioning" - }, - { - "id": "reactflow__edge-7ce68934-3419-42d4-ac70-82cfc9397306conditioning-ac481b7f-08bf-4a9d-9e0c-3a82ea5243cepositive_conditioning", - "source": "7ce68934-3419-42d4-ac70-82cfc9397306", - "target": "ac481b7f-08bf-4a9d-9e0c-3a82ea5243ce", - "type": "default", - "sourceHandle": "conditioning", - "targetHandle": "positive_conditioning" - }, - { - "id": "reactflow__edge-2e77a0a1-db6a-47a2-a8bf-1e003be6423bnoise-ac481b7f-08bf-4a9d-9e0c-3a82ea5243cenoise", - "source": "2e77a0a1-db6a-47a2-a8bf-1e003be6423b", - "target": "ac481b7f-08bf-4a9d-9e0c-3a82ea5243ce", - "type": "default", - "sourceHandle": "noise", - "targetHandle": "noise" - }, - { - "id": "reactflow__edge-8b260b4d-3fd6-44d4-b1be-9f0e43c628cevalue-2e77a0a1-db6a-47a2-a8bf-1e003be6423bseed", - "source": "8b260b4d-3fd6-44d4-b1be-9f0e43c628ce", - "target": "2e77a0a1-db6a-47a2-a8bf-1e003be6423b", - "type": "default", - "sourceHandle": "value", - "targetHandle": "seed" - } - ] -} \ No newline at end of file diff --git a/docs/workflows/Prompt_from_File.json b/docs/workflows/Prompt_from_File.json deleted file mode 100644 index 08e76fd7932..00000000000 --- a/docs/workflows/Prompt_from_File.json +++ /dev/null @@ -1,975 +0,0 @@ -{ - "name": "Prompt from File", - "author": "InvokeAI", - "description": "Sample workflow using Prompt from File node", - "version": "0.1.0", - "contact": "invoke@invoke.ai", - "tags": "text2image, prompt from file, default", - "notes": "", - "exposedFields": [ - { - "nodeId": "d6353b7f-b447-4e17-8f2e-80a88c91d426", - "fieldName": "model" - }, - { - "nodeId": "1b7e0df8-8589-4915-a4ea-c0088f15d642", - "fieldName": "file_path" - } - ], - "meta": { - "category": "default", - "version": "2.0.0" - }, - "id": "d1609af5-eb0a-4f73-b573-c9af96a8d6bf", - "nodes": [ - { - "id": "c2eaf1ba-5708-4679-9e15-945b8b432692", - "type": "invocation", - "data": { - "id": "c2eaf1ba-5708-4679-9e15-945b8b432692", - "type": "compel", - "label": "", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "prompt": { - "id": "dcdf3f6d-9b96-4bcd-9b8d-f992fefe4f62", - "name": "prompt", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "clip": { - "id": "3f1981c9-d8a9-42eb-a739-4f120eb80745", - "name": "clip", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - } - }, - "outputs": { - "conditioning": { - "id": "46205e6c-c5e2-44cb-9c82-1cd20b95674a", - "name": "conditioning", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 925, - "y": -200 - } - }, - { - "id": "1b7e0df8-8589-4915-a4ea-c0088f15d642", - "type": "invocation", - "data": { - "id": "1b7e0df8-8589-4915-a4ea-c0088f15d642", - "type": "prompt_from_file", - "label": "Prompts from File", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.1", - "nodePack": "invokeai", - "inputs": { - "file_path": { - "id": "37e37684-4f30-4ec8-beae-b333e550f904", - "name": "file_path", - "fieldKind": "input", - "label": "Prompts File Path", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "pre_prompt": { - "id": "7de02feb-819a-4992-bad3-72a30920ddea", - "name": "pre_prompt", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "post_prompt": { - "id": "95f191d8-a282-428e-bd65-de8cb9b7513a", - "name": "post_prompt", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "start_line": { - "id": "efee9a48-05ab-4829-8429-becfa64a0782", - "name": "start_line", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1 - }, - "max_prompts": { - "id": "abebb428-3d3d-49fd-a482-4e96a16fff08", - "name": "max_prompts", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1 - } - }, - "outputs": { - "collection": { - "id": "77d5d7f1-9877-4ab1-9a8c-33e9ffa9abf3", - "name": "collection", - "fieldKind": "output", - "type": { - "isCollection": true, - "isCollectionOrScalar": false, - "name": "StringField" - } - } - } - }, - "width": 320, - "height": 580, - "position": { - "x": 475, - "y": -400 - } - }, - { - "id": "1b89067c-3f6b-42c8-991f-e3055789b251", - "type": "invocation", - "data": { - "id": "1b89067c-3f6b-42c8-991f-e3055789b251", - "type": "iterate", - "label": "", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.1.0", - "inputs": { - "collection": { - "id": "4c564bf8-5ed6-441e-ad2c-dda265d5785f", - "name": "collection", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": true, - "isCollectionOrScalar": false, - "name": "CollectionField" - } - } - }, - "outputs": { - "item": { - "id": "36340f9a-e7a5-4afa-b4b5-313f4e292380", - "name": "item", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "CollectionItemField" - } - }, - "index": { - "id": "1beca95a-2159-460f-97ff-c8bab7d89336", - "name": "index", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "total": { - "id": "ead597b8-108e-4eda-88a8-5c29fa2f8df9", - "name": "total", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 925, - "y": -400 - } - }, - { - "id": "d6353b7f-b447-4e17-8f2e-80a88c91d426", - "type": "invocation", - "data": { - "id": "d6353b7f-b447-4e17-8f2e-80a88c91d426", - "type": "main_model_loader", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "model": { - "id": "3f264259-3418-47d5-b90d-b6600e36ae46", - "name": "model", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MainModelField" - }, - "value": { - "model_name": "stable-diffusion-v1-5", - "base_model": "sd-1", - "model_type": "main" - } - } - }, - "outputs": { - "unet": { - "id": "8e182ea2-9d0a-4c02-9407-27819288d4b5", - "name": "unet", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "UNetField" - } - }, - "clip": { - "id": "d67d9d30-058c-46d5-bded-3d09d6d1aa39", - "name": "clip", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - }, - "vae": { - "id": "89641601-0429-4448-98d5-190822d920d8", - "name": "vae", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "VaeField" - } - } - } - }, - "width": 320, - "height": 227, - "position": { - "x": 0, - "y": -375 - } - }, - { - "id": "fc9d0e35-a6de-4a19-84e1-c72497c823f6", - "type": "invocation", - "data": { - "id": "fc9d0e35-a6de-4a19-84e1-c72497c823f6", - "type": "compel", - "label": "", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "prompt": { - "id": "dcdf3f6d-9b96-4bcd-9b8d-f992fefe4f62", - "name": "prompt", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "clip": { - "id": "3f1981c9-d8a9-42eb-a739-4f120eb80745", - "name": "clip", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - } - }, - "outputs": { - "conditioning": { - "id": "46205e6c-c5e2-44cb-9c82-1cd20b95674a", - "name": "conditioning", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 925, - "y": -275 - } - }, - { - "id": "0eb5f3f5-1b91-49eb-9ef0-41d67c7eae77", - "type": "invocation", - "data": { - "id": "0eb5f3f5-1b91-49eb-9ef0-41d67c7eae77", - "type": "noise", - "label": "", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.1", - "nodePack": "invokeai", - "inputs": { - "seed": { - "id": "b722d84a-eeee-484f-bef2-0250c027cb67", - "name": "seed", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "width": { - "id": "d5f8ce11-0502-4bfc-9a30-5757dddf1f94", - "name": "width", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 512 - }, - "height": { - "id": "f187d5ff-38a5-4c3f-b780-fc5801ef34af", - "name": "height", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 512 - }, - "use_cpu": { - "id": "12f112b8-8b76-4816-b79e-662edc9f9aa5", - "name": "use_cpu", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": true - } - }, - "outputs": { - "noise": { - "id": "08576ad1-96d9-42d2-96ef-6f5c1961933f", - "name": "noise", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "width": { - "id": "f3e1f94a-258d-41ff-9789-bd999bd9f40d", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "6cefc357-4339-415e-a951-49b9c2be32f4", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 925, - "y": 25 - } - }, - { - "id": "dfc20e07-7aef-4fc0-a3a1-7bf68ec6a4e5", - "type": "invocation", - "data": { - "id": "dfc20e07-7aef-4fc0-a3a1-7bf68ec6a4e5", - "type": "rand_int", - "label": "", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": false, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "low": { - "id": "b9fc6cf1-469c-4037-9bf0-04836965826f", - "name": "low", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "high": { - "id": "06eac725-0f60-4ba2-b8cd-7ad9f757488c", - "name": "high", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 2147483647 - } - }, - "outputs": { - "value": { - "id": "df08c84e-7346-4e92-9042-9e5cb773aaff", - "name": "value", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 925, - "y": -50 - } - }, - { - "id": "491ec988-3c77-4c37-af8a-39a0c4e7a2a1", - "type": "invocation", - "data": { - "id": "491ec988-3c77-4c37-af8a-39a0c4e7a2a1", - "type": "l2i", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.2.0", - "nodePack": "invokeai", - "inputs": { - "metadata": { - "id": "022e4b33-562b-438d-b7df-41c3fd931f40", - "name": "metadata", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MetadataField" - } - }, - "latents": { - "id": "67cb6c77-a394-4a66-a6a9-a0a7dcca69ec", - "name": "latents", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "vae": { - "id": "7b3fd9ad-a4ef-4e04-89fa-3832a9902dbd", - "name": "vae", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "VaeField" - } - }, - "tiled": { - "id": "5ac5680d-3add-4115-8ec0-9ef5bb87493b", - "name": "tiled", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": false - }, - "fp32": { - "id": "db8297f5-55f8-452f-98cf-6572c2582152", - "name": "fp32", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": false - } - }, - "outputs": { - "image": { - "id": "d8778d0c-592a-4960-9280-4e77e00a7f33", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "c8b0a75a-f5de-4ff2-9227-f25bb2b97bec", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "83c05fbf-76b9-49ab-93c4-fa4b10e793e4", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 267, - "position": { - "x": 2037.861329274915, - "y": -329.8393457509562 - } - }, - { - "id": "2fb1577f-0a56-4f12-8711-8afcaaaf1d5e", - "type": "invocation", - "data": { - "id": "2fb1577f-0a56-4f12-8711-8afcaaaf1d5e", - "type": "denoise_latents", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.5.0", - "nodePack": "invokeai", - "inputs": { - "positive_conditioning": { - "id": "751fb35b-3f23-45ce-af1c-053e74251337", - "name": "positive_conditioning", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - }, - "negative_conditioning": { - "id": "b9dc06b6-7481-4db1-a8c2-39d22a5eacff", - "name": "negative_conditioning", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - }, - "noise": { - "id": "6e15e439-3390-48a4-8031-01e0e19f0e1d", - "name": "noise", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "steps": { - "id": "bfdfb3df-760b-4d51-b17b-0abb38b976c2", - "name": "steps", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 10 - }, - "cfg_scale": { - "id": "47770858-322e-41af-8494-d8b63ed735f3", - "name": "cfg_scale", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "FloatField" - }, - "value": 7.5 - }, - "denoising_start": { - "id": "2ba78720-ee02-4130-a348-7bc3531f790b", - "name": "denoising_start", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0 - }, - "denoising_end": { - "id": "a874dffb-d433-4d1a-9f59-af4367bb05e4", - "name": "denoising_end", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 1 - }, - "scheduler": { - "id": "36e021ad-b762-4fe4-ad4d-17f0291c40b2", - "name": "scheduler", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "SchedulerField" - }, - "value": "euler" - }, - "unet": { - "id": "98d3282d-f9f6-4b5e-b9e8-58658f1cac78", - "name": "unet", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "UNetField" - } - }, - "control": { - "id": "f2ea3216-43d5-42b4-887f-36e8f7166d53", - "name": "control", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "ControlField" - } - }, - "ip_adapter": { - "id": "d0780610-a298-47c8-a54e-70e769e0dfe2", - "name": "ip_adapter", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "IPAdapterField" - } - }, - "t2i_adapter": { - "id": "fdb40970-185e-4ea8-8bb5-88f06f91f46a", - "name": "t2i_adapter", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "T2IAdapterField" - } - }, - "cfg_rescale_multiplier": { - "id": "3af2d8c5-de83-425c-a100-49cb0f1f4385", - "name": "cfg_rescale_multiplier", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0 - }, - "latents": { - "id": "e05b538a-1b5a-4aa5-84b1-fd2361289a81", - "name": "latents", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "denoise_mask": { - "id": "463a419e-df30-4382-8ffb-b25b25abe425", - "name": "denoise_mask", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "DenoiseMaskField" - } - } - }, - "outputs": { - "latents": { - "id": "559ee688-66cf-4139-8b82-3d3aa69995ce", - "name": "latents", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "width": { - "id": "0b4285c2-e8b9-48e5-98f6-0a49d3f98fd2", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "8b0881b9-45e5-47d5-b526-24b6661de0ee", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 705, - "position": { - "x": 1570.9941088179146, - "y": -407.6505491604564 - } - } - ], - "edges": [ - { - "id": "1b89067c-3f6b-42c8-991f-e3055789b251-fc9d0e35-a6de-4a19-84e1-c72497c823f6-collapsed", - "source": "1b89067c-3f6b-42c8-991f-e3055789b251", - "target": "fc9d0e35-a6de-4a19-84e1-c72497c823f6", - "type": "collapsed" - }, - { - "id": "dfc20e07-7aef-4fc0-a3a1-7bf68ec6a4e5-0eb5f3f5-1b91-49eb-9ef0-41d67c7eae77-collapsed", - "source": "dfc20e07-7aef-4fc0-a3a1-7bf68ec6a4e5", - "target": "0eb5f3f5-1b91-49eb-9ef0-41d67c7eae77", - "type": "collapsed" - }, - { - "id": "reactflow__edge-1b7e0df8-8589-4915-a4ea-c0088f15d642collection-1b89067c-3f6b-42c8-991f-e3055789b251collection", - "source": "1b7e0df8-8589-4915-a4ea-c0088f15d642", - "target": "1b89067c-3f6b-42c8-991f-e3055789b251", - "type": "default", - "sourceHandle": "collection", - "targetHandle": "collection" - }, - { - "id": "reactflow__edge-d6353b7f-b447-4e17-8f2e-80a88c91d426clip-fc9d0e35-a6de-4a19-84e1-c72497c823f6clip", - "source": "d6353b7f-b447-4e17-8f2e-80a88c91d426", - "target": "fc9d0e35-a6de-4a19-84e1-c72497c823f6", - "type": "default", - "sourceHandle": "clip", - "targetHandle": "clip" - }, - { - "id": "reactflow__edge-1b89067c-3f6b-42c8-991f-e3055789b251item-fc9d0e35-a6de-4a19-84e1-c72497c823f6prompt", - "source": "1b89067c-3f6b-42c8-991f-e3055789b251", - "target": "fc9d0e35-a6de-4a19-84e1-c72497c823f6", - "type": "default", - "sourceHandle": "item", - "targetHandle": "prompt" - }, - { - "id": "reactflow__edge-d6353b7f-b447-4e17-8f2e-80a88c91d426clip-c2eaf1ba-5708-4679-9e15-945b8b432692clip", - "source": "d6353b7f-b447-4e17-8f2e-80a88c91d426", - "target": "c2eaf1ba-5708-4679-9e15-945b8b432692", - "type": "default", - "sourceHandle": "clip", - "targetHandle": "clip" - }, - { - "id": "reactflow__edge-dfc20e07-7aef-4fc0-a3a1-7bf68ec6a4e5value-0eb5f3f5-1b91-49eb-9ef0-41d67c7eae77seed", - "source": "dfc20e07-7aef-4fc0-a3a1-7bf68ec6a4e5", - "target": "0eb5f3f5-1b91-49eb-9ef0-41d67c7eae77", - "type": "default", - "sourceHandle": "value", - "targetHandle": "seed" - }, - { - "id": "reactflow__edge-fc9d0e35-a6de-4a19-84e1-c72497c823f6conditioning-2fb1577f-0a56-4f12-8711-8afcaaaf1d5epositive_conditioning", - "source": "fc9d0e35-a6de-4a19-84e1-c72497c823f6", - "target": "2fb1577f-0a56-4f12-8711-8afcaaaf1d5e", - "type": "default", - "sourceHandle": "conditioning", - "targetHandle": "positive_conditioning" - }, - { - "id": "reactflow__edge-c2eaf1ba-5708-4679-9e15-945b8b432692conditioning-2fb1577f-0a56-4f12-8711-8afcaaaf1d5enegative_conditioning", - "source": "c2eaf1ba-5708-4679-9e15-945b8b432692", - "target": "2fb1577f-0a56-4f12-8711-8afcaaaf1d5e", - "type": "default", - "sourceHandle": "conditioning", - "targetHandle": "negative_conditioning" - }, - { - "id": "reactflow__edge-0eb5f3f5-1b91-49eb-9ef0-41d67c7eae77noise-2fb1577f-0a56-4f12-8711-8afcaaaf1d5enoise", - "source": "0eb5f3f5-1b91-49eb-9ef0-41d67c7eae77", - "target": "2fb1577f-0a56-4f12-8711-8afcaaaf1d5e", - "type": "default", - "sourceHandle": "noise", - "targetHandle": "noise" - }, - { - "id": "reactflow__edge-d6353b7f-b447-4e17-8f2e-80a88c91d426unet-2fb1577f-0a56-4f12-8711-8afcaaaf1d5eunet", - "source": "d6353b7f-b447-4e17-8f2e-80a88c91d426", - "target": "2fb1577f-0a56-4f12-8711-8afcaaaf1d5e", - "type": "default", - "sourceHandle": "unet", - "targetHandle": "unet" - }, - { - "id": "reactflow__edge-2fb1577f-0a56-4f12-8711-8afcaaaf1d5elatents-491ec988-3c77-4c37-af8a-39a0c4e7a2a1latents", - "source": "2fb1577f-0a56-4f12-8711-8afcaaaf1d5e", - "target": "491ec988-3c77-4c37-af8a-39a0c4e7a2a1", - "type": "default", - "sourceHandle": "latents", - "targetHandle": "latents" - }, - { - "id": "reactflow__edge-d6353b7f-b447-4e17-8f2e-80a88c91d426vae-491ec988-3c77-4c37-af8a-39a0c4e7a2a1vae", - "source": "d6353b7f-b447-4e17-8f2e-80a88c91d426", - "target": "491ec988-3c77-4c37-af8a-39a0c4e7a2a1", - "type": "default", - "sourceHandle": "vae", - "targetHandle": "vae" - } - ] -} \ No newline at end of file diff --git a/docs/workflows/QR_Code_Monster.json b/docs/workflows/QR_Code_Monster.json deleted file mode 100644 index f0ae5d74fd4..00000000000 --- a/docs/workflows/QR_Code_Monster.json +++ /dev/null @@ -1,758 +0,0 @@ -{ - "name": "QR Code Monster", - "author": "InvokeAI", - "description": "Sample workflow for create images with QR code Monster ControlNet", - "version": "1.0.1", - "contact": "invoke@invoke.ai", - "tags": "qrcode, controlnet, default", - "notes": "", - "exposedFields": [ - { - "nodeId": "a6cc0986-f928-4a7e-8d44-ba2d4b36f54a", - "fieldName": "image" - }, - { - "nodeId": "aca3b054-bfba-4392-bd20-6476f59504df", - "fieldName": "prompt" - }, - { - "nodeId": "3db7cee0-31e2-4a3d-94a1-268cb16177dd", - "fieldName": "prompt" - } - ], - "meta": { - "version": "1.0.0" - }, - "nodes": [ - { - "id": "3db7cee0-31e2-4a3d-94a1-268cb16177dd", - "type": "invocation", - "data": { - "id": "3db7cee0-31e2-4a3d-94a1-268cb16177dd", - "type": "compel", - "inputs": { - "prompt": { - "id": "6a1fe244-5656-4f8c-91d1-1fb474e28807", - "name": "prompt", - "type": "string", - "fieldKind": "input", - "label": "Negative Prompt", - "value": "" - }, - "clip": { - "id": "f24688f3-29b8-4a2d-8603-046e5a5c7250", - "name": "clip", - "type": "ClipField", - "fieldKind": "input", - "label": "" - } - }, - "outputs": { - "conditioning": { - "id": "700528eb-3f8b-4745-b540-34f919b5b228", - "name": "conditioning", - "type": "ConditioningField", - "fieldKind": "output" - } - }, - "label": "Prompt", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 261, - "position": { - "x": 773.0502679628016, - "y": 1622.4836086770556 - } - }, - { - "id": "610384f1-6f0c-4847-a9a2-37ce7f456ed1", - "type": "invocation", - "data": { - "id": "610384f1-6f0c-4847-a9a2-37ce7f456ed1", - "type": "main_model_loader", - "inputs": { - "model": { - "id": "cb36b6d3-6c1f-4911-a200-646745b0ff74", - "name": "model", - "type": "MainModelField", - "fieldKind": "input", - "label": "", - "value": { - "model_name": "stable-diffusion-v1-5", - "base_model": "sd-1", - "model_type": "main" - } - } - }, - "outputs": { - "unet": { - "id": "7246895b-b252-49bc-b952-8d801b4672f7", - "name": "unet", - "type": "UNetField", - "fieldKind": "output" - }, - "clip": { - "id": "3c2aedb8-30d5-4d4b-99df-d06a0d7bedc6", - "name": "clip", - "type": "ClipField", - "fieldKind": "output" - }, - "vae": { - "id": "b9743815-5501-4bbb-8bde-8bd6ba298a4e", - "name": "vae", - "type": "VaeField", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 226, - "position": { - "x": 211.58866462619744, - "y": 1376.0542388105248 - } - }, - { - "id": "aca3b054-bfba-4392-bd20-6476f59504df", - "type": "invocation", - "data": { - "id": "aca3b054-bfba-4392-bd20-6476f59504df", - "type": "compel", - "inputs": { - "prompt": { - "id": "6a1fe244-5656-4f8c-91d1-1fb474e28807", - "name": "prompt", - "type": "string", - "fieldKind": "input", - "label": "Positive Prompt", - "value": "" - }, - "clip": { - "id": "f24688f3-29b8-4a2d-8603-046e5a5c7250", - "name": "clip", - "type": "ClipField", - "fieldKind": "input", - "label": "" - } - }, - "outputs": { - "conditioning": { - "id": "700528eb-3f8b-4745-b540-34f919b5b228", - "name": "conditioning", - "type": "ConditioningField", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 261, - "position": { - "x": 770.6491131680111, - "y": 1316.379247112241 - } - }, - { - "id": "a6cc0986-f928-4a7e-8d44-ba2d4b36f54a", - "type": "invocation", - "data": { - "id": "a6cc0986-f928-4a7e-8d44-ba2d4b36f54a", - "type": "image", - "inputs": { - "image": { - "id": "89ba5d58-28c9-4e04-a5df-79fb7a6f3531", - "name": "image", - "type": "ImageField", - "fieldKind": "input", - "label": "QR Code / Hidden Image" - } - }, - "outputs": { - "image": { - "id": "54335653-0e17-42da-b9e8-83c5fb5af670", - "name": "image", - "type": "ImageField", - "fieldKind": "output" - }, - "width": { - "id": "a3c65953-39ea-4d97-8858-d65154ff9d11", - "name": "width", - "type": "integer", - "fieldKind": "output" - }, - "height": { - "id": "2c7db511-ebc9-4286-a46b-bc11e0fd779f", - "name": "height", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 225, - "position": { - "x": 700.5034176864369, - "y": 1981.749600549388 - } - }, - { - "id": "280fd8a7-3b0c-49fe-8be4-6246e08b6c9a", - "type": "invocation", - "data": { - "id": "280fd8a7-3b0c-49fe-8be4-6246e08b6c9a", - "type": "noise", - "inputs": { - "seed": { - "id": "7c6c76dd-127b-4829-b1ec-430790cb7ed7", - "name": "seed", - "type": "integer", - "fieldKind": "input", - "label": "", - "value": 0 - }, - "width": { - "id": "8ec6a525-a421-40d8-a17e-39e7b6836438", - "name": "width", - "type": "integer", - "fieldKind": "input", - "label": "", - "value": 512 - }, - "height": { - "id": "6af1e58a-e2ee-4ec4-9f06-d8d0412922ca", - "name": "height", - "type": "integer", - "fieldKind": "input", - "label": "", - "value": 512 - }, - "use_cpu": { - "id": "26662e99-5720-43a6-a5d8-06c9dab0e261", - "name": "use_cpu", - "type": "boolean", - "fieldKind": "input", - "label": "", - "value": true - } - }, - "outputs": { - "noise": { - "id": "cb4c4dfc-a744-49eb-af4f-677448e28407", - "name": "noise", - "type": "LatentsField", - "fieldKind": "output" - }, - "width": { - "id": "97e87be6-e81f-40a3-a522-28ebe4aad0ac", - "name": "width", - "type": "integer", - "fieldKind": "output" - }, - "height": { - "id": "80784420-f1e1-47b0-bd1d-1d381a15e22d", - "name": "height", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": false, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 32, - "position": { - "x": 1182.460291960481, - "y": 1759.592972960265 - } - }, - { - "id": "2ac03cf6-0326-454a-bed0-d8baef2bf30d", - "type": "invocation", - "data": { - "id": "2ac03cf6-0326-454a-bed0-d8baef2bf30d", - "type": "controlnet", - "inputs": { - "image": { - "id": "1f683889-9f14-40c8-af29-4b991b211a3a", - "name": "image", - "type": "ImageField", - "fieldKind": "input", - "label": "" - }, - "control_model": { - "id": "a933b21d-22c1-4e06-818f-15416b971282", - "name": "control_model", - "type": "ControlNetModelField", - "fieldKind": "input", - "label": "", - "value": { - "model_name": "qrcode_monster", - "base_model": "sd-1" - } - }, - "control_weight": { - "id": "198a0825-e55e-4496-bc54-c3d7b02f3d75", - "name": "control_weight", - "type": "FloatPolymorphic", - "fieldKind": "input", - "label": "", - "value": 1.4 - }, - "begin_step_percent": { - "id": "c85ce42f-22af-42a0-8993-676002fb275e", - "name": "begin_step_percent", - "type": "float", - "fieldKind": "input", - "label": "", - "value": 0 - }, - "end_step_percent": { - "id": "a61a65c4-9e6f-4fe2-96a5-1294d17ec6e4", - "name": "end_step_percent", - "type": "float", - "fieldKind": "input", - "label": "", - "value": 1 - }, - "control_mode": { - "id": "1aa45cfa-0249-46b7-bf24-3e38e92f5fa0", - "name": "control_mode", - "type": "enum", - "fieldKind": "input", - "label": "", - "value": "balanced" - }, - "resize_mode": { - "id": "a89d3cb9-a141-4cea-bb49-977bf267377b", - "name": "resize_mode", - "type": "enum", - "fieldKind": "input", - "label": "", - "value": "just_resize" - } - }, - "outputs": { - "control": { - "id": "c9a1fc7e-cb25-45a9-adff-1a97c9ff04d6", - "name": "control", - "type": "ControlField", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 508, - "position": { - "x": 1165.434407461108, - "y": 1862.916856351665 - } - }, - { - "id": "28542b66-5a00-4780-a318-0a036d2df914", - "type": "invocation", - "data": { - "id": "28542b66-5a00-4780-a318-0a036d2df914", - "type": "l2i", - "inputs": { - "metadata": { - "id": "a38e8f55-7f2c-4fcc-a71f-d51e2eb0374a", - "name": "metadata", - "type": "MetadataField", - "fieldKind": "input", - "label": "" - }, - "latents": { - "id": "80e97bc8-e716-4175-9115-5b58495aa30c", - "name": "latents", - "type": "LatentsField", - "fieldKind": "input", - "label": "" - }, - "vae": { - "id": "5641bce6-ac2b-47eb-bb32-2f290026b7e1", - "name": "vae", - "type": "VaeField", - "fieldKind": "input", - "label": "" - }, - "tiled": { - "id": "9e75eb16-ae48-47ed-b180-e0409d377436", - "name": "tiled", - "type": "boolean", - "fieldKind": "input", - "label": "", - "value": false - }, - "fp32": { - "id": "0518b0ce-ee37-437b-8437-cc2976a3279f", - "name": "fp32", - "type": "boolean", - "fieldKind": "input", - "label": "", - "value": false - } - }, - "outputs": { - "image": { - "id": "ec2ff985-a7eb-401f-92c4-1217cddad6a2", - "name": "image", - "type": "ImageField", - "fieldKind": "output" - }, - "width": { - "id": "ba1d1720-6d67-4eca-9e9d-b97d08636774", - "name": "width", - "type": "integer", - "fieldKind": "output" - }, - "height": { - "id": "10bcf8f4-6394-422f-b0c0-51680f3bfb25", - "name": "height", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.0.0" - }, - "width": 320, - "height": 267, - "position": { - "x": 2110.8415693683014, - "y": 1487.253341116115 - } - }, - { - "id": "9755ae4c-ef30-4db3-80f6-a31f98979a11", - "type": "invocation", - "data": { - "id": "9755ae4c-ef30-4db3-80f6-a31f98979a11", - "type": "denoise_latents", - "inputs": { - "positive_conditioning": { - "id": "8e6aceaa-a986-4ab2-9c04-5b1027b3daf6", - "name": "positive_conditioning", - "type": "ConditioningField", - "fieldKind": "input", - "label": "" - }, - "negative_conditioning": { - "id": "fbbaa712-ca1a-420b-9016-763f2a29d68c", - "name": "negative_conditioning", - "type": "ConditioningField", - "fieldKind": "input", - "label": "" - }, - "noise": { - "id": "a3b3d5d2-c0f9-4b89-a9b3-8de9418f7bb5", - "name": "noise", - "type": "LatentsField", - "fieldKind": "input", - "label": "" - }, - "steps": { - "id": "e491e664-2f8c-4f49-b3e4-57b051fbb9c5", - "name": "steps", - "type": "integer", - "fieldKind": "input", - "label": "", - "value": 10 - }, - "cfg_scale": { - "id": "f0318abd-ed65-4cad-86a7-48d1c19a6d14", - "name": "cfg_scale", - "type": "FloatPolymorphic", - "fieldKind": "input", - "label": "", - "value": 7.5 - }, - "denoising_start": { - "id": "f7c24c51-496f-44c4-836a-c734e529fec0", - "name": "denoising_start", - "type": "float", - "fieldKind": "input", - "label": "", - "value": 0 - }, - "denoising_end": { - "id": "54f7656a-fb0d-4d9e-a459-f700f7dccd2e", - "name": "denoising_end", - "type": "float", - "fieldKind": "input", - "label": "", - "value": 1 - }, - "scheduler": { - "id": "363ee440-040d-499b-bf84-bf5391b08681", - "name": "scheduler", - "type": "Scheduler", - "fieldKind": "input", - "label": "", - "value": "euler" - }, - "unet": { - "id": "5c93d4e5-1064-4700-ab1d-d12e1e9b5ba7", - "name": "unet", - "type": "UNetField", - "fieldKind": "input", - "label": "" - }, - "control": { - "id": "e1948eb3-7407-43b0-93e3-139470f186b7", - "name": "control", - "type": "ControlPolymorphic", - "fieldKind": "input", - "label": "" - }, - "ip_adapter": { - "id": "5675b2c3-adfb-49ee-b33c-26bdbfab1fed", - "name": "ip_adapter", - "type": "IPAdapterPolymorphic", - "fieldKind": "input", - "label": "" - }, - "t2i_adapter": { - "id": "89cd4ab3-3bfc-4063-9de5-91d42305c651", - "name": "t2i_adapter", - "type": "T2IAdapterPolymorphic", - "fieldKind": "input", - "label": "" - }, - "latents": { - "id": "ec01df90-5042-418d-b6d6-86b251c13770", - "name": "latents", - "type": "LatentsField", - "fieldKind": "input", - "label": "" - }, - "denoise_mask": { - "id": "561cde00-cb20-42ae-9bd3-4f477f73fbe1", - "name": "denoise_mask", - "type": "DenoiseMaskField", - "fieldKind": "input", - "label": "" - } - }, - "outputs": { - "latents": { - "id": "f9addefe-efcc-4e01-8945-6ebbc934b002", - "name": "latents", - "type": "LatentsField", - "fieldKind": "output" - }, - "width": { - "id": "6d48f78b-d681-422a-8677-0111bd0625f1", - "name": "width", - "type": "integer", - "fieldKind": "output" - }, - "height": { - "id": "f25997b8-6316-44ce-b696-b82e4ed51ae5", - "name": "height", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": true, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": true, - "version": "1.4.0" - }, - "width": 320, - "height": 646, - "position": { - "x": 1597.9598293300219, - "y": 1420.4637727891632 - } - }, - { - "id": "59349822-af20-4e0e-a53f-3ba135d00c3f", - "type": "invocation", - "data": { - "id": "59349822-af20-4e0e-a53f-3ba135d00c3f", - "type": "rand_int", - "inputs": { - "low": { - "id": "051f22f9-2d4f-414f-bc51-84af2d626efa", - "name": "low", - "type": "integer", - "fieldKind": "input", - "label": "", - "value": 0 - }, - "high": { - "id": "77206186-f264-4224-9589-f925cf903dc9", - "name": "high", - "type": "integer", - "fieldKind": "input", - "label": "", - "value": 2147483647 - } - }, - "outputs": { - "value": { - "id": "a7ed9387-3a24-4d34-b7c5-f713bd544ab1", - "name": "value", - "type": "integer", - "fieldKind": "output" - } - }, - "label": "", - "isOpen": false, - "notes": "", - "embedWorkflow": false, - "isIntermediate": true, - "useCache": false, - "version": "1.0.0" - }, - "width": 320, - "height": 32, - "position": { - "x": 1178.16746986153, - "y": 1663.9433412808876 - } - } - ], - "edges": [ - { - "source": "59349822-af20-4e0e-a53f-3ba135d00c3f", - "target": "280fd8a7-3b0c-49fe-8be4-6246e08b6c9a", - "id": "59349822-af20-4e0e-a53f-3ba135d00c3f-280fd8a7-3b0c-49fe-8be4-6246e08b6c9a-collapsed", - "type": "collapsed" - }, - { - "source": "610384f1-6f0c-4847-a9a2-37ce7f456ed1", - "sourceHandle": "clip", - "target": "aca3b054-bfba-4392-bd20-6476f59504df", - "targetHandle": "clip", - "id": "reactflow__edge-610384f1-6f0c-4847-a9a2-37ce7f456ed1clip-aca3b054-bfba-4392-bd20-6476f59504dfclip", - "type": "default" - }, - { - "source": "610384f1-6f0c-4847-a9a2-37ce7f456ed1", - "sourceHandle": "clip", - "target": "3db7cee0-31e2-4a3d-94a1-268cb16177dd", - "targetHandle": "clip", - "id": "reactflow__edge-610384f1-6f0c-4847-a9a2-37ce7f456ed1clip-3db7cee0-31e2-4a3d-94a1-268cb16177ddclip", - "type": "default" - }, - { - "source": "a6cc0986-f928-4a7e-8d44-ba2d4b36f54a", - "sourceHandle": "image", - "target": "2ac03cf6-0326-454a-bed0-d8baef2bf30d", - "targetHandle": "image", - "id": "reactflow__edge-a6cc0986-f928-4a7e-8d44-ba2d4b36f54aimage-2ac03cf6-0326-454a-bed0-d8baef2bf30dimage", - "type": "default" - }, - { - "source": "610384f1-6f0c-4847-a9a2-37ce7f456ed1", - "sourceHandle": "vae", - "target": "28542b66-5a00-4780-a318-0a036d2df914", - "targetHandle": "vae", - "id": "reactflow__edge-610384f1-6f0c-4847-a9a2-37ce7f456ed1vae-28542b66-5a00-4780-a318-0a036d2df914vae", - "type": "default" - }, - { - "source": "280fd8a7-3b0c-49fe-8be4-6246e08b6c9a", - "sourceHandle": "noise", - "target": "9755ae4c-ef30-4db3-80f6-a31f98979a11", - "targetHandle": "noise", - "id": "reactflow__edge-280fd8a7-3b0c-49fe-8be4-6246e08b6c9anoise-9755ae4c-ef30-4db3-80f6-a31f98979a11noise", - "type": "default" - }, - { - "source": "3db7cee0-31e2-4a3d-94a1-268cb16177dd", - "sourceHandle": "conditioning", - "target": "9755ae4c-ef30-4db3-80f6-a31f98979a11", - "targetHandle": "negative_conditioning", - "id": "reactflow__edge-3db7cee0-31e2-4a3d-94a1-268cb16177ddconditioning-9755ae4c-ef30-4db3-80f6-a31f98979a11negative_conditioning", - "type": "default" - }, - { - "source": "aca3b054-bfba-4392-bd20-6476f59504df", - "sourceHandle": "conditioning", - "target": "9755ae4c-ef30-4db3-80f6-a31f98979a11", - "targetHandle": "positive_conditioning", - "id": "reactflow__edge-aca3b054-bfba-4392-bd20-6476f59504dfconditioning-9755ae4c-ef30-4db3-80f6-a31f98979a11positive_conditioning", - "type": "default" - }, - { - "source": "610384f1-6f0c-4847-a9a2-37ce7f456ed1", - "sourceHandle": "unet", - "target": "9755ae4c-ef30-4db3-80f6-a31f98979a11", - "targetHandle": "unet", - "id": "reactflow__edge-610384f1-6f0c-4847-a9a2-37ce7f456ed1unet-9755ae4c-ef30-4db3-80f6-a31f98979a11unet", - "type": "default" - }, - { - "source": "2ac03cf6-0326-454a-bed0-d8baef2bf30d", - "sourceHandle": "control", - "target": "9755ae4c-ef30-4db3-80f6-a31f98979a11", - "targetHandle": "control", - "id": "reactflow__edge-2ac03cf6-0326-454a-bed0-d8baef2bf30dcontrol-9755ae4c-ef30-4db3-80f6-a31f98979a11control", - "type": "default" - }, - { - "source": "9755ae4c-ef30-4db3-80f6-a31f98979a11", - "sourceHandle": "latents", - "target": "28542b66-5a00-4780-a318-0a036d2df914", - "targetHandle": "latents", - "id": "reactflow__edge-9755ae4c-ef30-4db3-80f6-a31f98979a11latents-28542b66-5a00-4780-a318-0a036d2df914latents", - "type": "default" - }, - { - "source": "59349822-af20-4e0e-a53f-3ba135d00c3f", - "sourceHandle": "value", - "target": "280fd8a7-3b0c-49fe-8be4-6246e08b6c9a", - "targetHandle": "seed", - "id": "reactflow__edge-59349822-af20-4e0e-a53f-3ba135d00c3fvalue-280fd8a7-3b0c-49fe-8be4-6246e08b6c9aseed", - "type": "default" - } - ] -} \ No newline at end of file diff --git a/docs/workflows/SDXL_Text_to_Image.json b/docs/workflows/SDXL_Text_to_Image.json deleted file mode 100644 index ef7810c1533..00000000000 --- a/docs/workflows/SDXL_Text_to_Image.json +++ /dev/null @@ -1,1320 +0,0 @@ -{ - "name": "SDXL Text to Image", - "author": "InvokeAI", - "description": "Sample text to image workflow for SDXL", - "version": "1.0.1", - "contact": "invoke@invoke.ai", - "tags": "text2image, SDXL, default", - "notes": "", - "exposedFields": [ - { - "nodeId": "ade2c0d3-0384-4157-b39b-29ce429cfa15", - "fieldName": "value" - }, - { - "nodeId": "719dabe8-8297-4749-aea1-37be301cd425", - "fieldName": "value" - }, - { - "nodeId": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", - "fieldName": "model" - }, - { - "nodeId": "0093692f-9cf4-454d-a5b8-62f0e3eb3bb8", - "fieldName": "vae_model" - } - ], - "meta": { - "category": "default", - "version": "2.0.0" - }, - "nodes": [ - { - "id": "3774ec24-a69e-4254-864c-097d07a6256f", - "type": "invocation", - "data": { - "id": "3774ec24-a69e-4254-864c-097d07a6256f", - "type": "string_join", - "label": "Positive Style Concat", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "inputs": { - "string_left": { - "id": "8d84be5c-4a96-46ad-a92c-eaf6fcae4a69", - "name": "string_left", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "string_right": { - "id": "c8e2a881-f675-4c6b-865b-a0892473b750", - "name": "string_right", - "fieldKind": "input", - "label": "Positive Style Concat", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - } - }, - "outputs": { - "value": { - "id": "196fad08-73ea-4fe5-8cc3-b55fd3cf40e5", - "name": "value", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 750, - "y": -225 - } - }, - { - "id": "719dabe8-8297-4749-aea1-37be301cd425", - "type": "invocation", - "data": { - "id": "719dabe8-8297-4749-aea1-37be301cd425", - "type": "string", - "label": "Negative Prompt", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "inputs": { - "value": { - "id": "744a5f7c-6e3a-4fbc-ac66-ba0cf8559eeb", - "name": "value", - "fieldKind": "input", - "label": "Negative Prompt", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "photograph" - } - }, - "outputs": { - "value": { - "id": "3e0ddf7a-a5de-4dad-b726-5d0cb4e0baa6", - "name": "value", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - } - } - } - }, - "width": 320, - "height": 258, - "position": { - "x": 750, - "y": -125 - } - }, - { - "id": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", - "type": "invocation", - "data": { - "id": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", - "type": "sdxl_compel_prompt", - "label": "SDXL Negative Compel Prompt", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "prompt": { - "id": "5a6889e6-95cb-462f-8f4a-6b93ae7afaec", - "name": "prompt", - "fieldKind": "input", - "label": "Negative Prompt", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "style": { - "id": "f240d0e6-3a1c-4320-af23-20ebb707c276", - "name": "style", - "fieldKind": "input", - "label": "Negative Style", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "original_width": { - "id": "05af07b0-99a0-4a68-8ad2-697bbdb7fc7e", - "name": "original_width", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "original_height": { - "id": "2c771996-a998-43b7-9dd3-3792664d4e5b", - "name": "original_height", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "crop_top": { - "id": "66519dca-a151-4e3e-ae1f-88f1f9877bde", - "name": "crop_top", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "crop_left": { - "id": "349cf2e9-f3d0-4e16-9ae2-7097d25b6a51", - "name": "crop_left", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "target_width": { - "id": "44499347-7bd6-4a73-99d6-5a982786db05", - "name": "target_width", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "target_height": { - "id": "fda359b0-ab80-4f3c-805b-c9f61319d7d2", - "name": "target_height", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "clip": { - "id": "b447adaf-a649-4a76-a827-046a9fc8d89b", - "name": "clip", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - }, - "clip2": { - "id": "86ee4e32-08f9-4baa-9163-31d93f5c0187", - "name": "clip2", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - } - }, - "outputs": { - "conditioning": { - "id": "7c10118e-7b4e-4911-b98e-d3ba6347dfd0", - "name": "conditioning", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 750, - "y": 200 - } - }, - { - "id": "55705012-79b9-4aac-9f26-c0b10309785b", - "type": "invocation", - "data": { - "id": "55705012-79b9-4aac-9f26-c0b10309785b", - "type": "noise", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.1", - "nodePack": "invokeai", - "inputs": { - "seed": { - "id": "6431737c-918a-425d-a3b4-5d57e2f35d4d", - "name": "seed", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "width": { - "id": "38fc5b66-fe6e-47c8-bba9-daf58e454ed7", - "name": "width", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "height": { - "id": "16298330-e2bf-4872-a514-d6923df53cbb", - "name": "height", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "use_cpu": { - "id": "c7c436d3-7a7a-4e76-91e4-c6deb271623c", - "name": "use_cpu", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": true - } - }, - "outputs": { - "noise": { - "id": "50f650dc-0184-4e23-a927-0497a96fe954", - "name": "noise", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "width": { - "id": "bb8a452b-133d-42d1-ae4a-3843d7e4109a", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "35cfaa12-3b8b-4b7a-a884-327ff3abddd9", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 388, - "position": { - "x": 375, - "y": 0 - } - }, - { - "id": "ea94bc37-d995-4a83-aa99-4af42479f2f2", - "type": "invocation", - "data": { - "id": "ea94bc37-d995-4a83-aa99-4af42479f2f2", - "type": "rand_int", - "label": "Random Seed", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": false, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "low": { - "id": "3ec65a37-60ba-4b6c-a0b2-553dd7a84b84", - "name": "low", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "high": { - "id": "085f853a-1a5f-494d-8bec-e4ba29a3f2d1", - "name": "high", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 2147483647 - } - }, - "outputs": { - "value": { - "id": "812ade4d-7699-4261-b9fc-a6c9d2ab55ee", - "name": "value", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 375, - "y": -50 - } - }, - { - "id": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", - "type": "invocation", - "data": { - "id": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", - "type": "sdxl_model_loader", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "model": { - "id": "39f9e799-bc95-4318-a200-30eed9e60c42", - "name": "model", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "SDXLMainModelField" - }, - "value": null - } - }, - "outputs": { - "unet": { - "id": "2626a45e-59aa-4609-b131-2d45c5eaed69", - "name": "unet", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "UNetField" - } - }, - "clip": { - "id": "7c9c42fa-93d5-4639-ab8b-c4d9b0559baf", - "name": "clip", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - }, - "clip2": { - "id": "0dafddcf-a472-49c1-a47c-7b8fab4c8bc9", - "name": "clip2", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - }, - "vae": { - "id": "ee6a6997-1b3c-4ff3-99ce-1e7bfba2750c", - "name": "vae", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "VaeField" - } - } - } - }, - "width": 320, - "height": 257, - "position": { - "x": 375, - "y": -500 - } - }, - { - "id": "faf965a4-7530-427b-b1f3-4ba6505c2a08", - "type": "invocation", - "data": { - "id": "faf965a4-7530-427b-b1f3-4ba6505c2a08", - "type": "sdxl_compel_prompt", - "label": "SDXL Positive Compel Prompt", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "prompt": { - "id": "5a6889e6-95cb-462f-8f4a-6b93ae7afaec", - "name": "prompt", - "fieldKind": "input", - "label": "Positive Prompt", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "style": { - "id": "f240d0e6-3a1c-4320-af23-20ebb707c276", - "name": "style", - "fieldKind": "input", - "label": "Positive Style", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "original_width": { - "id": "05af07b0-99a0-4a68-8ad2-697bbdb7fc7e", - "name": "original_width", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "original_height": { - "id": "2c771996-a998-43b7-9dd3-3792664d4e5b", - "name": "original_height", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "crop_top": { - "id": "66519dca-a151-4e3e-ae1f-88f1f9877bde", - "name": "crop_top", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "crop_left": { - "id": "349cf2e9-f3d0-4e16-9ae2-7097d25b6a51", - "name": "crop_left", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "target_width": { - "id": "44499347-7bd6-4a73-99d6-5a982786db05", - "name": "target_width", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "target_height": { - "id": "fda359b0-ab80-4f3c-805b-c9f61319d7d2", - "name": "target_height", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "clip": { - "id": "b447adaf-a649-4a76-a827-046a9fc8d89b", - "name": "clip", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - }, - "clip2": { - "id": "86ee4e32-08f9-4baa-9163-31d93f5c0187", - "name": "clip2", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - } - }, - "outputs": { - "conditioning": { - "id": "7c10118e-7b4e-4911-b98e-d3ba6347dfd0", - "name": "conditioning", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 750, - "y": -175 - } - }, - { - "id": "63e91020-83b2-4f35-b174-ad9692aabb48", - "type": "invocation", - "data": { - "id": "63e91020-83b2-4f35-b174-ad9692aabb48", - "type": "l2i", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": false, - "useCache": false, - "version": "1.2.0", - "nodePack": "invokeai", - "inputs": { - "metadata": { - "id": "88971324-3fdb-442d-b8b7-7612478a8622", - "name": "metadata", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MetadataField" - } - }, - "latents": { - "id": "da0e40cb-c49f-4fa5-9856-338b91a65f6b", - "name": "latents", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "vae": { - "id": "ae5164ce-1710-4ec5-a83a-6113a0d1b5c0", - "name": "vae", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "VaeField" - } - }, - "tiled": { - "id": "2ccfd535-1a7b-4ecf-84db-9430a64fb3d7", - "name": "tiled", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": false - }, - "fp32": { - "id": "64f07d5a-54a2-429c-8c5b-0c2a3a8e5cd5", - "name": "fp32", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": false - } - }, - "outputs": { - "image": { - "id": "9b281eaa-6504-407d-a5ca-1e5e8020a4bf", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "98e545f3-b53b-490d-b94d-bed9418ccc75", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "4a74bd43-d7f7-4c7f-bb3b-d09bb2992c46", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 266, - "position": { - "x": 1475, - "y": -500 - } - }, - { - "id": "50a36525-3c0a-4cc5-977c-e4bfc3fd6dfb", - "type": "invocation", - "data": { - "id": "50a36525-3c0a-4cc5-977c-e4bfc3fd6dfb", - "type": "denoise_latents", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.5.0", - "nodePack": "invokeai", - "inputs": { - "positive_conditioning": { - "id": "29b73dfa-a06e-4b4a-a844-515b9eb93a81", - "name": "positive_conditioning", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - }, - "negative_conditioning": { - "id": "a81e6f5b-f4de-4919-b483-b6e2f067465a", - "name": "negative_conditioning", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - }, - "noise": { - "id": "4ba06bb7-eb45-4fb9-9984-31001b545587", - "name": "noise", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "steps": { - "id": "36ee8a45-ca69-44bc-9bc3-aa881e6045c0", - "name": "steps", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 32 - }, - "cfg_scale": { - "id": "2a2024e0-a736-46ec-933c-c1c1ebe96943", - "name": "cfg_scale", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "FloatField" - }, - "value": 6 - }, - "denoising_start": { - "id": "be219d5e-41b7-430a-8fb5-bc21a31ad219", - "name": "denoising_start", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0 - }, - "denoising_end": { - "id": "3adfb7ae-c9f7-4a40-b6e0-4c2050bd1a99", - "name": "denoising_end", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 1 - }, - "scheduler": { - "id": "14423e0d-7215-4ee0-b065-f9e95eaa8d7d", - "name": "scheduler", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "SchedulerField" - }, - "value": "dpmpp_2m_sde_k" - }, - "unet": { - "id": "e73bbf98-6489-492b-b83c-faed215febac", - "name": "unet", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "UNetField" - } - }, - "control": { - "id": "dab351b3-0c86-4ea5-9782-4e8edbfb0607", - "name": "control", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "ControlField" - } - }, - "ip_adapter": { - "id": "192daea0-a90a-43cc-a2ee-0114a8e90318", - "name": "ip_adapter", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "IPAdapterField" - } - }, - "t2i_adapter": { - "id": "ee386a55-d4c7-48c1-ac57-7bc4e3aada7a", - "name": "t2i_adapter", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "T2IAdapterField" - } - }, - "cfg_rescale_multiplier": { - "id": "106bbe8d-e641-4034-9a39-d4e82c298da1", - "name": "cfg_rescale_multiplier", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0 - }, - "latents": { - "id": "3a922c6a-3d8c-4c9e-b3ec-2f4d81cda077", - "name": "latents", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "denoise_mask": { - "id": "cd7ce032-835f-495f-8b45-d57272f33132", - "name": "denoise_mask", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "DenoiseMaskField" - } - } - }, - "outputs": { - "latents": { - "id": "6260b84f-8361-470a-98d8-5b22a45c2d8c", - "name": "latents", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "width": { - "id": "aede0ecf-25b6-46be-aa30-b77f79715deb", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "519abf62-d475-48ef-ab8f-66136bc0e499", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 702, - "position": { - "x": 1125, - "y": -500 - } - }, - { - "id": "0093692f-9cf4-454d-a5b8-62f0e3eb3bb8", - "type": "invocation", - "data": { - "id": "0093692f-9cf4-454d-a5b8-62f0e3eb3bb8", - "type": "vae_loader", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "inputs": { - "vae_model": { - "id": "28a17000-b629-49c6-b945-77c591cf7440", - "name": "vae_model", - "fieldKind": "input", - "label": "VAE (use the FP16 model)", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "VAEModelField" - }, - "value": null - } - }, - "outputs": { - "vae": { - "id": "a34892b6-ba6d-44eb-8a68-af1f40a84186", - "name": "vae", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "VaeField" - } - } - } - }, - "width": 320, - "height": 161, - "position": { - "x": 375, - "y": -225 - } - }, - { - "id": "ade2c0d3-0384-4157-b39b-29ce429cfa15", - "type": "invocation", - "data": { - "id": "ade2c0d3-0384-4157-b39b-29ce429cfa15", - "type": "string", - "label": "Positive Prompt", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "inputs": { - "value": { - "id": "744a5f7c-6e3a-4fbc-ac66-ba0cf8559eeb", - "name": "value", - "fieldKind": "input", - "label": "Positive Prompt", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "Super cute tiger cub, fierce, traditional chinese watercolor" - } - }, - "outputs": { - "value": { - "id": "3e0ddf7a-a5de-4dad-b726-5d0cb4e0baa6", - "name": "value", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - } - } - } - }, - "width": 320, - "height": 258, - "position": { - "x": 750, - "y": -500 - } - }, - { - "id": "ad8fa655-3a76-43d0-9c02-4d7644dea650", - "type": "invocation", - "data": { - "id": "ad8fa655-3a76-43d0-9c02-4d7644dea650", - "type": "string_join", - "label": "Negative Style Concat", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "inputs": { - "string_left": { - "id": "8d84be5c-4a96-46ad-a92c-eaf6fcae4a69", - "name": "string_left", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "string_right": { - "id": "c8e2a881-f675-4c6b-865b-a0892473b750", - "name": "string_right", - "fieldKind": "input", - "label": "Negative Style Prompt", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - } - }, - "outputs": { - "value": { - "id": "196fad08-73ea-4fe5-8cc3-b55fd3cf40e5", - "name": "value", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 750, - "y": 150 - } - } - ], - "edges": [ - { - "id": "3774ec24-a69e-4254-864c-097d07a6256f-faf965a4-7530-427b-b1f3-4ba6505c2a08-collapsed", - "source": "3774ec24-a69e-4254-864c-097d07a6256f", - "target": "faf965a4-7530-427b-b1f3-4ba6505c2a08", - "type": "collapsed" - }, - { - "id": "ad8fa655-3a76-43d0-9c02-4d7644dea650-3193ad09-a7c2-4bf4-a3a9-1c61cc33a204-collapsed", - "source": "ad8fa655-3a76-43d0-9c02-4d7644dea650", - "target": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", - "type": "collapsed" - }, - { - "id": "reactflow__edge-ea94bc37-d995-4a83-aa99-4af42479f2f2value-55705012-79b9-4aac-9f26-c0b10309785bseed", - "source": "ea94bc37-d995-4a83-aa99-4af42479f2f2", - "target": "55705012-79b9-4aac-9f26-c0b10309785b", - "type": "default", - "sourceHandle": "value", - "targetHandle": "seed" - }, - { - "id": "reactflow__edge-30d3289c-773c-4152-a9d2-bd8a99c8fd22clip-faf965a4-7530-427b-b1f3-4ba6505c2a08clip", - "source": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", - "target": "faf965a4-7530-427b-b1f3-4ba6505c2a08", - "type": "default", - "sourceHandle": "clip", - "targetHandle": "clip" - }, - { - "id": "reactflow__edge-30d3289c-773c-4152-a9d2-bd8a99c8fd22clip2-faf965a4-7530-427b-b1f3-4ba6505c2a08clip2", - "source": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", - "target": "faf965a4-7530-427b-b1f3-4ba6505c2a08", - "type": "default", - "sourceHandle": "clip2", - "targetHandle": "clip2" - }, - { - "id": "reactflow__edge-30d3289c-773c-4152-a9d2-bd8a99c8fd22clip-3193ad09-a7c2-4bf4-a3a9-1c61cc33a204clip", - "source": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", - "target": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", - "type": "default", - "sourceHandle": "clip", - "targetHandle": "clip" - }, - { - "id": "reactflow__edge-30d3289c-773c-4152-a9d2-bd8a99c8fd22clip2-3193ad09-a7c2-4bf4-a3a9-1c61cc33a204clip2", - "source": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", - "target": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", - "type": "default", - "sourceHandle": "clip2", - "targetHandle": "clip2" - }, - { - "id": "reactflow__edge-30d3289c-773c-4152-a9d2-bd8a99c8fd22unet-50a36525-3c0a-4cc5-977c-e4bfc3fd6dfbunet", - "source": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", - "target": "50a36525-3c0a-4cc5-977c-e4bfc3fd6dfb", - "type": "default", - "sourceHandle": "unet", - "targetHandle": "unet" - }, - { - "id": "reactflow__edge-faf965a4-7530-427b-b1f3-4ba6505c2a08conditioning-50a36525-3c0a-4cc5-977c-e4bfc3fd6dfbpositive_conditioning", - "source": "faf965a4-7530-427b-b1f3-4ba6505c2a08", - "target": "50a36525-3c0a-4cc5-977c-e4bfc3fd6dfb", - "type": "default", - "sourceHandle": "conditioning", - "targetHandle": "positive_conditioning" - }, - { - "id": "reactflow__edge-3193ad09-a7c2-4bf4-a3a9-1c61cc33a204conditioning-50a36525-3c0a-4cc5-977c-e4bfc3fd6dfbnegative_conditioning", - "source": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", - "target": "50a36525-3c0a-4cc5-977c-e4bfc3fd6dfb", - "type": "default", - "sourceHandle": "conditioning", - "targetHandle": "negative_conditioning" - }, - { - "id": "reactflow__edge-55705012-79b9-4aac-9f26-c0b10309785bnoise-50a36525-3c0a-4cc5-977c-e4bfc3fd6dfbnoise", - "source": "55705012-79b9-4aac-9f26-c0b10309785b", - "target": "50a36525-3c0a-4cc5-977c-e4bfc3fd6dfb", - "type": "default", - "sourceHandle": "noise", - "targetHandle": "noise" - }, - { - "id": "reactflow__edge-50a36525-3c0a-4cc5-977c-e4bfc3fd6dfblatents-63e91020-83b2-4f35-b174-ad9692aabb48latents", - "source": "50a36525-3c0a-4cc5-977c-e4bfc3fd6dfb", - "target": "63e91020-83b2-4f35-b174-ad9692aabb48", - "type": "default", - "sourceHandle": "latents", - "targetHandle": "latents" - }, - { - "id": "reactflow__edge-0093692f-9cf4-454d-a5b8-62f0e3eb3bb8vae-63e91020-83b2-4f35-b174-ad9692aabb48vae", - "source": "0093692f-9cf4-454d-a5b8-62f0e3eb3bb8", - "target": "63e91020-83b2-4f35-b174-ad9692aabb48", - "type": "default", - "sourceHandle": "vae", - "targetHandle": "vae" - }, - { - "id": "reactflow__edge-ade2c0d3-0384-4157-b39b-29ce429cfa15value-faf965a4-7530-427b-b1f3-4ba6505c2a08prompt", - "source": "ade2c0d3-0384-4157-b39b-29ce429cfa15", - "target": "faf965a4-7530-427b-b1f3-4ba6505c2a08", - "type": "default", - "sourceHandle": "value", - "targetHandle": "prompt" - }, - { - "id": "reactflow__edge-719dabe8-8297-4749-aea1-37be301cd425value-3193ad09-a7c2-4bf4-a3a9-1c61cc33a204prompt", - "source": "719dabe8-8297-4749-aea1-37be301cd425", - "target": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", - "type": "default", - "sourceHandle": "value", - "targetHandle": "prompt" - }, - { - "id": "reactflow__edge-719dabe8-8297-4749-aea1-37be301cd425value-ad8fa655-3a76-43d0-9c02-4d7644dea650string_left", - "source": "719dabe8-8297-4749-aea1-37be301cd425", - "target": "ad8fa655-3a76-43d0-9c02-4d7644dea650", - "type": "default", - "sourceHandle": "value", - "targetHandle": "string_left" - }, - { - "id": "reactflow__edge-ad8fa655-3a76-43d0-9c02-4d7644dea650value-3193ad09-a7c2-4bf4-a3a9-1c61cc33a204style", - "source": "ad8fa655-3a76-43d0-9c02-4d7644dea650", - "target": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", - "type": "default", - "sourceHandle": "value", - "targetHandle": "style" - }, - { - "id": "reactflow__edge-ade2c0d3-0384-4157-b39b-29ce429cfa15value-3774ec24-a69e-4254-864c-097d07a6256fstring_left", - "source": "ade2c0d3-0384-4157-b39b-29ce429cfa15", - "target": "3774ec24-a69e-4254-864c-097d07a6256f", - "type": "default", - "sourceHandle": "value", - "targetHandle": "string_left" - }, - { - "id": "reactflow__edge-3774ec24-a69e-4254-864c-097d07a6256fvalue-faf965a4-7530-427b-b1f3-4ba6505c2a08style", - "source": "3774ec24-a69e-4254-864c-097d07a6256f", - "target": "faf965a4-7530-427b-b1f3-4ba6505c2a08", - "type": "default", - "sourceHandle": "value", - "targetHandle": "style" - } - ] -} diff --git a/docs/workflows/SDXL_w_Refiner_Text_to_Image.json b/docs/workflows/SDXL_w_Refiner_Text_to_Image.json deleted file mode 100644 index 634b3fac4b8..00000000000 --- a/docs/workflows/SDXL_w_Refiner_Text_to_Image.json +++ /dev/null @@ -1,1900 +0,0 @@ -{ - "name": "SDXL w/Refiner Text to Image", - "author": "InvokeAI", - "description": "Sample text to image workflow for SDXL with the refiner", - "version": "1.0.1", - "contact": "invoke@invoke.ai", - "tags": "text2image, SDXL, default, refiner", - "notes": "", - "exposedFields": [ - { - "nodeId": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", - "fieldName": "model" - }, - { - "nodeId": "06a30867-1e9d-461f-bd58-14a63cc997dd", - "fieldName": "scheduler" - }, - { - "nodeId": "62bdf243-d98f-4508-b6b5-c3af00ef49f0", - "fieldName": "model" - }, - { - "nodeId": "b2b35add-929d-4538-aecb-02c661768b29", - "fieldName": "value" - }, - { - "nodeId": "f1a6a160-4c36-4902-8eeb-8b1c23e81bc8", - "fieldName": "value" - }, - { - "nodeId": "5639e3bc-b769-4ae5-9262-72db703c5a7b", - "fieldName": "value" - }, - { - "nodeId": "8d54b9db-3662-43af-8369-9a277e063f3b", - "fieldName": "value" - } - ], - "meta": { - "category": "user", - "version": "2.0.0" - }, - "nodes": [ - { - "id": "b2b35add-929d-4538-aecb-02c661768b29", - "type": "invocation", - "data": { - "id": "b2b35add-929d-4538-aecb-02c661768b29", - "type": "string", - "label": "Positive Prompt", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "value": { - "id": "89854c84-cbc1-4b60-921d-4bade11cab66", - "name": "value", - "fieldKind": "input", - "label": "Positive Prompt", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "super cute tiger" - } - }, - "outputs": { - "value": { - "id": "3617404e-e483-4e2e-8550-7080a1ef283f", - "name": "value", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - } - } - } - }, - "position": { - "x": 700, - "y": -75 - }, - "width": 320, - "height": 24 - }, - { - "id": "8d54b9db-3662-43af-8369-9a277e063f3b", - "type": "invocation", - "data": { - "id": "8d54b9db-3662-43af-8369-9a277e063f3b", - "type": "string", - "label": "Negative Style", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "value": { - "id": "89854c84-cbc1-4b60-921d-4bade11cab66", - "name": "value", - "fieldKind": "input", - "label": "Negative Style", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - } - }, - "outputs": { - "value": { - "id": "3617404e-e483-4e2e-8550-7080a1ef283f", - "name": "value", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - } - } - } - }, - "position": { - "x": 700, - "y": 75 - }, - "width": 320, - "height": 24 - }, - { - "id": "f1a6a160-4c36-4902-8eeb-8b1c23e81bc8", - "type": "invocation", - "data": { - "id": "f1a6a160-4c36-4902-8eeb-8b1c23e81bc8", - "type": "string", - "label": "Postive Style", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "value": { - "id": "89854c84-cbc1-4b60-921d-4bade11cab66", - "name": "value", - "fieldKind": "input", - "label": "Positive Style", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - } - }, - "outputs": { - "value": { - "id": "3617404e-e483-4e2e-8550-7080a1ef283f", - "name": "value", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - } - } - } - }, - "position": { - "x": 700, - "y": -25 - }, - "width": 320, - "height": 24 - }, - { - "id": "fbb2f1a0-2e68-411d-a955-60c3b8a6f2d1", - "type": "invocation", - "data": { - "id": "fbb2f1a0-2e68-411d-a955-60c3b8a6f2d1", - "type": "sdxl_refiner_compel_prompt", - "label": "SDXL Refiner Negative Compel Prompt", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "style": { - "id": "c6f91ecf-370f-44d0-8243-63724e75510a", - "name": "style", - "fieldKind": "input", - "label": "Negative Style", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "original_width": { - "id": "956f6eca-8324-41eb-a8dd-fa9b34164ca6", - "name": "original_width", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "original_height": { - "id": "a41bb3a1-7664-4dac-b6ae-6f4dff3828a9", - "name": "original_height", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "crop_top": { - "id": "81936e19-0ae7-4006-9d7c-e359fc7c7d15", - "name": "crop_top", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "crop_left": { - "id": "be94ddb8-88cc-4d6b-a2c0-f2b43143bfa1", - "name": "crop_left", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "aesthetic_score": { - "id": "60f380de-87b4-4535-b3ef-545a6e57283e", - "name": "aesthetic_score", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 6 - }, - "clip2": { - "id": "773c4054-c005-46ad-92c4-5c1fa4506041", - "name": "clip2", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - } - }, - "outputs": { - "conditioning": { - "id": "63e16bfa-59d8-4d6f-abda-ad979b26adb5", - "name": "conditioning", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - } - } - }, - "position": { - "x": 1625, - "y": -925 - }, - "width": 320, - "height": 483 - }, - { - "id": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", - "type": "invocation", - "data": { - "id": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", - "type": "sdxl_compel_prompt", - "label": "SDXL Negative Compel Prompt", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "prompt": { - "id": "5a6889e6-95cb-462f-8f4a-6b93ae7afaec", - "name": "prompt", - "fieldKind": "input", - "label": "Negative Prompt", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "style": { - "id": "f240d0e6-3a1c-4320-af23-20ebb707c276", - "name": "style", - "fieldKind": "input", - "label": "Negative Style", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "original_width": { - "id": "05af07b0-99a0-4a68-8ad2-697bbdb7fc7e", - "name": "original_width", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "original_height": { - "id": "2c771996-a998-43b7-9dd3-3792664d4e5b", - "name": "original_height", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "crop_top": { - "id": "66519dca-a151-4e3e-ae1f-88f1f9877bde", - "name": "crop_top", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "crop_left": { - "id": "349cf2e9-f3d0-4e16-9ae2-7097d25b6a51", - "name": "crop_left", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "target_width": { - "id": "44499347-7bd6-4a73-99d6-5a982786db05", - "name": "target_width", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "target_height": { - "id": "fda359b0-ab80-4f3c-805b-c9f61319d7d2", - "name": "target_height", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "clip": { - "id": "b447adaf-a649-4a76-a827-046a9fc8d89b", - "name": "clip", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - }, - "clip2": { - "id": "86ee4e32-08f9-4baa-9163-31d93f5c0187", - "name": "clip2", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - } - }, - "outputs": { - "conditioning": { - "id": "7c10118e-7b4e-4911-b98e-d3ba6347dfd0", - "name": "conditioning", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - } - } - }, - "position": { - "x": 900, - "y": -925 - }, - "width": 320, - "height": 699 - }, - { - "id": "55705012-79b9-4aac-9f26-c0b10309785b", - "type": "invocation", - "data": { - "id": "55705012-79b9-4aac-9f26-c0b10309785b", - "type": "noise", - "label": "", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.1", - "nodePack": "invokeai", - "inputs": { - "seed": { - "id": "6431737c-918a-425d-a3b4-5d57e2f35d4d", - "name": "seed", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "width": { - "id": "38fc5b66-fe6e-47c8-bba9-daf58e454ed7", - "name": "width", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "height": { - "id": "16298330-e2bf-4872-a514-d6923df53cbb", - "name": "height", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "use_cpu": { - "id": "c7c436d3-7a7a-4e76-91e4-c6deb271623c", - "name": "use_cpu", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": true - } - }, - "outputs": { - "noise": { - "id": "50f650dc-0184-4e23-a927-0497a96fe954", - "name": "noise", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "width": { - "id": "bb8a452b-133d-42d1-ae4a-3843d7e4109a", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "35cfaa12-3b8b-4b7a-a884-327ff3abddd9", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "position": { - "x": 1275, - "y": -200 - }, - "width": 320, - "height": 24 - }, - { - "id": "ea94bc37-d995-4a83-aa99-4af42479f2f2", - "type": "invocation", - "data": { - "id": "ea94bc37-d995-4a83-aa99-4af42479f2f2", - "type": "rand_int", - "label": "Random Seed", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": false, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "low": { - "id": "3ec65a37-60ba-4b6c-a0b2-553dd7a84b84", - "name": "low", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "high": { - "id": "085f853a-1a5f-494d-8bec-e4ba29a3f2d1", - "name": "high", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 2147483647 - } - }, - "outputs": { - "value": { - "id": "812ade4d-7699-4261-b9fc-a6c9d2ab55ee", - "name": "value", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "position": { - "x": 1275, - "y": -250 - }, - "width": 320, - "height": 24 - }, - { - "id": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", - "type": "invocation", - "data": { - "id": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", - "type": "sdxl_model_loader", - "label": "", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "model": { - "id": "39f9e799-bc95-4318-a200-30eed9e60c42", - "name": "model", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "SDXLMainModelField" - }, - "value": { - "model_name": "stable-diffusion-xl-base-1.0", - "base_model": "sdxl", - "model_type": "main" - } - } - }, - "outputs": { - "unet": { - "id": "2626a45e-59aa-4609-b131-2d45c5eaed69", - "name": "unet", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "UNetField" - } - }, - "clip": { - "id": "7c9c42fa-93d5-4639-ab8b-c4d9b0559baf", - "name": "clip", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - }, - "clip2": { - "id": "0dafddcf-a472-49c1-a47c-7b8fab4c8bc9", - "name": "clip2", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - }, - "vae": { - "id": "ee6a6997-1b3c-4ff3-99ce-1e7bfba2750c", - "name": "vae", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "VaeField" - } - } - } - }, - "position": { - "x": 700, - "y": 175 - }, - "width": 320, - "height": 24 - }, - { - "id": "faf965a4-7530-427b-b1f3-4ba6505c2a08", - "type": "invocation", - "data": { - "id": "faf965a4-7530-427b-b1f3-4ba6505c2a08", - "type": "sdxl_compel_prompt", - "label": "SDXL Positive Compel Prompt", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "prompt": { - "id": "5a6889e6-95cb-462f-8f4a-6b93ae7afaec", - "name": "prompt", - "fieldKind": "input", - "label": "Positive Prompt", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "style": { - "id": "f240d0e6-3a1c-4320-af23-20ebb707c276", - "name": "style", - "fieldKind": "input", - "label": "Positive Style", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "original_width": { - "id": "05af07b0-99a0-4a68-8ad2-697bbdb7fc7e", - "name": "original_width", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "original_height": { - "id": "2c771996-a998-43b7-9dd3-3792664d4e5b", - "name": "original_height", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "crop_top": { - "id": "66519dca-a151-4e3e-ae1f-88f1f9877bde", - "name": "crop_top", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "crop_left": { - "id": "349cf2e9-f3d0-4e16-9ae2-7097d25b6a51", - "name": "crop_left", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "target_width": { - "id": "44499347-7bd6-4a73-99d6-5a982786db05", - "name": "target_width", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "target_height": { - "id": "fda359b0-ab80-4f3c-805b-c9f61319d7d2", - "name": "target_height", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "clip": { - "id": "b447adaf-a649-4a76-a827-046a9fc8d89b", - "name": "clip", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - }, - "clip2": { - "id": "86ee4e32-08f9-4baa-9163-31d93f5c0187", - "name": "clip2", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - } - }, - "outputs": { - "conditioning": { - "id": "7c10118e-7b4e-4911-b98e-d3ba6347dfd0", - "name": "conditioning", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - } - } - }, - "position": { - "x": 550, - "y": -925 - }, - "width": 320, - "height": 699 - }, - { - "id": "f0e06b70-9f53-44e3-8f5f-63d813b6b579", - "type": "invocation", - "data": { - "id": "f0e06b70-9f53-44e3-8f5f-63d813b6b579", - "type": "sdxl_refiner_compel_prompt", - "label": "SDXL Refiner Positive Compel Prompt", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "style": { - "id": "c6f91ecf-370f-44d0-8243-63724e75510a", - "name": "style", - "fieldKind": "input", - "label": "Positive Style", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "original_width": { - "id": "956f6eca-8324-41eb-a8dd-fa9b34164ca6", - "name": "original_width", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "original_height": { - "id": "a41bb3a1-7664-4dac-b6ae-6f4dff3828a9", - "name": "original_height", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 1024 - }, - "crop_top": { - "id": "81936e19-0ae7-4006-9d7c-e359fc7c7d15", - "name": "crop_top", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "crop_left": { - "id": "be94ddb8-88cc-4d6b-a2c0-f2b43143bfa1", - "name": "crop_left", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "aesthetic_score": { - "id": "60f380de-87b4-4535-b3ef-545a6e57283e", - "name": "aesthetic_score", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 6 - }, - "clip2": { - "id": "773c4054-c005-46ad-92c4-5c1fa4506041", - "name": "clip2", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - } - }, - "outputs": { - "conditioning": { - "id": "63e16bfa-59d8-4d6f-abda-ad979b26adb5", - "name": "conditioning", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - } - } - }, - "position": { - "x": 1275, - "y": -925 - }, - "width": 320, - "height": 483 - }, - { - "id": "62bdf243-d98f-4508-b6b5-c3af00ef49f0", - "type": "invocation", - "data": { - "id": "62bdf243-d98f-4508-b6b5-c3af00ef49f0", - "type": "sdxl_refiner_model_loader", - "label": "", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "model": { - "id": "2f09431c-096b-4848-b580-b37be773839d", - "name": "model", - "fieldKind": "input", - "label": "Refiner Model", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "SDXLRefinerModelField" - }, - "value": { - "model_name": "stable-diffusion-xl-refiner-1.0", - "base_model": "sdxl-refiner", - "model_type": "main" - } - } - }, - "outputs": { - "unet": { - "id": "c06b335a-7f65-4165-9ca2-40107eb9c85b", - "name": "unet", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "UNetField" - } - }, - "clip2": { - "id": "81ec105e-cc1f-4b78-a5bb-8df3a4dd2574", - "name": "clip2", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - }, - "vae": { - "id": "f516feab-873d-47ec-a946-b8f15eed4bed", - "name": "vae", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "VaeField" - } - } - } - }, - "position": { - "x": 700, - "y": 225 - }, - "width": 320, - "height": 24 - }, - { - "id": "5639e3bc-b769-4ae5-9262-72db703c5a7b", - "type": "invocation", - "data": { - "id": "5639e3bc-b769-4ae5-9262-72db703c5a7b", - "type": "string", - "label": "Negative Prompt", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "value": { - "id": "89854c84-cbc1-4b60-921d-4bade11cab66", - "name": "value", - "fieldKind": "input", - "label": "Negative Prompt", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - } - }, - "outputs": { - "value": { - "id": "3617404e-e483-4e2e-8550-7080a1ef283f", - "name": "value", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - } - } - } - }, - "position": { - "x": 700, - "y": 25 - }, - "width": 320, - "height": 24 - }, - { - "id": "06a30867-1e9d-461f-bd58-14a63cc997dd", - "type": "invocation", - "data": { - "id": "06a30867-1e9d-461f-bd58-14a63cc997dd", - "type": "scheduler", - "label": "", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "scheduler": { - "id": "0be5a5a0-3388-41e1-a6c4-10d414d8fe5b", - "name": "scheduler", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "SchedulerField" - }, - "value": "euler" - } - }, - "outputs": { - "scheduler": { - "id": "cafdef9d-61cd-4f43-be91-356a1d65afca", - "name": "scheduler", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "SchedulerField" - } - } - } - }, - "position": { - "x": 700, - "y": 125 - }, - "width": 320, - "height": 24 - }, - { - "id": "84df8f00-ea7e-499f-ab86-d019ddea5393", - "type": "invocation", - "data": { - "id": "84df8f00-ea7e-499f-ab86-d019ddea5393", - "type": "denoise_latents", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.5.1", - "nodePack": "invokeai", - "inputs": { - "positive_conditioning": { - "id": "73b2ebc2-4a56-4809-b8ab-b78fde786961", - "name": "positive_conditioning", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - }, - "negative_conditioning": { - "id": "04d1bfbb-6cdc-4c16-8e08-290ba86ca8ba", - "name": "negative_conditioning", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - }, - "noise": { - "id": "39ea4659-ea69-415f-85c0-a06f94d53e14", - "name": "noise", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "steps": { - "id": "dfd3c295-adae-499a-8c94-3c6c6d9ece0e", - "name": "steps", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 10 - }, - "cfg_scale": { - "id": "2ae0c196-8c94-4ea8-a9fc-1be06938a0c3", - "name": "cfg_scale", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "FloatField" - }, - "value": 7.5 - }, - "denoising_start": { - "id": "3d085ec1-14de-4eef-9853-2edf5d81daac", - "name": "denoising_start", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0 - }, - "denoising_end": { - "id": "1a820924-15ca-4ba5-b981-6b588e486a5b", - "name": "denoising_end", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0.8 - }, - "scheduler": { - "id": "d0d19fab-5001-4c5d-b664-031df1a65311", - "name": "scheduler", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "SchedulerField" - }, - "value": "euler" - }, - "unet": { - "id": "efbdecd1-5c07-420c-bd58-52de43fcde4c", - "name": "unet", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "UNetField" - } - }, - "control": { - "id": "e1a457c4-5546-4c02-83e1-092776b27cd1", - "name": "control", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "ControlField" - } - }, - "ip_adapter": { - "id": "d4082d78-7f17-4f87-af05-5a76129737ba", - "name": "ip_adapter", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "IPAdapterField" - } - }, - "t2i_adapter": { - "id": "4841595c-f81b-440a-9377-fe89b26b42ac", - "name": "t2i_adapter", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "T2IAdapterField" - } - }, - "cfg_rescale_multiplier": { - "id": "679083b2-f137-416f-a9d8-ec38f6263c1f", - "name": "cfg_rescale_multiplier", - "type": { - "name": "FloatField", - "isCollection": false, - "isCollectionOrScalar": false - }, - "label": "", - "fieldKind": "input", - "value": 0 - }, - "latents": { - "id": "60bbfc7e-6641-4354-b678-12029c580aa9", - "name": "latents", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "denoise_mask": { - "id": "b2876171-e4c5-45cf-a352-852047c902fc", - "name": "denoise_mask", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "DenoiseMaskField" - } - } - }, - "outputs": { - "latents": { - "id": "62705a29-cc3a-4154-8f62-a8f821daf861", - "name": "latents", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "width": { - "id": "eb2e2312-1e64-4008-a64f-6783d49dde29", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "7bd8d012-edcf-4def-98eb-7ebdd724c7c5", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "position": { - "x": 1269.2683722842958, - "y": -119.4839111990423 - }, - "width": 320, - "height": 614 - }, - { - "id": "3d40eda5-ff7b-4dff-8d2e-4f44742faa1b", - "type": "invocation", - "data": { - "id": "3d40eda5-ff7b-4dff-8d2e-4f44742faa1b", - "type": "denoise_latents", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.5.1", - "nodePack": "invokeai", - "inputs": { - "positive_conditioning": { - "id": "a9c932a9-6164-4333-bade-3909c9a3ce59", - "name": "positive_conditioning", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - }, - "negative_conditioning": { - "id": "a57fced5-aca6-40c9-8197-ce4f01433111", - "name": "negative_conditioning", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - }, - "noise": { - "id": "b4cbec14-c24e-4ec2-bda3-8fc19c089717", - "name": "noise", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "steps": { - "id": "24dd36f7-fdf1-40c9-945c-216471b44a2f", - "name": "steps", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 10 - }, - "cfg_scale": { - "id": "5f3a7f0c-5088-49e9-b490-75822d0c20cc", - "name": "cfg_scale", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "FloatField" - }, - "value": 7.5 - }, - "denoising_start": { - "id": "b326ffde-625c-49c5-b5e1-90b79df80979", - "name": "denoising_start", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0.8 - }, - "denoising_end": { - "id": "d4a458ef-5576-4c5d-8e6d-ee04c9c7c4dc", - "name": "denoising_end", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 1 - }, - "scheduler": { - "id": "95aba2d0-c470-44f2-a25c-a192600be6da", - "name": "scheduler", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "SchedulerField" - }, - "value": "euler" - }, - "unet": { - "id": "68a8636e-3b2f-4a95-bd05-d86a01edb74a", - "name": "unet", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "UNetField" - } - }, - "control": { - "id": "508e68a6-1cfc-4121-baed-b829b2886474", - "name": "control", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "ControlField" - } - }, - "ip_adapter": { - "id": "e976e72f-8bd1-44d4-ad75-8410db221e3f", - "name": "ip_adapter", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "IPAdapterField" - } - }, - "t2i_adapter": { - "id": "38e15c99-ff72-443a-bddc-440fab9ccefc", - "name": "t2i_adapter", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "T2IAdapterField" - } - }, - "cfg_rescale_multiplier": { - "id": "30c6aca9-333d-49fa-be99-89daf82fe850", - "name": "cfg_rescale_multiplier", - "type": { - "name": "FloatField", - "isCollection": false, - "isCollectionOrScalar": false - }, - "label": "", - "fieldKind": "input", - "value": 0 - }, - "latents": { - "id": "f6d628e8-05ca-4ee3-a5a4-35323ebeb853", - "name": "latents", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "denoise_mask": { - "id": "e2385456-d127-4793-98ca-d93b4aee3481", - "name": "denoise_mask", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "DenoiseMaskField" - } - } - }, - "outputs": { - "latents": { - "id": "a61efc39-ba21-468b-ae58-5922337cf399", - "name": "latents", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "width": { - "id": "9093043b-808b-4ac6-ab18-7d721a7e39d7", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "5ff472a4-ee22-4988-bcf7-7d6116a37e5a", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "position": { - "x": 1672.552348276784, - "y": -118.3156091718022 - }, - "width": 320, - "height": 614 - }, - { - "id": "17eb4b88-bdd8-4984-affa-26586b146866", - "type": "invocation", - "data": { - "id": "17eb4b88-bdd8-4984-affa-26586b146866", - "type": "l2i", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": false, - "useCache": true, - "version": "1.2.0", - "nodePack": "invokeai", - "inputs": { - "metadata": { - "id": "04f49f70-8ee6-43e3-ac63-af02e5b34204", - "name": "metadata", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MetadataField" - } - }, - "latents": { - "id": "d27c4313-01db-45cb-b9f4-6a827d0d766a", - "name": "latents", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "vae": { - "id": "3751b0f6-69f3-4f95-a7f9-476b2d31e9f9", - "name": "vae", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "VaeField" - } - }, - "tiled": { - "id": "07e5e79a-b452-4beb-b26f-715da2387ac7", - "name": "tiled", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": false - }, - "fp32": { - "id": "afe954f6-ecaf-4eac-98ee-23f4d0eb7a6b", - "name": "fp32", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": false - } - }, - "outputs": { - "image": { - "id": "98515f37-9fe7-420e-839b-6e349d9407df", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "5203f61f-02db-423c-9c85-80aa20816dea", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "499e6152-c604-4dad-84c3-8c5b26a39919", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "position": { - "x": 2045.2934900771834, - "y": -362.2916292593367 - }, - "width": 320, - "height": 225 - } - ], - "edges": [ - { - "id": "ea94bc37-d995-4a83-aa99-4af42479f2f2-55705012-79b9-4aac-9f26-c0b10309785b-collapsed", - "type": "collapsed", - "source": "ea94bc37-d995-4a83-aa99-4af42479f2f2", - "target": "55705012-79b9-4aac-9f26-c0b10309785b" - }, - { - "id": "reactflow__edge-ea94bc37-d995-4a83-aa99-4af42479f2f2value-55705012-79b9-4aac-9f26-c0b10309785bseed", - "type": "default", - "source": "ea94bc37-d995-4a83-aa99-4af42479f2f2", - "target": "55705012-79b9-4aac-9f26-c0b10309785b", - "sourceHandle": "value", - "targetHandle": "seed" - }, - { - "id": "reactflow__edge-30d3289c-773c-4152-a9d2-bd8a99c8fd22clip-faf965a4-7530-427b-b1f3-4ba6505c2a08clip", - "type": "default", - "source": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", - "target": "faf965a4-7530-427b-b1f3-4ba6505c2a08", - "sourceHandle": "clip", - "targetHandle": "clip" - }, - { - "id": "reactflow__edge-30d3289c-773c-4152-a9d2-bd8a99c8fd22clip2-faf965a4-7530-427b-b1f3-4ba6505c2a08clip2", - "type": "default", - "source": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", - "target": "faf965a4-7530-427b-b1f3-4ba6505c2a08", - "sourceHandle": "clip2", - "targetHandle": "clip2" - }, - { - "id": "reactflow__edge-30d3289c-773c-4152-a9d2-bd8a99c8fd22clip-3193ad09-a7c2-4bf4-a3a9-1c61cc33a204clip", - "type": "default", - "source": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", - "target": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", - "sourceHandle": "clip", - "targetHandle": "clip" - }, - { - "id": "reactflow__edge-30d3289c-773c-4152-a9d2-bd8a99c8fd22clip2-3193ad09-a7c2-4bf4-a3a9-1c61cc33a204clip2", - "type": "default", - "source": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", - "target": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", - "sourceHandle": "clip2", - "targetHandle": "clip2" - }, - { - "id": "reactflow__edge-62bdf243-d98f-4508-b6b5-c3af00ef49f0clip2-f0e06b70-9f53-44e3-8f5f-63d813b6b579clip2", - "type": "default", - "source": "62bdf243-d98f-4508-b6b5-c3af00ef49f0", - "target": "f0e06b70-9f53-44e3-8f5f-63d813b6b579", - "sourceHandle": "clip2", - "targetHandle": "clip2" - }, - { - "id": "reactflow__edge-62bdf243-d98f-4508-b6b5-c3af00ef49f0clip2-fbb2f1a0-2e68-411d-a955-60c3b8a6f2d1clip2", - "type": "default", - "source": "62bdf243-d98f-4508-b6b5-c3af00ef49f0", - "target": "fbb2f1a0-2e68-411d-a955-60c3b8a6f2d1", - "sourceHandle": "clip2", - "targetHandle": "clip2" - }, - { - "id": "reactflow__edge-5639e3bc-b769-4ae5-9262-72db703c5a7bvalue-3193ad09-a7c2-4bf4-a3a9-1c61cc33a204prompt", - "type": "default", - "source": "5639e3bc-b769-4ae5-9262-72db703c5a7b", - "target": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", - "sourceHandle": "value", - "targetHandle": "prompt" - }, - { - "id": "reactflow__edge-f1a6a160-4c36-4902-8eeb-8b1c23e81bc8value-faf965a4-7530-427b-b1f3-4ba6505c2a08style", - "type": "default", - "source": "f1a6a160-4c36-4902-8eeb-8b1c23e81bc8", - "target": "faf965a4-7530-427b-b1f3-4ba6505c2a08", - "sourceHandle": "value", - "targetHandle": "style" - }, - { - "id": "reactflow__edge-b2b35add-929d-4538-aecb-02c661768b29value-faf965a4-7530-427b-b1f3-4ba6505c2a08prompt", - "type": "default", - "source": "b2b35add-929d-4538-aecb-02c661768b29", - "target": "faf965a4-7530-427b-b1f3-4ba6505c2a08", - "sourceHandle": "value", - "targetHandle": "prompt" - }, - { - "id": "reactflow__edge-f1a6a160-4c36-4902-8eeb-8b1c23e81bc8value-f0e06b70-9f53-44e3-8f5f-63d813b6b579style", - "type": "default", - "source": "f1a6a160-4c36-4902-8eeb-8b1c23e81bc8", - "target": "f0e06b70-9f53-44e3-8f5f-63d813b6b579", - "sourceHandle": "value", - "targetHandle": "style" - }, - { - "id": "reactflow__edge-8d54b9db-3662-43af-8369-9a277e063f3bvalue-fbb2f1a0-2e68-411d-a955-60c3b8a6f2d1style", - "type": "default", - "source": "8d54b9db-3662-43af-8369-9a277e063f3b", - "target": "fbb2f1a0-2e68-411d-a955-60c3b8a6f2d1", - "sourceHandle": "value", - "targetHandle": "style" - }, - { - "id": "reactflow__edge-8d54b9db-3662-43af-8369-9a277e063f3bvalue-3193ad09-a7c2-4bf4-a3a9-1c61cc33a204style", - "type": "default", - "source": "8d54b9db-3662-43af-8369-9a277e063f3b", - "target": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", - "sourceHandle": "value", - "targetHandle": "style" - }, - { - "id": "reactflow__edge-3193ad09-a7c2-4bf4-a3a9-1c61cc33a204conditioning-84df8f00-ea7e-499f-ab86-d019ddea5393negative_conditioning", - "type": "default", - "source": "3193ad09-a7c2-4bf4-a3a9-1c61cc33a204", - "target": "84df8f00-ea7e-499f-ab86-d019ddea5393", - "sourceHandle": "conditioning", - "targetHandle": "negative_conditioning" - }, - { - "id": "reactflow__edge-faf965a4-7530-427b-b1f3-4ba6505c2a08conditioning-84df8f00-ea7e-499f-ab86-d019ddea5393positive_conditioning", - "type": "default", - "source": "faf965a4-7530-427b-b1f3-4ba6505c2a08", - "target": "84df8f00-ea7e-499f-ab86-d019ddea5393", - "sourceHandle": "conditioning", - "targetHandle": "positive_conditioning" - }, - { - "id": "reactflow__edge-55705012-79b9-4aac-9f26-c0b10309785bnoise-84df8f00-ea7e-499f-ab86-d019ddea5393noise", - "type": "default", - "source": "55705012-79b9-4aac-9f26-c0b10309785b", - "target": "84df8f00-ea7e-499f-ab86-d019ddea5393", - "sourceHandle": "noise", - "targetHandle": "noise" - }, - { - "id": "reactflow__edge-30d3289c-773c-4152-a9d2-bd8a99c8fd22unet-84df8f00-ea7e-499f-ab86-d019ddea5393unet", - "type": "default", - "source": "30d3289c-773c-4152-a9d2-bd8a99c8fd22", - "target": "84df8f00-ea7e-499f-ab86-d019ddea5393", - "sourceHandle": "unet", - "targetHandle": "unet" - }, - { - "id": "reactflow__edge-06a30867-1e9d-461f-bd58-14a63cc997ddscheduler-84df8f00-ea7e-499f-ab86-d019ddea5393scheduler", - "type": "default", - "source": "06a30867-1e9d-461f-bd58-14a63cc997dd", - "target": "84df8f00-ea7e-499f-ab86-d019ddea5393", - "sourceHandle": "scheduler", - "targetHandle": "scheduler" - }, - { - "id": "reactflow__edge-84df8f00-ea7e-499f-ab86-d019ddea5393latents-3d40eda5-ff7b-4dff-8d2e-4f44742faa1blatents", - "type": "default", - "source": "84df8f00-ea7e-499f-ab86-d019ddea5393", - "target": "3d40eda5-ff7b-4dff-8d2e-4f44742faa1b", - "sourceHandle": "latents", - "targetHandle": "latents" - }, - { - "id": "reactflow__edge-62bdf243-d98f-4508-b6b5-c3af00ef49f0unet-3d40eda5-ff7b-4dff-8d2e-4f44742faa1bunet", - "type": "default", - "source": "62bdf243-d98f-4508-b6b5-c3af00ef49f0", - "target": "3d40eda5-ff7b-4dff-8d2e-4f44742faa1b", - "sourceHandle": "unet", - "targetHandle": "unet" - }, - { - "id": "reactflow__edge-f0e06b70-9f53-44e3-8f5f-63d813b6b579conditioning-3d40eda5-ff7b-4dff-8d2e-4f44742faa1bpositive_conditioning", - "type": "default", - "source": "f0e06b70-9f53-44e3-8f5f-63d813b6b579", - "target": "3d40eda5-ff7b-4dff-8d2e-4f44742faa1b", - "sourceHandle": "conditioning", - "targetHandle": "positive_conditioning" - }, - { - "id": "reactflow__edge-fbb2f1a0-2e68-411d-a955-60c3b8a6f2d1conditioning-3d40eda5-ff7b-4dff-8d2e-4f44742faa1bnegative_conditioning", - "type": "default", - "source": "fbb2f1a0-2e68-411d-a955-60c3b8a6f2d1", - "target": "3d40eda5-ff7b-4dff-8d2e-4f44742faa1b", - "sourceHandle": "conditioning", - "targetHandle": "negative_conditioning" - }, - { - "id": "reactflow__edge-3d40eda5-ff7b-4dff-8d2e-4f44742faa1blatents-17eb4b88-bdd8-4984-affa-26586b146866latents", - "type": "default", - "source": "3d40eda5-ff7b-4dff-8d2e-4f44742faa1b", - "target": "17eb4b88-bdd8-4984-affa-26586b146866", - "sourceHandle": "latents", - "targetHandle": "latents" - }, - { - "id": "reactflow__edge-62bdf243-d98f-4508-b6b5-c3af00ef49f0vae-17eb4b88-bdd8-4984-affa-26586b146866vae", - "type": "default", - "source": "62bdf243-d98f-4508-b6b5-c3af00ef49f0", - "target": "17eb4b88-bdd8-4984-affa-26586b146866", - "sourceHandle": "vae", - "targetHandle": "vae" - } - ] -} \ No newline at end of file diff --git a/docs/workflows/Text_to_Image.json b/docs/workflows/Text_to_Image.json deleted file mode 100644 index 1e42df6e07a..00000000000 --- a/docs/workflows/Text_to_Image.json +++ /dev/null @@ -1,798 +0,0 @@ -{ - "name": "Text to Image - SD1.5", - "author": "InvokeAI", - "description": "Sample text to image workflow for Stable Diffusion 1.5/2", - "version": "1.1.0", - "contact": "invoke@invoke.ai", - "tags": "text2image, SD1.5, SD2, default", - "notes": "", - "exposedFields": [ - { - "nodeId": "c8d55139-f380-4695-b7f2-8b3d1e1e3db8", - "fieldName": "model" - }, - { - "nodeId": "7d8bf987-284f-413a-b2fd-d825445a5d6c", - "fieldName": "prompt" - }, - { - "nodeId": "93dc02a4-d05b-48ed-b99c-c9b616af3402", - "fieldName": "prompt" - }, - { - "nodeId": "55705012-79b9-4aac-9f26-c0b10309785b", - "fieldName": "width" - }, - { - "nodeId": "55705012-79b9-4aac-9f26-c0b10309785b", - "fieldName": "height" - } - ], - "meta": { - "category": "default", - "version": "2.0.0" - }, - "nodes": [ - { - "id": "93dc02a4-d05b-48ed-b99c-c9b616af3402", - "type": "invocation", - "data": { - "id": "93dc02a4-d05b-48ed-b99c-c9b616af3402", - "type": "compel", - "label": "Negative Compel Prompt", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "prompt": { - "id": "7739aff6-26cb-4016-8897-5a1fb2305e4e", - "name": "prompt", - "fieldKind": "input", - "label": "Negative Prompt", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "" - }, - "clip": { - "id": "48d23dce-a6ae-472a-9f8c-22a714ea5ce0", - "name": "clip", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - } - }, - "outputs": { - "conditioning": { - "id": "37cf3a9d-f6b7-4b64-8ff6-2558c5ecc447", - "name": "conditioning", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - } - } - }, - "width": 320, - "height": 259, - "position": { - "x": 1000, - "y": 350 - } - }, - { - "id": "55705012-79b9-4aac-9f26-c0b10309785b", - "type": "invocation", - "data": { - "id": "55705012-79b9-4aac-9f26-c0b10309785b", - "type": "noise", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.1", - "nodePack": "invokeai", - "inputs": { - "seed": { - "id": "6431737c-918a-425d-a3b4-5d57e2f35d4d", - "name": "seed", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "width": { - "id": "38fc5b66-fe6e-47c8-bba9-daf58e454ed7", - "name": "width", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 512 - }, - "height": { - "id": "16298330-e2bf-4872-a514-d6923df53cbb", - "name": "height", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 512 - }, - "use_cpu": { - "id": "c7c436d3-7a7a-4e76-91e4-c6deb271623c", - "name": "use_cpu", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": true - } - }, - "outputs": { - "noise": { - "id": "50f650dc-0184-4e23-a927-0497a96fe954", - "name": "noise", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "width": { - "id": "bb8a452b-133d-42d1-ae4a-3843d7e4109a", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "35cfaa12-3b8b-4b7a-a884-327ff3abddd9", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 388, - "position": { - "x": 600, - "y": 325 - } - }, - { - "id": "c8d55139-f380-4695-b7f2-8b3d1e1e3db8", - "type": "invocation", - "data": { - "id": "c8d55139-f380-4695-b7f2-8b3d1e1e3db8", - "type": "main_model_loader", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "model": { - "id": "993eabd2-40fd-44fe-bce7-5d0c7075ddab", - "name": "model", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MainModelField" - }, - "value": { - "model_name": "stable-diffusion-v1-5", - "base_model": "sd-1", - "model_type": "main" - } - } - }, - "outputs": { - "unet": { - "id": "5c18c9db-328d-46d0-8cb9-143391c410be", - "name": "unet", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "UNetField" - } - }, - "clip": { - "id": "6effcac0-ec2f-4bf5-a49e-a2c29cf921f4", - "name": "clip", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - }, - "vae": { - "id": "57683ba3-f5f5-4f58-b9a2-4b83dacad4a1", - "name": "vae", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "VaeField" - } - } - } - }, - "width": 320, - "height": 226, - "position": { - "x": 600, - "y": 25 - } - }, - { - "id": "7d8bf987-284f-413a-b2fd-d825445a5d6c", - "type": "invocation", - "data": { - "id": "7d8bf987-284f-413a-b2fd-d825445a5d6c", - "type": "compel", - "label": "Positive Compel Prompt", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "prompt": { - "id": "7739aff6-26cb-4016-8897-5a1fb2305e4e", - "name": "prompt", - "fieldKind": "input", - "label": "Positive Prompt", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "StringField" - }, - "value": "Super cute tiger cub, national geographic award-winning photograph" - }, - "clip": { - "id": "48d23dce-a6ae-472a-9f8c-22a714ea5ce0", - "name": "clip", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ClipField" - } - } - }, - "outputs": { - "conditioning": { - "id": "37cf3a9d-f6b7-4b64-8ff6-2558c5ecc447", - "name": "conditioning", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - } - } - }, - "width": 320, - "height": 259, - "position": { - "x": 1000, - "y": 25 - } - }, - { - "id": "ea94bc37-d995-4a83-aa99-4af42479f2f2", - "type": "invocation", - "data": { - "id": "ea94bc37-d995-4a83-aa99-4af42479f2f2", - "type": "rand_int", - "label": "Random Seed", - "isOpen": false, - "notes": "", - "isIntermediate": true, - "useCache": false, - "version": "1.0.0", - "nodePack": "invokeai", - "inputs": { - "low": { - "id": "3ec65a37-60ba-4b6c-a0b2-553dd7a84b84", - "name": "low", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 0 - }, - "high": { - "id": "085f853a-1a5f-494d-8bec-e4ba29a3f2d1", - "name": "high", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 2147483647 - } - }, - "outputs": { - "value": { - "id": "812ade4d-7699-4261-b9fc-a6c9d2ab55ee", - "name": "value", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 32, - "position": { - "x": 600, - "y": 275 - } - }, - { - "id": "eea2702a-19fb-45b5-9d75-56b4211ec03c", - "type": "invocation", - "data": { - "id": "eea2702a-19fb-45b5-9d75-56b4211ec03c", - "type": "denoise_latents", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": true, - "useCache": true, - "version": "1.5.0", - "nodePack": "invokeai", - "inputs": { - "positive_conditioning": { - "id": "90b7f4f8-ada7-4028-8100-d2e54f192052", - "name": "positive_conditioning", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - }, - "negative_conditioning": { - "id": "9393779e-796c-4f64-b740-902a1177bf53", - "name": "negative_conditioning", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ConditioningField" - } - }, - "noise": { - "id": "8e17f1e5-4f98-40b1-b7f4-86aeeb4554c1", - "name": "noise", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "steps": { - "id": "9b63302d-6bd2-42c9-ac13-9b1afb51af88", - "name": "steps", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - }, - "value": 50 - }, - "cfg_scale": { - "id": "87dd04d3-870e-49e1-98bf-af003a810109", - "name": "cfg_scale", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "FloatField" - }, - "value": 7.5 - }, - "denoising_start": { - "id": "f369d80f-4931-4740-9bcd-9f0620719fab", - "name": "denoising_start", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0 - }, - "denoising_end": { - "id": "747d10e5-6f02-445c-994c-0604d814de8c", - "name": "denoising_end", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 1 - }, - "scheduler": { - "id": "1de84a4e-3a24-4ec8-862b-16ce49633b9b", - "name": "scheduler", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "SchedulerField" - }, - "value": "unipc" - }, - "unet": { - "id": "ffa6fef4-3ce2-4bdb-9296-9a834849489b", - "name": "unet", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "UNetField" - } - }, - "control": { - "id": "077b64cb-34be-4fcc-83f2-e399807a02bd", - "name": "control", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "ControlField" - } - }, - "ip_adapter": { - "id": "1d6948f7-3a65-4a65-a20c-768b287251aa", - "name": "ip_adapter", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "IPAdapterField" - } - }, - "t2i_adapter": { - "id": "75e67b09-952f-4083-aaf4-6b804d690412", - "name": "t2i_adapter", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": true, - "name": "T2IAdapterField" - } - }, - "cfg_rescale_multiplier": { - "id": "9101f0a6-5fe0-4826-b7b3-47e5d506826c", - "name": "cfg_rescale_multiplier", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "FloatField" - }, - "value": 0 - }, - "latents": { - "id": "334d4ba3-5a99-4195-82c5-86fb3f4f7d43", - "name": "latents", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "denoise_mask": { - "id": "0d3dbdbf-b014-4e95-8b18-ff2ff9cb0bfa", - "name": "denoise_mask", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "DenoiseMaskField" - } - } - }, - "outputs": { - "latents": { - "id": "70fa5bbc-0c38-41bb-861a-74d6d78d2f38", - "name": "latents", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "width": { - "id": "98ee0e6c-82aa-4e8f-8be5-dc5f00ee47f0", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "e8cb184a-5e1a-47c8-9695-4b8979564f5d", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 703, - "position": { - "x": 1400, - "y": 25 - } - }, - { - "id": "58c957f5-0d01-41fc-a803-b2bbf0413d4f", - "type": "invocation", - "data": { - "id": "58c957f5-0d01-41fc-a803-b2bbf0413d4f", - "type": "l2i", - "label": "", - "isOpen": true, - "notes": "", - "isIntermediate": false, - "useCache": true, - "version": "1.2.0", - "nodePack": "invokeai", - "inputs": { - "metadata": { - "id": "ab375f12-0042-4410-9182-29e30db82c85", - "name": "metadata", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "MetadataField" - } - }, - "latents": { - "id": "3a7e7efd-bff5-47d7-9d48-615127afee78", - "name": "latents", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "LatentsField" - } - }, - "vae": { - "id": "a1f5f7a1-0795-4d58-b036-7820c0b0ef2b", - "name": "vae", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "VaeField" - } - }, - "tiled": { - "id": "da52059a-0cee-4668-942f-519aa794d739", - "name": "tiled", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": false - }, - "fp32": { - "id": "c4841df3-b24e-4140-be3b-ccd454c2522c", - "name": "fp32", - "fieldKind": "input", - "label": "", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "BooleanField" - }, - "value": true - } - }, - "outputs": { - "image": { - "id": "72d667d0-cf85-459d-abf2-28bd8b823fe7", - "name": "image", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "ImageField" - } - }, - "width": { - "id": "c8c907d8-1066-49d1-b9a6-83bdcd53addc", - "name": "width", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - }, - "height": { - "id": "230f359c-b4ea-436c-b372-332d7dcdca85", - "name": "height", - "fieldKind": "output", - "type": { - "isCollection": false, - "isCollectionOrScalar": false, - "name": "IntegerField" - } - } - } - }, - "width": 320, - "height": 266, - "position": { - "x": 1800, - "y": 25 - } - } - ], - "edges": [ - { - "id": "reactflow__edge-ea94bc37-d995-4a83-aa99-4af42479f2f2value-55705012-79b9-4aac-9f26-c0b10309785bseed", - "source": "ea94bc37-d995-4a83-aa99-4af42479f2f2", - "target": "55705012-79b9-4aac-9f26-c0b10309785b", - "type": "default", - "sourceHandle": "value", - "targetHandle": "seed" - }, - { - "id": "reactflow__edge-c8d55139-f380-4695-b7f2-8b3d1e1e3db8clip-7d8bf987-284f-413a-b2fd-d825445a5d6cclip", - "source": "c8d55139-f380-4695-b7f2-8b3d1e1e3db8", - "target": "7d8bf987-284f-413a-b2fd-d825445a5d6c", - "type": "default", - "sourceHandle": "clip", - "targetHandle": "clip" - }, - { - "id": "reactflow__edge-c8d55139-f380-4695-b7f2-8b3d1e1e3db8clip-93dc02a4-d05b-48ed-b99c-c9b616af3402clip", - "source": "c8d55139-f380-4695-b7f2-8b3d1e1e3db8", - "target": "93dc02a4-d05b-48ed-b99c-c9b616af3402", - "type": "default", - "sourceHandle": "clip", - "targetHandle": "clip" - }, - { - "id": "reactflow__edge-55705012-79b9-4aac-9f26-c0b10309785bnoise-eea2702a-19fb-45b5-9d75-56b4211ec03cnoise", - "source": "55705012-79b9-4aac-9f26-c0b10309785b", - "target": "eea2702a-19fb-45b5-9d75-56b4211ec03c", - "type": "default", - "sourceHandle": "noise", - "targetHandle": "noise" - }, - { - "id": "reactflow__edge-7d8bf987-284f-413a-b2fd-d825445a5d6cconditioning-eea2702a-19fb-45b5-9d75-56b4211ec03cpositive_conditioning", - "source": "7d8bf987-284f-413a-b2fd-d825445a5d6c", - "target": "eea2702a-19fb-45b5-9d75-56b4211ec03c", - "type": "default", - "sourceHandle": "conditioning", - "targetHandle": "positive_conditioning" - }, - { - "id": "reactflow__edge-93dc02a4-d05b-48ed-b99c-c9b616af3402conditioning-eea2702a-19fb-45b5-9d75-56b4211ec03cnegative_conditioning", - "source": "93dc02a4-d05b-48ed-b99c-c9b616af3402", - "target": "eea2702a-19fb-45b5-9d75-56b4211ec03c", - "type": "default", - "sourceHandle": "conditioning", - "targetHandle": "negative_conditioning" - }, - { - "id": "reactflow__edge-c8d55139-f380-4695-b7f2-8b3d1e1e3db8unet-eea2702a-19fb-45b5-9d75-56b4211ec03cunet", - "source": "c8d55139-f380-4695-b7f2-8b3d1e1e3db8", - "target": "eea2702a-19fb-45b5-9d75-56b4211ec03c", - "type": "default", - "sourceHandle": "unet", - "targetHandle": "unet" - }, - { - "id": "reactflow__edge-eea2702a-19fb-45b5-9d75-56b4211ec03clatents-58c957f5-0d01-41fc-a803-b2bbf0413d4flatents", - "source": "eea2702a-19fb-45b5-9d75-56b4211ec03c", - "target": "58c957f5-0d01-41fc-a803-b2bbf0413d4f", - "type": "default", - "sourceHandle": "latents", - "targetHandle": "latents" - }, - { - "id": "reactflow__edge-c8d55139-f380-4695-b7f2-8b3d1e1e3db8vae-58c957f5-0d01-41fc-a803-b2bbf0413d4fvae", - "source": "c8d55139-f380-4695-b7f2-8b3d1e1e3db8", - "target": "58c957f5-0d01-41fc-a803-b2bbf0413d4f", - "type": "default", - "sourceHandle": "vae", - "targetHandle": "vae" - } - ] -} diff --git a/mkdocs.yml b/mkdocs.yml index d9fd9b48218..65dd6942bec 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,7 +1,7 @@ # yaml-language-server: $schema=https://squidfunk.github.io/mkdocs-material/schema.json # General -site_name: InvokeAI Documentation +site_name: Invoke site_url: https://invoke-ai.github.io/InvokeAI site_author: mauwii dev_addr: '127.0.0.1:8080' @@ -12,20 +12,19 @@ repo_url: 'https://github.com/invoke-ai/InvokeAI' edit_uri: edit/main/docs/ # Copyright -copyright: Copyright © 2023 InvokeAI Team - -extra_css: - - stylesheets/extra.css +copyright: Copyright © 2022-2024 InvokeAI Team # Configuration theme: name: material + logo: img/invoke-symbol-wht-lrg.svg icon: repo: fontawesome/brands/github edit: material/file-document-edit-outline favicon: img/favicon.ico palette: scheme: slate + primary: black features: - navigation.instant - navigation.tabs @@ -85,12 +84,12 @@ plugins: enable_creation_date: true - redirects: redirect_maps: - 'installation/INSTALL_AUTOMATED.md': 'installation/010_INSTALL_AUTOMATED.md' - 'installation/INSTALL_MANUAL.md': 'installation/020_INSTALL_MANUAL.md' - 'installation/INSTALL_SOURCE.md': 'installation/020_INSTALL_MANUAL.md' - 'installation/INSTALL_DOCKER.md': 'installation/040_INSTALL_DOCKER.md' - 'installation/INSTALLING_MODELS.md': 'installation/050_INSTALLING_MODELS.md' - 'installation/INSTALL_PATCHMATCH.md': 'installation/060_INSTALL_PATCHMATCH.md' + 'installation/INSTALL_AUTOMATED.md': 'installation/installer.md' + 'installation/INSTALL_MANUAL.md': 'installation/manual.md' + 'installation/INSTALL_SOURCE.md': 'installation/manual.md' + 'installation/INSTALL_DOCKER.md': 'installation/docker.md' + 'installation/INSTALLING_MODELS.md': 'installation/models.md' + 'installation/INSTALL_PATCHMATCH.md': 'installation/patchmatch.md' - mkdocstrings: handlers: python: @@ -105,11 +104,6 @@ plugins: show_root_full_path: false show_bases: false -extra_javascript: - - https://unpkg.com/tablesort@5.3.0/dist/tablesort.min.js - - javascripts/tablesort.js - - javascript/init_kapa_widget.js - extra: analytics: provider: google @@ -118,61 +112,41 @@ extra: nav: - Home: 'index.md' - Installation: - - Overview: 'installation/INSTALLATION.md' - - Requirements: 'installation/INSTALL_REQUIREMENTS.md' - - Automatic Install: 'installation/010_INSTALL_AUTOMATED.md' - - Manual Install: 'installation/020_INSTALL_MANUAL.md' - - Developer Install: 'installation/INSTALL_DEVELOPMENT.md' - - Docker: 'installation/040_INSTALL_DOCKER.md' - - Installing Models: 'installation/050_INSTALLING_MODELS.md' - - Installing PyPatchMatch: 'installation/060_INSTALL_PATCHMATCH.md' + - Overview: 'installation/index.md' + - Requirements: 'installation/requirements.md' + - Installer: 'installation/installer.md' + - Manual Install: 'installation/manual.md' + - Docker: 'installation/docker.md' + - PatchMatch: 'installation/patchmatch.md' + - Models: 'installation/models.md' - Workflows & Nodes: - Nodes Overview: 'nodes/overview.md' - Workflow Editor Basics: 'nodes/NODES.md' - List of Default Nodes: 'nodes/defaultNodes.md' - - Example Workflows: 'nodes/exampleWorkflows.md' + - Community Nodes: 'nodes/communityNodes.md' - ComfyUI to InvokeAI: 'nodes/comfyToInvoke.md' - Facetool Node: 'nodes/detailedNodes/faceTools.md' - Contributing Nodes: 'nodes/contributingNodes.md' - Migrating from v3 to v4: 'nodes/NODES_MIGRATION_V3_V4.md' - - Invocation API: 'nodes/INVOCATION_API.md' - - Community Nodes: 'nodes/communityNodes.md' + - Invocation API: 'nodes/invocation-api.md' + - Configuration: 'configuration.md' - Features: - - Overview: 'features/index.md' + - Database: 'features/database.md' - New to InvokeAI?: 'help/gettingStartedWithAI.md' - - Configuration: 'features/CONFIGURATION.md' - - Database: 'features/DATABASE.md' - - Control Adapters: 'features/CONTROLNET.md' - - Image-to-Image: 'features/IMG2IMG.md' - - Controlling Logging: 'features/LOGGING.md' - - LoRAs & LCM-LoRAs: 'features/LORAS.md' - - Model Merging: 'features/MODEL_MERGING.md' - - Workflows & Nodes: 'nodes/overview' - - NSFW Checker: 'features/WATERMARK+NSFW.md' - - Postprocessing: 'features/POSTPROCESS.md' - - Prompting Features: 'features/PROMPTS.md' - - Textual Inversions: - - Textual Inversions: 'features/TEXTUAL_INVERSIONS.md' - - Textual Inversion Training: 'features/TRAINING.md' - - Unified Canvas: 'features/UNIFIED_CANVAS.md' - - InvokeAI Web Server: 'features/WEB.md' - - WebUI Hotkeys: 'features/WEBUIHOTKEYS.md' - - Maintenance Utilities: 'features/UTILITIES.md' - - Other: 'features/OTHER.md' - Contributing: - - How to Contribute: 'contributing/CONTRIBUTING.md' - - InvokeAI Code of Conduct: 'CODE_OF_CONDUCT.md' + - Overview: 'contributing/index.md' + - Code of Conduct: 'CODE_OF_CONDUCT.md' + - Dev Environment: 'contributing/dev-environment.md' - Development: - Overview: 'contributing/contribution_guides/development.md' - New Contributors: 'contributing/contribution_guides/newContributorChecklist.md' - Model Manager v2: 'contributing/MODEL_MANAGER.md' - - Frontend Documentation: 'contributing/contribution_guides/contributingToFrontend.md' - Local Development: 'contributing/LOCAL_DEVELOPMENT.md' - Testing: 'contributing/TESTS.md' - - Frontend: - - Overview: 'contributing/frontend/OVERVIEW.md' - - State Management: 'contributing/frontend/STATE_MGMT.md' - - Workflows: 'contributing/frontend/WORKFLOWS.md' + - Frontend: + - Overview: 'contributing/frontend/index.md' + - State Management: 'contributing/frontend/state-management.md' + - Workflows - Design and Implementation: 'contributing/frontend/workflows.md' - Documentation: 'contributing/contribution_guides/documentation.md' - Nodes: 'contributing/INVOCATIONS.md' - Model Manager: 'contributing/MODEL_MANAGER.md' @@ -181,9 +155,6 @@ nav: - Tutorials: 'contributing/contribution_guides/tutorials.md' - Help: - Getting Started: 'help/gettingStartedWithAI.md' - - FAQ: 'help/FAQ.md' - Diffusion Overview: 'help/diffusion.md' - Sampler Convergence: 'help/SAMPLER_CONVERGENCE.md' - - Other: - - Contributors: 'other/CONTRIBUTORS.md' - - CompViz-README: 'other/README-CompViz.md' + - FAQ: 'faq.md' diff --git a/pyproject.toml b/pyproject.toml index 0eba92abafa..0642603113a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -109,10 +109,10 @@ dependencies = [ "onnx-directml" = ["onnxruntime-directml"] "dist" = ["pip-tools", "pipdeptree", "twine"] "docs" = [ - "mkdocs-material>=9.5.13", + "mkdocs-material>=9.5.36", "mkdocs-git-revision-date-localized-plugin", "mkdocs-redirects", - "mkdocstrings[python]>=0.24.1", + "mkdocstrings[python]>=0.26.1", ] "dev" = ["jurigged", "pudb", "snakeviz", "gprof2dot"] "test" = [