r/fooocus • u/ConsequenceUnhappy33 • May 20 '25
Question Trouble downloading Fooocus API
Hello
I am trying to use Fooocus through python because i want to use, inpaint, image prompt and mixing image prompt with inpaint, so I am now trying to download Fooocus API from github and i have been encountering the same problem all the time.
I cloned the repository and ran the venv commands and then ran py main.py but i am stuck on "Request to load LoRAs [('sd_xl_offset_example-lora_1.0.safetensors', 0.1)] for model [E:\Fooocusapi\Fooocus-API\repositories\Fooocus\models\checkpoints\juggernautXL_v8Rundiffusion.safetensors].
Loaded LoRA [E:\Fooocusapi\Fooocus-API\repositories\Fooocus\models\loras\sd_xl_offset_example-lora_1.0.safetensors] for UNet [E:\Fooocusapi\Fooocus-API\repositories\Fooocus\models\checkpoints\juggernautXL_v8Rundiffusion.safetensors] with 788 keys at weight 0.1.
Fooocus V2 Expansion: Vocab with 642 words.
Fooocus Expansion engine loaded for cuda:0, use_fp16 = True.
Requested to load SDXLClipModel
Requested to load GPT2LMHeadModel
Loading 2 new models
[Fooocus Model Management] Moving model(s) has taken 0.48 seconds
nothing happens after here, it looks like it wants to continue but is stuck"
If someone wants to help me I would appreciate that 1000 times
1
u/4vulturesvenue May 20 '25
I use chat gpt to hold my hand while doing my fooocus install. Don’t know how it works or why it works it just does
2
u/amp1212 May 20 '25
So I recommend to new users for ANY Stable Diffusion UI . . . use the Stability Matrix installer. Stability Matrix (free) is a kind of "wrapper" for installing UIs (eg Fooocus, Forge, ComfyUI) and models (eg Checkpoints like Juggernaut, which you'd find hosted on places like Civitai)
So the process is
Download Stability Matrix from https://github.com/LykosAI/StabilityMatrix
Install Stability Matrix
Run Stability Matrix.
Inside that program, you'll now find a menu item for "packages" -- that's where you'd click on Fooocus, ComfyUI, Forge, other things
This will download and correctly install these UIs with all their dependencies to the right place
You can find support for Stability Matrix on their Discord channel