Merge branch 'develop_upstream'
This commit is contained in:
commit
f15352001a
63
readme.md
63
readme.md
|
|
@ -573,15 +573,14 @@ entry_with_update.py [-h] [--listen [IP]] [--port PORT]
|
||||||
[--hf-mirror HF_MIRROR]
|
[--hf-mirror HF_MIRROR]
|
||||||
[--external-working-path PATH [PATH ...]]
|
[--external-working-path PATH [PATH ...]]
|
||||||
[--output-path OUTPUT_PATH]
|
[--output-path OUTPUT_PATH]
|
||||||
[--temp-path TEMP_PATH]
|
[--temp-path TEMP_PATH] [--cache-path CACHE_PATH]
|
||||||
[--cache-path CACHE_PATH] [--in-browser]
|
[--in-browser] [--disable-in-browser]
|
||||||
[--disable-in-browser]
|
|
||||||
[--gpu-device-id DEVICE_ID]
|
[--gpu-device-id DEVICE_ID]
|
||||||
[--async-cuda-allocation | --disable-async-cuda-allocation]
|
[--async-cuda-allocation | --disable-async-cuda-allocation]
|
||||||
[--disable-attention-upcast]
|
[--disable-attention-upcast]
|
||||||
[--all-in-fp32 | --all-in-fp16]
|
[--all-in-fp32 | --all-in-fp16]
|
||||||
[--unet-in-bf16 | --unet-in-fp16 | --unet-in-fp8-e4m3fn | --unet-in-fp8-e5m2]
|
[--unet-in-bf16 | --unet-in-fp16 | --unet-in-fp8-e4m3fn | --unet-in-fp8-e5m2]
|
||||||
[--vae-in-fp16 | --vae-in-fp32 | --vae-in-bf16]
|
[--vae-in-fp16 | --vae-in-fp32 | --vae-in-bf16]
|
||||||
[--vae-in-cpu]
|
[--vae-in-cpu]
|
||||||
[--clip-in-fp8-e4m3fn | --clip-in-fp8-e5m2 | --clip-in-fp16 | --clip-in-fp32]
|
[--clip-in-fp8-e4m3fn | --clip-in-fp8-e5m2 | --clip-in-fp16 | --clip-in-fp32]
|
||||||
[--directml [DIRECTML_DEVICE]]
|
[--directml [DIRECTML_DEVICE]]
|
||||||
|
|
@ -589,30 +588,64 @@ entry_with_update.py [-h] [--listen [IP]] [--port PORT]
|
||||||
[--preview-option [none,auto,fast,taesd]]
|
[--preview-option [none,auto,fast,taesd]]
|
||||||
[--attention-split | --attention-quad | --attention-pytorch]
|
[--attention-split | --attention-quad | --attention-pytorch]
|
||||||
[--disable-xformers]
|
[--disable-xformers]
|
||||||
[--always-gpu | --always-high-vram | --always-normal-vram |
|
[--always-gpu | --always-high-vram | --always-normal-vram | --always-low-vram | --always-no-vram | --always-cpu [CPU_NUM_THREADS]]
|
||||||
--always-low-vram | --always-no-vram | --always-cpu [CPU_NUM_THREADS]]
|
|
||||||
[--always-offload-from-vram]
|
[--always-offload-from-vram]
|
||||||
[--pytorch-deterministic] [--disable-server-log]
|
[--pytorch-deterministic] [--disable-server-log]
|
||||||
[--debug-mode] [--is-windows-embedded-python]
|
[--debug-mode] [--is-windows-embedded-python]
|
||||||
[--disable-server-info] [--multi-user] [--share]
|
[--disable-server-info] [--multi-user] [--share]
|
||||||
[--preset PRESET] [--disable-preset-selection]
|
[--preset PRESET] [--disable-preset-selection]
|
||||||
[--language LANGUAGE]
|
[--language LANGUAGE]
|
||||||
[--disable-offload-from-vram] [--theme THEME]
|
[--disable-offload-from-vram] [--theme THEME]
|
||||||
[--disable-image-log] [--disable-analytics]
|
[--disable-image-log] [--disable-analytics]
|
||||||
[--disable-metadata] [--disable-preset-download]
|
[--disable-metadata] [--disable-preset-download]
|
||||||
[--enable-describe-uov-image]
|
[--enable-auto-describe-image]
|
||||||
[--always-download-new-model]
|
[--always-download-new-model]
|
||||||
|
[--rebuild-hash-cache [CPU_NUM_THREADS]]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Inline Prompt Features
|
||||||
|
|
||||||
|
### Wildcards
|
||||||
|
Example prompt: `__color__ flower`
|
||||||
|
|
||||||
|
Processed for positive and negative prompt.
|
||||||
|
|
||||||
|
Selects a random wildcard from a predefined list of options, in this case the `wildcards/color.txt` file.
|
||||||
|
The wildcard will be replaced with a random color (randomness based on seed).
|
||||||
|
You can also disable randomness and process a wildcard file from top to bottom by enabling the checkbox `Read wildcards in order` in Developer Debug Mode.
|
||||||
|
|
||||||
|
Wildcards can be nested and combined, and multiple wildcards can be used in the same prompt (example see `wildcards/color_flower.txt`).
|
||||||
|
|
||||||
|
### Array Processing
|
||||||
|
Example prompt: `[[red, green, blue]] flower`
|
||||||
|
|
||||||
|
Processed only for positive prompt.
|
||||||
|
|
||||||
|
Processes the array from left to right, generating a separate image for each element in the array. In this case 3 images would be generated, one for each color.
|
||||||
|
Increase the image number to 3 to generate all 3 variants.
|
||||||
|
|
||||||
|
Arrays can not be nested, but multiple arrays can be used in the same prompt.
|
||||||
|
Does support inline LoRAs as array elements!
|
||||||
|
|
||||||
|
### Inline LoRAs
|
||||||
|
|
||||||
|
Example prompt: `flower <lora:sunflowers:1.2>`
|
||||||
|
|
||||||
|
Processed only for positive prompt.
|
||||||
|
|
||||||
|
Applies a LoRA to the prompt. The LoRA file must be located in the `models/loras` directory.
|
||||||
|
|
||||||
|
|
||||||
## Advanced Features
|
## Advanced Features
|
||||||
|
|
||||||
[Click here to browse the advanced features.](https://github.com/lllyasviel/Fooocus/discussions/117)
|
[Click here to browse the advanced features.](https://github.com/lllyasviel/Fooocus/discussions/117)
|
||||||
|
|
||||||
|
## Forks
|
||||||
Fooocus also has many community forks, just like SD-WebUI's [vladmandic/automatic](https://github.com/vladmandic/automatic) and [anapnoe/stable-diffusion-webui-ux](https://github.com/anapnoe/stable-diffusion-webui-ux), for enthusiastic users who want to try!
|
Fooocus also has many community forks, just like SD-WebUI's [vladmandic/automatic](https://github.com/vladmandic/automatic) and [anapnoe/stable-diffusion-webui-ux](https://github.com/anapnoe/stable-diffusion-webui-ux), for enthusiastic users who want to try!
|
||||||
|
|
||||||
| Fooocus' forks |
|
| Fooocus' forks |
|
||||||
| - |
|
| - |
|
||||||
| [fenneishi/Fooocus-Control](https://github.com/fenneishi/Fooocus-Control) </br>[runew0lf/RuinedFooocus](https://github.com/runew0lf/RuinedFooocus) </br> [MoonRide303/Fooocus-MRE](https://github.com/MoonRide303/Fooocus-MRE) </br> [metercai/SimpleSDXL](https://github.com/metercai/SimpleSDXL) </br> and so on ... |
|
| [fenneishi/Fooocus-Control](https://github.com/fenneishi/Fooocus-Control) </br>[runew0lf/RuinedFooocus](https://github.com/runew0lf/RuinedFooocus) </br> [MoonRide303/Fooocus-MRE](https://github.com/MoonRide303/Fooocus-MRE) </br> [metercai/SimpleSDXL](https://github.com/metercai/SimpleSDXL) </br> [mashb1t/Fooocus](https://github.com/mashb1t/Fooocus) </br> and so on ... |
|
||||||
|
|
||||||
See also [About Forking and Promotion of Forks](https://github.com/lllyasviel/Fooocus/discussions/699).
|
See also [About Forking and Promotion of Forks](https://github.com/lllyasviel/Fooocus/discussions/699).
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue