diff --git a/README.md b/README.md index 1ed9b9d..55fbc2a 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,82 @@ docker exec ai-llm-ollama-1 ollama pull llava:7b # vision/screenshots First model for InvokeAI — go to `images.mydomain.com` → Model Manager → search `sd-1.5-inpainting` → Install. -## SearXNG first-time fix +## InvokeAI Usage Guide + +### Installing your first model +1. Open `https://images.mydomain.com` +2. Click **Model Manager** (left sidebar) +3. Click **HuggingFace** +4. Search: `runwayml/stable-diffusion-inpainting` +5. Click Install — downloads automatically + +### Text to Image (like ChatGPT image generation) +1. Click the **canvas icon** (left sidebar) +2. Make sure model is selected at top (e.g. `sd-1.5-inpainting`) +3. Type your prompt in the prompt box +4. Click **Invoke** +5. Results appear in the gallery (right side) + +Key settings to learn: +- **Steps** — higher = more refined, slower (20-30 is good) +- **CFG Scale** — how closely to follow the prompt (7-9 is good) +- **Seed** — lock it to reproduce the exact same image + +### Inpainting (fixing details in an existing image) +1. Open an image from the gallery or upload one +2. Click **Send to Canvas** +3. Select the **Brush** tool +4. Paint a mask over the area you want to change (face, hand, background) +5. Type what you want in that area in the prompt +6. Adjust **Denoising Strength** — lower (0.3-0.5) = subtle, higher (0.7+) = more creative +7. Click **Invoke** +8. The masked area is regenerated, rest of image stays intact + +Tips: +- Use **Inpaint at Full Resolution** for face/hand details +- Keep denoising low (0.3-0.4) for seamless blending +- Mask blur of 4-8px softens the edge between inpainted and original + +### Using an image as a base (img2img) +1. Upload or select an image from gallery +2. Click **Send to Canvas** +3. Change mode to **Image to Image** +4. Type your prompt describing what you want +5. Adjust **Denoising Strength**: + - Low (0.3) = keeps original, subtle changes + - High (0.8) = major transformation +6. Click **Invoke** + +### Consistent character images (for product lines) +To maintain a consistent character across many images: + +**Method 1 — Seed locking:** +- Generate until you get the character you want +- Note the seed number +- Lock the seed — same seed = same character base every time +- Change only the prompt details (pose, background, clothing) + +**Method 2 — Reference image + low denoising:** +- Use your established character image as the base +- Set denoising to 0.3-0.4 +- Change prompt to describe the new scene/pose +- Character features stay consistent, context changes + +**Method 3 — LoRA models:** +- Train or download a LoRA for your specific character +- Load the LoRA in Model Manager +- Add the LoRA trigger word to your prompt +- Most consistent method for commercial product lines +- LoRAs available at civitai.com + +### Workflow for best results +1. Generate several variations (change seed each time) +2. Pick the best base image +3. Lock the seed +4. Inpaint problem areas (faces, hands, backgrounds) +5. Use img2img for scene variations with same character +6. Upscale final image for print quality + SearXNG's wikidata engine fails on startup due to external blocks. Disable it: ```bash