Updated How to Use (markdown)

SpecificKnot 2023-02-14 14:29:09 +00:00
parent 6f263f64a8
commit 8f40aff57c

@ -1,45 +1,18 @@
This page needs to be improved - to describe more parts of the UI, and needs to be written in a clearer manner. We can certainly use your help.
# Usage # Usage
Open http://localhost:9000 in your browser (after installing the software). It may take the project a few seconds to be ready. After installing the software, navigate to your browser (we recommend using either Chrome, Edge or Firefox to prevent issues) and navigate to http://localhost:9000 . It may take the project a few seconds to get ready.
When loaded this is what it should look like:
## Create an image from a text description ![image](https://user-images.githubusercontent.com/110454200/213924983-b8e5261a-8545-444c-a8be-271a495f145f.png)
![image](https://user-images.githubusercontent.com/5852422/196790628-2f053c6b-299a-4149-8c8a-8edd0eb08998.png)
1. Enter a text prompt, like `a photograph of an astronaut riding a horse` in the textbox.
2. Press `Make Image`. This creates a rendering job:
![image](https://user-images.githubusercontent.com/5852422/196795165-e2919bd4-a026-4563-8d3d-ef13004d5163.png)
The gereration of the image will take some time, depending on your system's processing power. A preview of the result
will be shown during the rendering. The first preview will look like random noise:
![image](https://user-images.githubusercontent.com/5852422/196791880-4ad7dd35-de12-47ba-a5d6-d7a60261ca21.png)
When you wait a little bit, the image will improve step by step.
3. See the image generated using your prompt:
![image](https://user-images.githubusercontent.com/5852422/196791962-e6ff59d5-87cb-4dd5-a8d0-de89c8646484.png)
Your image will look different because it used a different random start value (called _seed_).
Check the page [[Writing prompts]] for more information on prompts.
## With an image
1. Click `Browse..` next to `Initial Image`. Select your desired image.
2. An optional text prompt can help you further describe the kind of image you want to generate.
3. Press `Make Image`. See the image generated using your prompt.
## Tips ## Tips
* You can enqueue multiple jobs. They are processed one by one. You don't need to wait until the first job is finished. * You can enqueue multiple `Jobs`. The project will process them one by one. You don't need to wait until the first job is finished.
* You can queue up many rendering jobs at once by entering one prompt per line. Enter a prompt, press return or enter, enter next prompt etc. When you click 'Make Image', a job will be generated for each line in the prompt textbox. * You can queue up many rendering jobs at once by entering one prompt per line. When you click 'Make Image', a job will be generated for each line in the prompt textbox:
![image](https://user-images.githubusercontent.com/110454200/213926311-ba9286d1-00c6-4862-8ba3-6d1f4762e1d5.png)
* You can use Face Correction or Upscaling to improve the image further. * You can use `Face Correction` or `Upscaling` to improve the image further.
* You can click `Use as Input` on a generated image, to use it as the input image for your next generation. This can be useful for sequentially refining the generated image with a single click.
**Pro tip:** You can also click `Use as Input` on a generated image, to use it as the input image for your next generation. This can be useful for sequentially refining the generated image with a single click. * Images with the same aspect ratio of your generated image work best. E.g. 1:1 if you're generating images sized 512x512.
**Another tip:** Images with the same aspect ratio of your generated image work best. E.g. 1:1 if you're generating images sized 512x512.
## Samplers ## Samplers
@ -51,21 +24,5 @@ Most samplers are deterministic. If re-run with the same seed and settings, it w
Note that `euler_a` and `dpm2_a` are *not always* deterministic. They can create different images when run in different batch sizes. Note that `euler_a` and `dpm2_a` are *not always* deterministic. They can create different images when run in different batch sizes.
## Problems? Troubleshooting # Troubleshooting
Please try the common [troubleshooting](Troubleshooting.md) steps. If that doesn't fix it, please ask on the [discord server](https://discord.com/invite/u9yhsFmEkB), or [file an issue](https://github.com/cmdr2/stable-diffusion-ui/issues). Please try the common [troubleshooting](https://github.com/cmdr2/stable-diffusion-ui/wiki/Troubleshooting) steps. If that doesn't fix it, please ask on the [discord server](https://discord.com/invite/u9yhsFmEkB), or [file an issue](https://github.com/cmdr2/stable-diffusion-ui/issues).
# Image Settings
You can also set the configuration like `seed`, `width`, `height`, `num_outputs`, `num_inference_steps` and `guidance_scale` using the 'show' button next to 'Image settings'.
Use the same `seed` number to get the same image for a certain prompt. This is useful for refining a prompt without losing the basic image design. Enable the `random images` checkbox to get random images.
![Screenshot of advanced settings](https://github.com/cmdr2/stable-diffusion-ui/raw/main/media/config-v7.jpg?raw=true)
# System Settings
The system settings are reachable via the cogwheel symbol on the top right. It can be used to configure whether all generated images should
saved be automically, or to tune the Stable Diffusion image generation.
![Screenshot of advanced settings](https://github.com/cmdr2/stable-diffusion-ui/raw/main/media/system-settings-v2.jpg?raw=true)
# Image Modifiers
![Screenshot of advanced settings](https://github.com/cmdr2/stable-diffusion-ui/raw/main/media/modifiers-v1.jpg?raw=true)