# Lancer le téléchargement des modeles
chmod +x ./setup_fooocus_models.sh
./setup_fooocus_models.sh


# Si soucis de droits
sudo chown -R gto:gto ~/fooocus_docker/models
chmod -R u+rwx ~/fooocus_docker/models
sudo ./setup_fooocus_models.sh

# A lire

https://github.com/mrhan1993/Fooocus-API/blob/main/examples/examples_v2.py

# tests
curl -X POST "http://127.0.0.1:8888/v1/generation/text-to-image"      -H "Content-Typ
e: application/json"      -d '{
           "prompt": "A cyberpunk city street at night, neon lights, rainy",
           "negative_prompt": "blurry, low quality",
           "width": 768,
           "height": 768,
           "steps": 30,
           "guidance_scale": 7.5
         }'
