114 lines
4.7 KiB
Markdown
114 lines
4.7 KiB
Markdown
|
|
# Wolf-Test — kann das MacBook Air Kampf-Sprites liefern?
|
|||
|
|
|
|||
|
|
Stand: 14.11.2026 · Vorbereitung für den ersten Lauf auf dem Air (M4, 24 GB).
|
|||
|
|
|
|||
|
|
**Frage:** Liefert ein Rechner ohne FLUX.2-GPU Sprites, die zur bestehenden
|
|||
|
|
Serie passen — über fal (`klein/9b`, 0,6 Cent/Bild) oder über SDXL lokal (0 €)?
|
|||
|
|
|
|||
|
|
**Vergleichsbasis:** `art/final/Creatures/monster_wolf_96px.png` (FLUX.2 klein
|
|||
|
|
9B, Seed 271828, lokal auf der RTX 5060 Ti). Genau dieser Prompt wird
|
|||
|
|
wiederverwendet — damit ist der einzige Unterschied das Modell, nicht die
|
|||
|
|
Formulierung.
|
|||
|
|
|
|||
|
|
## Der Prompt (beide Wege, wörtlich derselbe)
|
|||
|
|
|
|||
|
|
```
|
|||
|
|
illustrated fantasy RPG art, late-1980s role-playing game cover-illustration
|
|||
|
|
sensibility, flat color shapes with hard edges, limited palette of six to eight
|
|||
|
|
hues - muted ochre, dusty slate blue, olive green, warm cream highlights, deep
|
|||
|
|
umber shadow, no gradients except two-step blends, strong silhouettes, readable
|
|||
|
|
at small size, painterly but economical detail, full body of a grey wolf in a
|
|||
|
|
low aggressive stance, side-on three-quarter view, centered, isolated on a flat
|
|||
|
|
neutral mid-grey background, complete silhouette with all four legs and the tail
|
|||
|
|
visible, no cast shadow, no ground plane
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
Negative (nur SDXL, fal nimmt keinen Negativ-Prompt):
|
|||
|
|
|
|||
|
|
```
|
|||
|
|
text, letters, watermark, signature, logo, ui, frame, pixel art, 8-bit, dither,
|
|||
|
|
photorealism, 3d render, plastic gloss, chromatic aberration, blur, vignette
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
Seeds: **271828** (der lokal gewählte), **314159**, **880417** (lokal
|
|||
|
|
verworfen — anderes Bein, andere Pose). Drei Seeds, weil das Modell die Pose
|
|||
|
|
über den Seed steuert, nicht über Adjektive (`WORKFLOW.md` §4.4).
|
|||
|
|
|
|||
|
|
## Weg A — fal (sofort, kein Setup außer Pillow)
|
|||
|
|
|
|||
|
|
```bash
|
|||
|
|
export FAL_KEY=... # in ~/.zshrc, nie ins Repo
|
|||
|
|
python3 art/tools/falgen.py --dry-run --endpoint fal-ai/flux-2/klein/9b \
|
|||
|
|
--prompt-file art/prep/wolf-test/prompt.txt --size 1024x1024 --seed 271828
|
|||
|
|
# erwartet: 1.0486 MP × 0.006 $/MP = 0.0063 $
|
|||
|
|
|
|||
|
|
for s in 271828 314159 880417; do
|
|||
|
|
python3 art/tools/falgen.py --endpoint fal-ai/flux-2/klein/9b \
|
|||
|
|
--prompt-file art/prep/wolf-test/prompt.txt --size 1024x1024 --seed $s \
|
|||
|
|
--kategorie Creatures --name monster_wolf_fal_s$s
|
|||
|
|
done
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
Kosten: **1,9 Cent** für alle drei. `falgen.py` prüft die Allowlist, holt den
|
|||
|
|
Preis, legt das Rohbild in die Workbench und schreibt die Lizenzzeile selbst.
|
|||
|
|
|
|||
|
|
## Weg B — SDXL lokal (0 €, braucht ComfyUI + 6,7 GB)
|
|||
|
|
|
|||
|
|
```bash
|
|||
|
|
python3 art/tools/setup.py all ~/Dokumente/workbench_taloria --mps --sdxl
|
|||
|
|
python3 art/tools/setup.py check --sdxl --smoke
|
|||
|
|
comfy launch --background
|
|||
|
|
|
|||
|
|
for s in 271828 314159 880417; do
|
|||
|
|
comfy run --workflow art/workflows/sdxl_wolf_s$s.json --wait
|
|||
|
|
comfy download <prompt_id> -o ~/Dokumente/workbench_taloria/assets/raw/Creatures/
|
|||
|
|
done
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
Die Jobdateien sind fertig gepatcht (API-Format, 1024×1024, 32 Steps, CFG 6.5,
|
|||
|
|
dpmpp_2m/karras, Seed im Dateinamen) und auf der Referenzmaschine validiert.
|
|||
|
|
Laufzeit auf dem Air: grob 30–90 s pro Bild — nicht gemessen.
|
|||
|
|
|
|||
|
|
## Nachbearbeitung (identisch für alle Quellen)
|
|||
|
|
|
|||
|
|
```bash
|
|||
|
|
python3 art/tools/pixelize.py <roh>.png \
|
|||
|
|
-o art/final/Creatures/<name>_96px.png \
|
|||
|
|
--size 96x96 --colors 32 --cutout 12 --outline auto --recenter --upscale 2
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
## Vergleich
|
|||
|
|
|
|||
|
|
Je Zeile `"Beschriftung=Pfad"`, alle Bilder werden auf dieselbe Breite
|
|||
|
|
skaliert (nearest), damit man Größen nicht mit Qualität verwechselt:
|
|||
|
|
|
|||
|
|
```bash
|
|||
|
|
python3 art/tools/vergleich.py art/prep/wolf-test/_vergleich.png \
|
|||
|
|
"referenz RTX 5060 Ti=art/final/Creatures/monster_wolf_96px.png" \
|
|||
|
|
"air fal seed 271828=art/final/Creatures/monster_wolf_fal_s271828_96px.png" \
|
|||
|
|
"air sdxl seed 271828=art/final/Creatures/monster_wolf_sdxl_s271828_96px.png"
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
## Abnahme (dieselben Kriterien wie §7 in `WORKFLOW.md`)
|
|||
|
|
|
|||
|
|
- [ ] Silhouette **geschlossen**, alle vier Beine und der Schwanz sichtbar
|
|||
|
|
- [ ] keine Pose, die wie eine Hyäne wirkt (der Fehler aus v2)
|
|||
|
|
- [ ] kein Schattenkeil am Boden, kein Rest des grauen Hintergrunds am Rand
|
|||
|
|
- [ ] bei 1× (96 px) noch als Wolf lesbar, nicht als Fellknäuel
|
|||
|
|
- [ ] 32 Farben eingehalten, Kontur vorhanden
|
|||
|
|
- [ ] passt die „Handschrift" zum bestehenden Wolf? (Kontur, Flächen, Fell)
|
|||
|
|
|
|||
|
|
**Urteil, das daraus folgt:** Kann das Air Kreaturen liefern — und wenn ja, über
|
|||
|
|
welchen Weg. Danach gilt für Serien **ein** Modell (nicht drei hier, drei
|
|||
|
|
dort), weil sich die Handschrift sonst innerhalb einer Kreaturen-Familie
|
|||
|
|
mischt.
|
|||
|
|
|
|||
|
|
## Ablage
|
|||
|
|
|
|||
|
|
| Was | Wohin |
|
|||
|
|
|---|---|
|
|||
|
|
| Rohbilder | Workbench `assets/raw/Creatures/` (nicht im Repo) |
|
|||
|
|
| freigegebene Sprites | `art/final/Creatures/` + Zeile in `final/Creatures/README.md` (Seed, Aufruf) |
|
|||
|
|
| Lizenzzeilen | `art/license-log.csv` — bei fal automatisch, bei SDXL lokal von Hand (`comfy run` gibt die `prompt_id`) |
|
|||
|
|
| Vergleichsblatt | `art/prep/wolf-test/_vergleich.png` |
|