Add session report - ComfyUI image generation setup
- Complete ComfyUI installation with ROCm support - 4 SDXL models installed (RealVisXL, Juggernaut, Lightning, Base) - OpenWebUI integration functional with API workflow - Interactive download script for models - Comprehensive MODELS.md documentation - Known issue: DreamShaper URL needs fixing
This commit is contained in:
@@ -0,0 +1,134 @@
|
|||||||
|
# Compte-rendu Session - 6 Avril 2026
|
||||||
|
|
||||||
|
## Objectif
|
||||||
|
Mise en place de la generation d'images avec ComfyUI integre a OpenWebUI.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Accomplissements
|
||||||
|
|
||||||
|
### 1. Installation ComfyUI
|
||||||
|
- Docker Compose configure avec support ROCm pour RX 7800 XT
|
||||||
|
- Correction du chemin : /root/ComfyUI au lieu de /home/user/ComfyUI
|
||||||
|
- Port : 8188 accessible sur http://192.168.1.11:8188
|
||||||
|
- GPU detecte : AMD Radeon RX 7800 XT (gfx1101)
|
||||||
|
|
||||||
|
### 2. Modeles SDXL installes
|
||||||
|
|
||||||
|
| Modele | Fichier | Status |
|
||||||
|
|--------|---------|--------|
|
||||||
|
| SDXL Base 1.0 | sd_xl_base_1.0.safetensors | OK |
|
||||||
|
| RealVisXL V4.0 | RealVisXL_V4.0.safetensors | OK |
|
||||||
|
| Juggernaut XL v8 | juggernautXL_v8Rundiffusion.safetensors | OK |
|
||||||
|
| SDXL Lightning | sdxl_lightning_8step.safetensors | OK |
|
||||||
|
| DreamShaper XL | DreamShaperXL1.0.safetensors | PROBLEME URL |
|
||||||
|
| SDXL VAE | sdxl_vae.safetensors | OK |
|
||||||
|
|
||||||
|
Script cree : download-more-models.sh (menu interactif)
|
||||||
|
|
||||||
|
### 3. Integration OpenWebUI
|
||||||
|
Configuration fonctionnelle :
|
||||||
|
- Moteur : ComfyUI
|
||||||
|
- URL : http://192.168.1.11:8188
|
||||||
|
- Workflow : API JSON avec noeuds mappees
|
||||||
|
- IDs des noeuds : prompt:6, model:4, width:5, height:5, steps:3, seed:3
|
||||||
|
|
||||||
|
Test reussi : Generation d'un chat astronaute sur la lune via Effi !
|
||||||
|
|
||||||
|
### 4. Documentation creee
|
||||||
|
- docs/MODELS.md : Guide complet des modeles avec reglages optimaux
|
||||||
|
- README.md mis a jour
|
||||||
|
- Script avec menu interactif
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Problemes rencontres et solutions
|
||||||
|
|
||||||
|
### Probleme 1 : Chemin Docker incorrect
|
||||||
|
Symptome : Modeles non detectes par ComfyUI
|
||||||
|
Solution : Changement de /home/user/ComfyUI vers /root/ComfyUI
|
||||||
|
|
||||||
|
### Probleme 2 : Permissions root
|
||||||
|
Symptome : Impossible d'ecrire dans models/checkpoints
|
||||||
|
Solution : sudo chown -R $USER:$USER models/
|
||||||
|
|
||||||
|
### Probleme 3 : Integration OpenWebUI
|
||||||
|
Symptome : Erreur 400, workflow non reconnu
|
||||||
|
Solution : Creation d'un workflow API JSON avec les bons noeuds
|
||||||
|
|
||||||
|
### Probleme 4 : Prompts en francais
|
||||||
|
Symptome : Resultats incoherents (ex: pas de chat quand on demande un chat)
|
||||||
|
Solution : Ajouter au prompt systeme d'Effi la traduction automatique
|
||||||
|
|
||||||
|
### Probleme 5 : DreamShaper URL invalide
|
||||||
|
Symptome : Fichier vide (15 octets)
|
||||||
|
Statut : Non resolu - URL a corriger plus tard
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Ameliorations a faire (OpenWebUI et ComfyUI)
|
||||||
|
|
||||||
|
### Priorite Haute
|
||||||
|
1. Corriger l'URL DreamShaper ou trouver un modele art/fantasy alternatif
|
||||||
|
2. Configurer les reglages par modele dans OpenWebUI :
|
||||||
|
- Lightning : 8 etapes, CFG 1-2
|
||||||
|
- Autres : 30-40 etapes, CFG 7-8
|
||||||
|
3. Ameliorer le prompt systeme d'Effi pour la traduction automatique des prompts d'image
|
||||||
|
|
||||||
|
### Priorite Moyenne
|
||||||
|
4. Img2img (modification d'image) : Fonctionne via interface ComfyUI directe
|
||||||
|
5. Tester differents styles avec les modeles installes
|
||||||
|
6. Workflow VAE : Integrer le VAE separe pour meilleures couleurs
|
||||||
|
|
||||||
|
### Priorite Basse
|
||||||
|
7. LoRA models : Ajouter des modeles de fine-tuning
|
||||||
|
8. ControlNet : Pour controler la pose/composition
|
||||||
|
9. Interface web ComfyUI : Creer des workflows personnalises sauvegardes
|
||||||
|
10. Automatisation : Pipeline pour generer plusieurs images
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Prochaines etapes immediates
|
||||||
|
|
||||||
|
1. Redemarrer ComfyUI apres ajout de modeles :
|
||||||
|
sudo docker restart comfyui
|
||||||
|
|
||||||
|
2. Changer de modele dans OpenWebUI :
|
||||||
|
- Admin → Settings → Images
|
||||||
|
- Modele : juggernautXL_v8Rundiffusion.safetensors
|
||||||
|
- Etapes : 30-40
|
||||||
|
- CFG : 7-8
|
||||||
|
|
||||||
|
3. Tester avec un prompt en anglais :
|
||||||
|
"a cute cat astronaut on the moon, fluffy orange cat in white space suit, pixar 3D style"
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Fichiers crees/modifies
|
||||||
|
|
||||||
|
comfyui/
|
||||||
|
├── docker-compose.yml # Config ROCm corrigee
|
||||||
|
├── download-more-models.sh # Script telechargement modeles
|
||||||
|
├── download-models.sh # Script initial SDXL Base
|
||||||
|
├── README.md # Documentation mise a jour
|
||||||
|
├── docs/
|
||||||
|
│ └── MODELS.md # Guide complet modeles
|
||||||
|
├── workflows/
|
||||||
|
│ ├── openwebui_sdxl_api.json # Workflow API OpenWebUI
|
||||||
|
│ ├── openwebui_api.json # Alternative
|
||||||
|
│ └── sdxl_basic.json # Workflow de test
|
||||||
|
└── models/
|
||||||
|
├── checkpoints/ # 4 modeles fonctionnels
|
||||||
|
└── vae/ # VAE separe
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Espace disque utilise
|
||||||
|
|
||||||
|
- ComfyUI + modeles : ~28 GB
|
||||||
|
- VRAM utilisee : 8-10 GB pendant generation
|
||||||
|
- RX 7800 XT : OK (16GB VRAM totale)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Session terminee le 6 avril 2026
|
||||||
Reference in New Issue
Block a user