|
- # Lancer le téléchargement des modeles
- chmod +x ./setup_fooocus_models.sh
- ./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
- }'
|