v4.2.8
v4.2.8 brings Prompt Templates to Invoke, new schedulers and a number of minor fixes and enhancements.
Prompt Templates
Prompt templates are often used for commonly-used style keywords, letting you focus on subject and composition in your prompts - but you can use them in other creative ways.
Thanks to @maryhipp for implementing Prompt Templates!
Creating a Prompt Template
Create a prompt template from an existing image generated with Invoke. We'll add the positive and negative prompts from the image's metadata as the template, and the image will be used as a cover image for the template.
Screen.Recording.2024-08-22.at.7.43.19.pm.mov
You can also create a prompt template from scratch, uploading a cover image.
Screen.Recording.2024-08-22.at.7.55.43.pm.mov
How it Works
Add a positive and/or negative prompt to your template. Use the {prompt}
placeholder in the template to indicate where your prompt should be inserted into the template:
- Template:
highly detailed photo of {prompt}, award-winning, nikon dslr
- Prompt:
a super cute fennec fox cub
- Result:
highly detailed photo of a super cute fennec fox cub, award-winning, nikon dslr
If you omit the placeholder, the template will be appended to the end of your prompt:
- Template:
turtles
- Prompt:
i like
- Result:
i like turtles
Default Prompt Templates
We're shipping a number of templates with the app, many of which were contributed by community members (thanks y'all!). We'll update these as we continue developing Invoke with improvements and new templates.
Screen.Recording.2024-08-22.at.8.06.45.pm.mov
Import and Export
You can import templates from other SD apps. We support CSV and JSON files with these columns/keys:
name
prompt
orpositive_prompt
negative_prompt
Export your prompt templates to share with others. When you export prompt templates, only your own templates are exported.
Screen.Recording.2024-08-22.at.8.10.46.pm.mov
Preview and Flatten
Use the Preview button to see the prompt that will be used for generation. Flatten the prompt template to bake it into your prompts.
Screen.Recording.2024-08-22.at.8.14.38.pm.mov
Compatible with Dynamic Prompts
You can use dynamic prompt in prompt templates, and they will work with dynamic prompts in your positive prompt box.
Screen.Recording.2024-08-22.at.8.26.29.pm.mov
Other Changes
- Enhancement: Added
DPM++ 3M
,DPM++ 3M Karras
,DEIS Karras
,KDPM 2 Karras
,KDPM 2 Ancestral Karras
andUniPC Karras
schedulers @StAlKeR7779 - Enhancement: Updated translations - Italian is 100%! Thanks @Harvester62!
- Enhancement: Grounded SAM node (text prompt image segmentation) @RyanJDick
- Enhancement: Update DepthAnything to V2 (small variant only) @blessedcoolant
- Fix: Image downloads with correct filename
- Fix: Delays with events (progress images will be smoother)
- Fix: Jank with board selection when hiding or deleting boards
- Fix: Error deleting images on systems without a "trash bin"
- Fix: Upscale metadata included in SDXL Multidiffusion upscales @maryhipp
- Fix:
invoke.sh
works with symlinks @max-maag - Internal: Continued work on the modular backend refactor @StAlKeR7779
Installation and Updating
To install or update to v4.2.8, download the installer and follow the installation instructions.
To update, select the same installation location. Your user data (images, models, etc) will be retained.
Missing models after updating from v3 to v4
See this FAQ.
Error during installation ModuleNotFoundError: No module named 'controlnet_aux'
See this FAQ
What's Changed
- Modular backend - Seamless by @StAlKeR7779 in #6651
- Modular backend - T2I Adapter by @StAlKeR7779 in #6662
- fix(ui): deleting a board or hiding archived should reset selected & auto-add boards by @psychedelicious in #6694
- Modular backend - inpaint by @StAlKeR7779 in #6643
- update delete board modal to be more descriptive by @chainchompa in #6690
- Add more karras schedulers by @StAlKeR7779 in #6695
- Fix gradient mask values range by @StAlKeR7779 in #6688
- Modular backend - LoRA/LyCORIS by @StAlKeR7779 in #6667
- add base prop for destination to direct users to different tabs on initial load by @chainchompa in #6706
- Add Grounded SAM support (text prompt image segmentation) by @RyanJDick in #6701
- fix(ui): include upscale metadata for SDXL multidiffusion by @maryhipp in #6704
- feat(app): delete images without send2trash by @psychedelicious in #6713
- build: exclude matplotlib 3.9.1 by @psychedelicious in #6718
- feat(ui): restore optional upper limit on upscale resolution size by @maryhipp in #6721
- ui: translations update from weblate by @weblate in #6684
- Depth Anything V2 by @blessedcoolant in #6674
- LyCORIS - LoKR and Norm layers by @StAlKeR7779 in #6724
- fix(ui): show warning for maxUpscaleDimension if model tab is disabled by @maryhipp in #6733
- chore(ui): bump deps by @psychedelicious in #6734
- fix(api): image downloads with correct filename by @psychedelicious in #6735
- fix(app): delays in events by @psychedelicious in #6716
- fix(ui): combobox scroll by @psychedelicious in #6738
- feat(ui, api): prompt templates by @maryhipp in #6729
- ui: translations update from weblate by @weblate in #6727
- feat(api,ui): import prompt template CSV by @maryhipp in #6743
- feat: add base prop for selectedWorkflow to allow loading a workflow on launch by @chainchompa in #6742
- ui: translations update from weblate by @weblate in #6746
- feat(ui, api): prompt template export by @maryhipp in #6745
- Fix invoke.sh not detecting symlinks by @max-maag in #6731
- chore: bump version to v4.2.8rc1 by @psychedelicious in #6748
- fix: bundle style preset defaults, bump version to v4.2.8rc2 by @psychedelicious in #6750
- fix(ui): use translations for style preset strings by @psychedelicious in #6752
- fix(ui): prompt template preset preview out of order by @psychedelicious in #6754
- some style preset follow-ups by @maryhipp in #6761
- fix(ui): clear prompt template when prompts are recalled by @maryhipp in #6763
- fix(ui): more prompt template follow-ups by @maryhipp in #6762
- fix(ui): translation fixes by @psychedelicious in #6758
- ui: translations update from weblate by @weblate in #6747
- chore: bump version to v4.2.8 by @psychedelicious in #6767
New Contributors
Full Changelog: v4.2.7post1...v4.2.8