You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to quickly share some exciting news: I've been working on the next major version of Unprompted for a while, and it's finally coming together. It contains many powerful features and improvements I can't wait to deploy.
Just to name a few:
Workflows
Inspired by ComfyUI, in Unprompted v11 you will be able to save your active Wizard templates and shortcodes to a JSON file. You can swap between workflows quickly and share your best creations with the community!
Partial support for image object variables
While Unprompted is primarily intended for working with strings, we've needed a way to pass around references to image objects for complex Stable Diffusion operations. I'm currently testing an unconventional-but-promising approach that will let you [get] and [set] PIL image objects like you would any other variable.
Inline documentation
Every template and shortcode will be able to implement UI tabs such as About, Documentation, and Changelog to make it easier to find answers to your questions. I'm in the process of porting over our exhaustive documentation to these new panels.
There are also plenty of bug fixes and performance improvements. Here's the full changelog at the moment (subject to change):
### Added
- Template Workflows: You can now save the settings for your active templates and shortcodes to a custom JSON file! Quickly swap between workflows and share them with others
- Overhauled the introductory section of templates and shortcodes in the Wizard UI: each now has an assortment of tabs (About, Documentation, Changelog)
- Stylebook v0.1.0 template
- Facelift v0.2.0 template: New setting `exclude_content` allows you to specify a region to exclude from face restoration via `[txt2mask]`
- Magic Spice v0.1.0: Now controls processing of values from the main script, simplifying the process of adding new features
- The Wizard parser now supports `[call]`: This is a simplified implementation of the normal `[call]` shortcode, and is primarily intended as a way of loading external markdown files
- Unprompted now has partial support for passing image objects through variables: the new helper function `str_to_pil()` converts a string beginning with `<PIL.Image.Image...` to an image object through the memory address
- New shortcode `[image_edit]`: Performs a wide variety of image operations
- `[img2pez]`: The `image_path` kwarg now supports loading all images in a folder via wildcard
- `[img2pez]`: Now supports a `target_prompt` which can be used on its own or in addition to `image_path`
- `[img2pez]`: Now supports `clip_preset` which provides an easy way to select a compatible pair of
- `[wizard]`: Now supports the `tab` block type
- `[wizard]`: Now supports the `markdown` block type
- `[filelist]`: Improved handling of subdirectory wildcards
- `[filelist]`: Now supports the `_recursive` parg to enable this option in the `glob()` filter
- `[faceswap]`: Call the "unload" pipeline to free the cache on demand
- `[replace]`: Now supports the `_strict` parg to only evaluate "to" expressions on matches
- `[interrogate]`: Now supports "WaifuDiffusion as an interrogation `method`
- `[restore_faces]`: New restoration methods `RestoreFormer` and `RestoreFormerPlusPlus` (Note: These methods are fast, but GPEN is still the king in terms of quality)
- `[init_image]`: Will now return the current image if no pargs are specified
- `[img2img_autosize]`: The `target` property now defaults to your model's architecture (sd1/sdxl)
- `[get]`: Now supports Image variables
- `[for]`: Variable initialization is now optional, allowing for greater control over the loop processing, e.g. `[for "some_var < 5" "{set some_var _append}2{/set}"]` is a valid loop
- `[txt2mask]`: Now supports `blur` kwarg, particularly useful outside of img2img mode
- Wizard Template banner images are now automatically loaded; make sure the banner is in the same directory as the template, and has the same filename with a `.png` extension
- The `wizard_generate_template()` function now returns a delimited string for UI elements with list values (e.g. multiselect dropdowns)
- The `parse_filepath()` method can now take a delimited list of paths
- You can override the banner filepath in `[template]` using the `banner` kwarg
- `docs/TODO.md` for things I'd like to implement in the future
- New Magic Spice preset: `generic_photoreal_spice_v1`
- New function `shortcode_install_requirements()` to install shortcode dependencies when needed, instead of installing everything at WebUI startup
- New setting `Config.syntax.sanitize_last`: Rules in this section are immune to the stripping of extra spaces
- Special strings `%SPACE%` and `%NEWLINE%` for when you need precise control over the resulting string
- New system variable `sd_res`: resolution that corresponds to your checkpoint's architecture (i.e. 512 for sd1, 768 for sd2, 1024 for sdxl)
### Changed
- The Wizard `[template]` shortcode has been converted from a block to an atomic shortcode
- Renamed `templates/common/functions` to `templates/common/wizard`
- Organized built-in Wizard templates into individual subfolders
- Gradio elements created by `[wizard]` will no longer save to the WebUI's `ui-config.json`
- Replaced the Wizard banner gradient effect with CSS
- The Wizard dropdown `_multiselect` kwarg changed to a parg
- Bodysnatcher v1.6.0: Sensible defaults for SDXL
### Fixed
- `[img2pez]`: Now requires `sentence-transformers==2.2.2` to prevent issue with newer versions of the module
- `[faceswap]`: Fixed an issue related to caching of face embeddings
- Facelift v0.2.0: Fixed `make_embedding` preset not clearing cache before running
- `[array]`: Fixed an issue when getting array values from a delimited string
- Corrected issue with `install.py` handling of required modules that include `==`
### Removed
- `[autotone]`: Equivalent functionality available in `[image_edit]` (kwarg `autotone`)
- `[resize]`: Equivalent functionality available in `[image_edit]`
If you want to get a head start on testing v11, you can sponsor Unprompted and gain access to the private repo where I've been pushing updates almost nightly.
Otherwise, the public release will be available in the not-too-distant future... hopefully before the SD3 weights drop. 🙂
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi folks,
I hope you're all doing well today. 🙂
I wanted to quickly share some exciting news: I've been working on the next major version of Unprompted for a while, and it's finally coming together. It contains many powerful features and improvements I can't wait to deploy.
Just to name a few:
Workflows
Inspired by ComfyUI, in Unprompted v11 you will be able to save your active Wizard templates and shortcodes to a JSON file. You can swap between workflows quickly and share your best creations with the community!
Partial support for image object variables
While Unprompted is primarily intended for working with strings, we've needed a way to pass around references to image objects for complex Stable Diffusion operations. I'm currently testing an unconventional-but-promising approach that will let you
[get]
and[set]
PIL image objects like you would any other variable.Inline documentation
Every template and shortcode will be able to implement UI tabs such as
About
,Documentation
, andChangelog
to make it easier to find answers to your questions. I'm in the process of porting over our exhaustive documentation to these new panels.There are also plenty of bug fixes and performance improvements. Here's the full changelog at the moment (subject to change):
If you want to get a head start on testing v11, you can sponsor Unprompted and gain access to the private repo where I've been pushing updates almost nightly.
Otherwise, the public release will be available in the not-too-distant future... hopefully before the SD3 weights drop. 🙂
Thank you for your support!
Beta Was this translation helpful? Give feedback.
All reactions