Update Project Status
This commit is contained in:
parent
8da1d3ff68
commit
670d798332
62
readme.md
62
readme.md
|
|
@ -1,40 +1,30 @@
|
||||||
<div align=center>
|
<div align=center>
|
||||||
<img src="https://github.com/lllyasviel/Fooocus/assets/19834515/483fb86d-c9a2-4c20-997c-46dafc124f25">
|
<img src="https://github.com/lllyasviel/Fooocus/assets/19834515/483fb86d-c9a2-4c20-997c-46dafc124f25">
|
||||||
|
|
||||||
**Non-cherry-picked** random batch by just typing two words "forest elf",
|
|
||||||
|
|
||||||
without any parameter tweaking, without any strange prompt tags.
|
|
||||||
|
|
||||||
See also **non-cherry-picked** generalization and diversity tests [here](https://github.com/lllyasviel/Fooocus/discussions/2067) and [here](https://github.com/lllyasviel/Fooocus/discussions/808) and [here](https://github.com/lllyasviel/Fooocus/discussions/679) and [here](https://github.com/lllyasviel/Fooocus/discussions/679#realistic).
|
|
||||||
|
|
||||||
In the entire open source community, only Fooocus can achieve this level of **non-cherry-picked** quality.
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
# Fooocus
|
# Fooocus
|
||||||
|
|
||||||
Fooocus is an image generating software (based on [Gradio](https://www.gradio.app/)).
|
[>>> Click Here to Install Fooocus <<<](#download)
|
||||||
|
|
||||||
Fooocus is a rethinking of Stable Diffusion and Midjourney’s designs:
|
Fooocus is an image generating software (based on [Gradio](https://www.gradio.app/) <a href='https://github.com/gradio-app/gradio'><img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>).
|
||||||
|
|
||||||
* Learned from Stable Diffusion, the software is offline, open source, and free.
|
Fooocus presents a rethinking of image generator designs. The software is offline, open source, and free, while at the same time, similar to many online image generators like Midjourney, the manual tweaking is not needed, and users only need to focus on the prompts and images. Fooocus has also simplified the installation: between pressing "download" and generating the first image, the number of needed mouse clicks is strictly limited to less than 3. Minimal GPU memory requirement is 4GB (Nvidia).
|
||||||
|
|
||||||
* Learned from Midjourney, the manual tweaking is not needed, and users only need to focus on the prompts and images.
|
|
||||||
|
|
||||||
Fooocus has included and automated [lots of inner optimizations and quality improvements](#tech_list). Users can forget all those difficult technical parameters, and just enjoy the interaction between human and computer to "explore new mediums of thought and expanding the imaginative powers of the human species" `[1]`.
|
|
||||||
|
|
||||||
Fooocus has simplified the installation. Between pressing "download" and generating the first image, the number of needed mouse clicks is strictly limited to less than 3. Minimal GPU memory requirement is 4GB (Nvidia).
|
|
||||||
|
|
||||||
`[1]` David Holz, 2019.
|
|
||||||
|
|
||||||
**Recently many fake websites exist on Google when you search “fooocus”. Do not trust those – here is the only official source of Fooocus.**
|
**Recently many fake websites exist on Google when you search “fooocus”. Do not trust those – here is the only official source of Fooocus.**
|
||||||
|
|
||||||
## [Installing Fooocus](#download)
|
# Project Status: Limited Long-Term Support (LTS) with Bug Fixes Only
|
||||||
|
|
||||||
# Moving from Midjourney to Fooocus
|
The Fooocus project, built entirely on the **Stable Diffusion XL** architecture, is now in a state of limited long-term support (LTS) with bug fixes only. As the existing functionalities are considered as nearly free of programmartic issues (Thanks to [mashb1t](https://github.com/mashb1t)'s huge efforts), future updates will focus exclusively on addressing any bugs that may arise.
|
||||||
|
|
||||||
Using Fooocus is as easy as (probably easier than) Midjourney – but this does not mean we lack functionality. Below are the details.
|
**There are no current plans to migrate to or incorporate newer model architectures.** However, this may change during time with the development of open-source community. For example, if the community converge to one single dominant method for image generation (which may really happen in half or one years given the current status), Fooocus may also migrate to that exact method.
|
||||||
|
|
||||||
|
For those interested in utilizing newer models such as **Flux**, we recommend exploring alternative platforms such as [WebUI Forge](https://github.com/lllyasviel/stable-diffusion-webui-forge) (also from us), [ComfyUI/SwarmUI](https://github.com/comfyanonymous/ComfyUI). Additionally, several [excellent forks of Fooocus](https://github.com/lllyasviel/Fooocus?tab=readme-ov-file#forks) are available for experimentation.
|
||||||
|
|
||||||
|
Again, recently many fake websites exist on Google when you search “fooocus”. Do **NOT** get Fooocus from those websites – this page is the only official source of Fooocus. We never have any website like such as “fooocus.com”, “fooocus.net”, “fooocus.co”, “fooocus.ai”, “fooocus.org”, “fooocus.pro”. Those websites are ALL FAKE. **They have ABSOLUTLY no relationship to us. Fooocus is a 100% non-commercial offline open-source software.**
|
||||||
|
|
||||||
|
# Features
|
||||||
|
|
||||||
|
Below is a quick list using Midjourney's examples:
|
||||||
|
|
||||||
| Midjourney | Fooocus |
|
| Midjourney | Fooocus |
|
||||||
| - | - |
|
| - | - |
|
||||||
|
|
@ -55,7 +45,7 @@ Using Fooocus is as easy as (probably easier than) Midjourney – but this does
|
||||||
| InsightFace | Input Image -> Image Prompt -> Advanced -> FaceSwap |
|
| InsightFace | Input Image -> Image Prompt -> Advanced -> FaceSwap |
|
||||||
| Describe | Input Image -> Describe |
|
| Describe | Input Image -> Describe |
|
||||||
|
|
||||||
We also have a few things borrowed from the best parts of LeonardoAI:
|
Below is a quick list using LeonardoAI's examples:
|
||||||
|
|
||||||
| LeonardoAI | Fooocus |
|
| LeonardoAI | Fooocus |
|
||||||
| - | - |
|
| - | - |
|
||||||
|
|
@ -63,7 +53,7 @@ We also have a few things borrowed from the best parts of LeonardoAI:
|
||||||
| Advanced Sampler Parameters (like Contrast/Sharpness/etc) | Advanced -> Advanced -> Sampling Sharpness / etc |
|
| Advanced Sampler Parameters (like Contrast/Sharpness/etc) | Advanced -> Advanced -> Sampling Sharpness / etc |
|
||||||
| User-friendly ControlNets | Input Image -> Image Prompt -> Advanced |
|
| User-friendly ControlNets | Input Image -> Image Prompt -> Advanced |
|
||||||
|
|
||||||
Fooocus also developed many "fooocus-only" features for advanced users to get perfect results. [Click here to browse the advanced features.](https://github.com/lllyasviel/Fooocus/discussions/117)
|
Also, [click here to browse the advanced features.](https://github.com/lllyasviel/Fooocus/discussions/117)
|
||||||
|
|
||||||
# Download
|
# Download
|
||||||
|
|
||||||
|
|
@ -303,7 +293,8 @@ In both ways the access is unauthenticated by default. You can add basic authent
|
||||||
## List of "Hidden" Tricks
|
## List of "Hidden" Tricks
|
||||||
<a name="tech_list"></a>
|
<a name="tech_list"></a>
|
||||||
|
|
||||||
The below things are already inside the software, and **users do not need to do anything about these**.
|
<details>
|
||||||
|
<summary>Click to see a list of tricks. Those are based on SDXL and are not very up-to-date with latest models.</summary>
|
||||||
|
|
||||||
1. GPT2-based [prompt expansion as a dynamic style "Fooocus V2".](https://github.com/lllyasviel/Fooocus/discussions/117#raw) (similar to Midjourney's hidden pre-processing and "raw" mode, or the LeonardoAI's Prompt Magic).
|
1. GPT2-based [prompt expansion as a dynamic style "Fooocus V2".](https://github.com/lllyasviel/Fooocus/discussions/117#raw) (similar to Midjourney's hidden pre-processing and "raw" mode, or the LeonardoAI's Prompt Magic).
|
||||||
2. Native refiner swap inside one single k-sampler. The advantage is that the refiner model can now reuse the base model's momentum (or ODE's history parameters) collected from k-sampling to achieve more coherent sampling. In Automatic1111's high-res fix and ComfyUI's node system, the base model and refiner use two independent k-samplers, which means the momentum is largely wasted, and the sampling continuity is broken. Fooocus uses its own advanced k-diffusion sampling that ensures seamless, native, and continuous swap in a refiner setup. (Update Aug 13: Actually, I discussed this with Automatic1111 several days ago, and it seems that the “native refiner swap inside one single k-sampler” is [merged]( https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/12371) into the dev branch of webui. Great!)
|
2. Native refiner swap inside one single k-sampler. The advantage is that the refiner model can now reuse the base model's momentum (or ODE's history parameters) collected from k-sampling to achieve more coherent sampling. In Automatic1111's high-res fix and ComfyUI's node system, the base model and refiner use two independent k-samplers, which means the momentum is largely wasted, and the sampling continuity is broken. Fooocus uses its own advanced k-diffusion sampling that ensures seamless, native, and continuous swap in a refiner setup. (Update Aug 13: Actually, I discussed this with Automatic1111 several days ago, and it seems that the “native refiner swap inside one single k-sampler” is [merged]( https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/12371) into the dev branch of webui. Great!)
|
||||||
|
|
@ -319,6 +310,7 @@ The below things are already inside the software, and **users do not need to do
|
||||||
12. Using automatic1111's method to normalize prompt emphasizing. This significantly improves results when users directly copy prompts from civitai.
|
12. Using automatic1111's method to normalize prompt emphasizing. This significantly improves results when users directly copy prompts from civitai.
|
||||||
13. The joint swap system of the refiner now also supports img2img and upscale in a seamless way.
|
13. The joint swap system of the refiner now also supports img2img and upscale in a seamless way.
|
||||||
14. CFG Scale and TSNR correction (tuned for SDXL) when CFG is bigger than 10.
|
14. CFG Scale and TSNR correction (tuned for SDXL) when CFG is bigger than 10.
|
||||||
|
</details>
|
||||||
|
|
||||||
## Customization
|
## Customization
|
||||||
|
|
||||||
|
|
@ -405,6 +397,7 @@ entry_with_update.py [-h] [--listen [IP]] [--port PORT]
|
||||||
## Inline Prompt Features
|
## Inline Prompt Features
|
||||||
|
|
||||||
### Wildcards
|
### Wildcards
|
||||||
|
|
||||||
Example prompt: `__color__ flower`
|
Example prompt: `__color__ flower`
|
||||||
|
|
||||||
Processed for positive and negative prompt.
|
Processed for positive and negative prompt.
|
||||||
|
|
@ -416,6 +409,7 @@ You can also disable randomness and process a wildcard file from top to bottom b
|
||||||
Wildcards can be nested and combined, and multiple wildcards can be used in the same prompt (example see `wildcards/color_flower.txt`).
|
Wildcards can be nested and combined, and multiple wildcards can be used in the same prompt (example see `wildcards/color_flower.txt`).
|
||||||
|
|
||||||
### Array Processing
|
### Array Processing
|
||||||
|
|
||||||
Example prompt: `[[red, green, blue]] flower`
|
Example prompt: `[[red, green, blue]] flower`
|
||||||
|
|
||||||
Processed only for positive prompt.
|
Processed only for positive prompt.
|
||||||
|
|
@ -434,23 +428,25 @@ Processed only for positive prompt.
|
||||||
|
|
||||||
Applies a LoRA to the prompt. The LoRA file must be located in the `models/loras` directory.
|
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
|
## 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!
|
|
||||||
|
Below are some Forks to Fooocus:
|
||||||
|
|
||||||
| 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> [mashb1t/Fooocus](https://github.com/mashb1t/Fooocus) </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).
|
|
||||||
|
|
||||||
## Thanks
|
## Thanks
|
||||||
|
|
||||||
Special thanks to [twri](https://github.com/twri) and [3Diva](https://github.com/3Diva) and [Marc K3nt3L](https://github.com/K3nt3L) for creating additional SDXL styles available in Fooocus. Thanks [daswer123](https://github.com/daswer123) for contributing the Canvas Zoom!
|
Many thanks to [twri](https://github.com/twri) and [3Diva](https://github.com/3Diva) and [Marc K3nt3L](https://github.com/K3nt3L) for creating additional SDXL styles available in Fooocus.
|
||||||
|
|
||||||
|
The project starts from a mixture of [Stable Diffusion WebUI](https://github.com/AUTOMATIC1111/stable-diffusion-webui) and [ComfyUI](https://github.com/comfyanonymous/ComfyUI) codebases.
|
||||||
|
|
||||||
|
Also, thanks [daswer123](https://github.com/daswer123) for contributing the Canvas Zoom!
|
||||||
|
|
||||||
## Update Log
|
## Update Log
|
||||||
|
|
||||||
|
|
@ -458,8 +454,6 @@ The log is [here](update_log.md).
|
||||||
|
|
||||||
## Localization/Translation/I18N
|
## Localization/Translation/I18N
|
||||||
|
|
||||||
**We need your help!** Please help translate Fooocus into international languages.
|
|
||||||
|
|
||||||
You can put json files in the `language` folder to translate the user interface.
|
You can put json files in the `language` folder to translate the user interface.
|
||||||
|
|
||||||
For example, below is the content of `Fooocus/language/example.json`:
|
For example, below is the content of `Fooocus/language/example.json`:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue