feature: add openjourney-v4

This commit is contained in:
Bryce 2023-05-05 02:51:20 -07:00 committed by Bryce Drennan
parent db8d3b74ea
commit c9fccc1757
2 changed files with 12 additions and 0 deletions

View File

@ -436,11 +436,14 @@ docker run -it --gpus all -v $HOME/.cache/huggingface:/root/.cache/huggingface -
## ChangeLog
**12.0.0**
- 🎉 feature: add "detail" control mode. Add details to an image. Great for upscaling an image.
- 🎉 feature: add "edit" control mode. Edit images using text instructions with any SD 1.5 based model. Similar to instructPix2Pix.
- 🎉 feature: add "shuffle" control mode. Image is generated from elements of control image. Similar to style transfer.
- 🎉 feature: upgrade to [controlnet 1.1](https://github.com/lllyasviel/ControlNet-v1-1-nightly)
- 🎉 fix: controlnet now works with all SD 1.5 based models
- feature: add openjourney-v4
- fix: raw control images are now properly loaded. fixes #296
- fix: filenames start numbers after latest image, even if some previous images were deleted

View File

@ -140,6 +140,15 @@ MODEL_CONFIGS = [
default_negative_prompt="",
alias="oj2",
),
ModelConfig(
description="OpenJourney V4",
short_name="openjourney-v4",
config_path="configs/stable-diffusion-v1.yaml",
weights_url="https://huggingface.co/prompthero/openjourney/resolve/e291118e93d5423dc88ac1ed93c02362b17d698f/mdjrny-v4.safetensors",
default_image_size=512,
default_negative_prompt="",
alias="oj4",
),
]
MODEL_CONFIG_SHORTCUTS = {m.short_name: m for m in MODEL_CONFIGS}