Fooocus Lite is a fork of Fooocus, an image generating software (based on Gradio), allowing the user to focus on prompting instead of tweaking numerous parameters. Find the full documentation of the original software here.
This fork of Fooocus is made to only expose the necessary parameters of an image generation workflow in order to keep the interface as simple as possible and allow anyone to use it, even people without any experience with Stable Diffusion and image generation softwares.
Note: this tool is tailored to specifics needs and might not fit every use case.
Please note that the following installation process might take some time and disk space (about 27Gb in total).
Before you install Fooocus Lite, please install all the requirements:
If you are on a Windows machine, the easiest way to download Fooocus Lite is to use the installation script. See the latest release.
Important note: the one click installer might not work for some reason. If you encounter an error after executing
start.bat
, please open an issue to help me fix the problem and try installing Fooocus Lite manually.
You can also install Fooocus Lite manually if you are not on Windows or if you have specific needs.
Firstly, clone this repository in the desired directory:
git clone https://github.com/brayevalerien/Fooocus-Lite
Then cd into the cloned directory and create a Conda environment using Python 3.10.11:
cd Fooocus-Lite
conda create -n flite python=3.10.11 -y
And activate this environment and install the required Python libraries using the requirements.txt
:
conda activate flite
pip install -r requirements.txt
You then need to install torch following the instructions on Pytorch installation page. The command depends on your system, but if you are using Windows and have an NVDIA GPU, the following command should work for most systems:
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
Once Fooocus Lite has been installed, it can be launched by executing start.bat
(in the root directory of Fooocus Lite).
When Fooocus Lite is launched for the first time, it will need to set up some things and download about 20Gb of SDXL models. So make sure you have some available disk space and take a coffee!
After a few seconds, the Web UI should open in your default browser. If it is not the case, go to this URL: http://120.0.0.1:5429.
You can pass optional arguments to Flite by adding them in the start.bat
file. In addition to arguments supported by Fooocus, there are two arguments:
--show_loras
: set toTrue
to get access to the LoRAs pannel. Defaults toFalse
since Flite is intended to be used by very beginners, but more advanced users should be able to use LoRAs.--theme_name
: set to the ID of a name from the Gradio theme gallery to change Flite theme.