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
  1. Components

Text to Image

PreviousText to Image With ControlNetNextImage to Image

Last updated 1 year ago

Generate images based on text prompt

For generate image with text to Image, attach the Text2Img.cs component to the object

It is assumed that the local server is up and running.

Please refer to the following for StartServer before use.

A parameter summary is shown below. Parameters that are adjusted frequently are bolded.

Parameter
Summary

Prompt

Enter the words you want to generate in natural language

NegativePrompt

Input elements in natural language that you do not want to include in the generated image

Width

Width of the generated image in pixels

Height

Height of the generated image in pixels

Steps

Increase this parameter if the generated image looks blurry

Cfg Scale

Strength to follow prompts Input larger value to strongly follow the prompt.

Seed

Fixing the seed value to generate a similar image

In case of -1, the image will be random

Batch Count

The number of images to be generated.

Select 1 to 100 images.

Generated images will be stored in StreamingAssets/StableDiffusion. Please check images by date sort in the explorer.

ExportType

Selectable output types: PNG, JPG, TGA

Apply to Image, RawImage, Material, etc

Sampler

Changing the nuances of the generated image

Model

Lora

Additional trained Lora to generate consitent specific pattern image

If you select Lora, <lora:filename:1>will be added to the Prompt and LoRA will be available

Base trained model See the "" to switch new model

See the "" to switch new LoRA

🖥️About local server
Switch Models/LoRA
Switch Models/LoRA