Witchpot StableDiffusionForUnity
English
English
  • ๐Ÿ“šStable Diffusion for Unity Documents
  • Basic Info
    • ๐Ÿ› ๏ธIntroduction
    • ๐Ÿ“ฆInstallation for Unity
    • ๐Ÿ‘พAbout WebUI install/uninstall
  • Production tips
    • ๐Ÿ–ฅ๏ธAbout local server
    • ๐ŸŽฎExample of usage
    • ๐ŸงŠSwitch Models/LoRA
    • ๐ŸŽฅHow to use Projector feature
  • Components
    • Text to Image With ControlNet
    • Text to Image
    • Image to Image
  • Others
    • Contribute
    • About operating organization
    • Acknowledgments
Powered by GitBook
On this page
  • Get Model/LoRA
  • Model/LoRA file arrangement
  • Set the Model/LoRA on Unity
  1. Production tips

Switch Models/LoRA

PreviousExample of usageNextHow to use Projector feature

Last updated 2 years ago

It is possible to apply any model and LoRA to generate consistent images.

Get Model/LoRA

Note: The use of unauthorized images of others for LoRA and other model learning is an area where regulations have not yet caught up. Wictchpot Inc will not have responsibility for such actions. Please be respectful to other creators and use images with care so as not to infringe on others' copyrights.

Please prepare a model of the image you would like to create. Be careful about licenses and copyrights.

There are several ways to prepare the model/LoRA

  • Train by yourself

  • Search for models on HuggingFace

  • etc

LoRA samples prepared by Witchpot are distributed here. More samples will be added.

Note: Currently, Depth2Img can only be used with stable-diffusion 1.5 models due to the use of ControlNet. Text2Img and Image2Image can be used with 2.1 series.

Model/LoRA file arrangement

After preparing the model and LoRA files (.ckpt, .safetensor), place them under the following paths

You can open the parent folder with Unity menu Witchpot > Utility > Open Installed Dir

Target
Path

Model

C:\Users\[User Name]\Witchpot\

[email protected]\webui\models\Stable-diffusion

LoRA

C:\Users\[User Name]\Witchpot\

[email protected]\webui\models\Lora

Set the Model/LoRA on Unity

Open following path StableDiffusionWebUISettings.

Assets\Plugins\Witchpot\Packages\StableDiffusion\Runtime\Settings\StableDiffusionWebUISettings

You can get these models/LoRA list by ListModels button

The list obtained here will be available for selection in the Model and Lora of each Depth2Img.cs or other image generation component.

๐ŸงŠ
LogoWitchpot/icestage ยท Hugging Facehuggingface