art: fal gegen lokal gemessen — ComfyUI bleibt Standard

A/B mit identischem Prompt und Seed 771102, Tavernen-Motiv, alle vier Bilder
durch dieselbe Nachbearbeitung (640x360, 64 Farben, Tavernen-Palette):

- lokal klein 9b, B-Block              = Referenz
- lokal klein 9b, exakt der fal-Prompt  = andere Komposition, wenig Requisiten
- lokal klein 9b, Prompt + Clutter      = Laterne, Fässer, Krüge, Planken
- fal flux-2-pro, derselbe Prompt       = dichter, feinere Mikrodetail-Textur

Befund: der Detailgrad ist prompt-steuerbar, nicht backend-abhängig. Der
B-Block sagt "dense detail", nennt aber keine Gegenstände; erst der
Clutter-Zusatz bringt Requisiten ins Bild. fal erreicht zusätzlich eine
feinere, dichtere Textur — die lokal nicht erreichbar ist, aber 3 Cent kostet
und keine img2img-/ControlNet-Kette hat.

Daraus:
- prompts/retro_crpg_style.md §9: Clutter-Zusatz als optionaler Block für
  B-Szenen (nicht für Terrain/Sprites)
- WORKFLOW.md §5: ComfyUI bleibt Standard, fal ist Ausnahme für Hero-Bilder
  und Rechner ohne nutzbare lokale GPU; §5 nennt jetzt auch den
  klein-Preis (0,006 $/MP) und die UI-Ausgabe mit 2x
- prep/aufloesung/_vergleich_fal_vs_lokal.png und
  _vergleich_detail_lokal_vs_fal.png: die Belege
- final/_versuche/: die vier Testausgaben (nicht ausliefern)
- license-log.csv: drei Zeilen (1x fal mit request_id, 2x lokal mit prompt_id)
This commit is contained in:
torsten 2026-11-14 20:54:52 +01:00
parent a333220675
commit 2aae10bfed
9 changed files with 38 additions and 4 deletions

View file

@ -443,10 +443,22 @@ steht es in `license-log.csv` und läuft durch `pixelize.py`.
Subgraphs* (`75/62.width`) setzen, noch API-Format-Dateien bearbeiten. Im
API-Format stehen alle Werte offen, gepatcht wird per Skript.
- **fal.ai (Allowlist aus `AGENTS.md`):** Standard `fal-ai/flux-2-pro`
(0,03 $/MP), `fal-ai/flux-2/klein/9b` für Varianten, `blackforestlabs/flux-3/text-to-image`
nur wenn Typografie/Komposition sitzen muss. **Vor jedem Lauf `estimate_cost`
mit dem echten Input**, Modell + Preis in einem Satz nennen.
- **UI (`tools/ui.py`):** zeichnet `final/UI/` bei 1× und skaliert 4× nearest.
(0,03 $/MP), `fal-ai/flux-2/klein/9b` für Varianten (0,006 $/MP),
`blackforestlabs/flux-3/text-to-image` nur wenn Typografie/Komposition sitzen
muss. **Vor jedem Lauf `estimate_cost` mit dem echten Input**, Modell + Preis
in einem Satz nennen.
**ComfyUI bleibt der Standard, fal die Ausnahme.** Entschieden 14.11.2026
nach einem A/B mit identischem Prompt und Seed (Bilder:
`prep/aufloesung/_vergleich_detail_lokal_vs_fal.png`): der Detailgrad ist
**prompt-steuerbar** — `klein 9b` lokal liefert auf Wunsch Laternen, Fässer
und Planken, wenn der Prompt die Gegenstände nennt (Motiv-Zusatz in
`prompts/retro_crpg_style.md` §9). fal liefert zusätzlich eine feinere,
dichtere Mikrodetail-Textur, die lokal nicht erreichbar ist — dafür
3 Cent/Bild und keine img2img-/ControlNet-Kette.
fal ist damit für zwei Fälle vorgesehen: **einzelne Hero-Bilder** und
**Rechner ohne nutzbare lokale GPU** (MacBook Air, siehe `SETUP.md` §4.1).
- **UI (`tools/ui.py`):** zeichnet `final/UI/` bei 1× und skaliert 2× nearest.
`python3 tools/ui.py` (Auslieferung) / `--scale 1` (Basisgrößen) /
`--out DIR`. Kein Modell, kein `pixelize.py`, kein Lizenzlog.
- **Protokoll:** jeder Lauf → `assets/license-log.csv`

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

View file

@ -25,3 +25,6 @@ datum,endpoint_id,request_id,prompt,seed,lizenz
2026-11-12,local/comfyui/flux-2-klein-base-9b-fp8,aaa89e0b-6ecc-4427-8de1-03aff44085d8,"overland map tile for a fantasy role-playing game, old hand-drawn map style, flat colored shapes on a plain ground, symbols evenly distributed and fully inside the tile, no texture noise, no gradient, no border, readable at very small size, limited palette of six to eight hues, plain green ground with three grey mountain peaks with white snow caps, dark shadow on the right flank of each peak",2005,"FLUX.2 [klein] base 9B fp8 (FLUX Non-Commercial License) - lokal, kostenlos"
2026-11-12,local/comfyui/flux-2-klein-base-9b-fp8,8f963c24-ba51-49ee-a53c-c7ae6ad12b47,"overland map tile for a fantasy role-playing game, old hand-drawn map style, flat colored shapes on a plain ground, no texture noise, no gradient, no border, readable at very small size, limited palette of six to eight hues, two rounded olive-brown hillocks in the middle of the tile with a wide empty margin of plain green ground on all four sides, each hillock with a darker shadow along its lower edge",3004,"FLUX.2 [klein] base 9B fp8 (FLUX Non-Commercial License) - lokal, kostenlos"
2026-11-12,local/comfyui/flux-2-klein-base-9b-fp8,77838ffa-ea2e-4832-bd1e-ee5d6b8cee42,"overland map tile for a fantasy role-playing game, old hand-drawn map style, flat colored shapes on a plain ground, no texture noise, no gradient, no border, readable at very small size, limited palette of six to eight hues, three grey mountain peaks with white snow caps in the middle of the tile with a wide empty margin of plain green ground on all four sides, dark shadow on the right flank of each peak",3005,"FLUX.2 [klein] base 9B fp8 (FLUX Non-Commercial License) - lokal, kostenlos"
2026-11-14,fal-ai/flux-2-pro,01a1db96-6262-77c1-9b93-68c6c30336db,"painterly fantasy RPG scene, dense detail held together by strong value structure, deep blue-black shadows against a single warm amber light source, cool desaturated blues and umbers, warm cream highlights, high contrast, chunky readable volumes, light falling off in visible soft steps, no fine linework, atmosphere over clarity, late-1980s role-playing game cover-painting sensibility, first-person view of a harbor tavern interior at dusk, eye level, wide establishing framing, timber beams and a shuttered window with cold light behind it, clear value separation between foreground, middle ground and sky, one dominant shape, two supporting shapes, everything else quiet",771102,"FLUX.2 [pro] über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 1280x720, 0.9216 MP, x-fal-billable-units 1.0 = 0.03 USD"
2026-11-14,local/comfyui/flux-2-klein-base-9b-fp8,ce1b434d-05bf-41e7-aaa1-b266e697e7eb,"painterly fantasy RPG scene, dense detail held together by strong value structure, deep blue-black shadows against a single warm amber light source, cool desaturated blues and umbers, warm cream highlights, high contrast, chunky readable volumes, light falling off in visible soft steps, no fine linework, atmosphere over clarity, late-1980s role-playing game cover-painting sensibility, first-person view of a harbor tavern interior at dusk, eye level, wide establishing framing, timber beams and a shuttered window with cold light behind it, clear value separation between foreground, middle ground and sky, one dominant shape, two supporting shapes, everything else quiet",771102,"FLUX.2 [klein] base 9B fp8 (FLUX Non-Commercial License) - lokal, kostenlos; Test: Prompt identisch zum fal-Lauf (Modellvergleich)"
2026-11-14,local/comfyui/flux-2-klein-base-9b-fp8,a7864c07-10a3-4ee3-9fa5-91c0d229c161,"painterly fantasy RPG scene, dense detail held together by strong value structure, deep blue-black shadows against a single warm amber light source, cool desaturated blues and umbers, warm cream highlights, high contrast, chunky readable volumes, light falling off in visible soft steps, no fine linework, atmosphere over clarity, late-1980s role-playing game cover-painting sensibility, first-person view of a harbor tavern interior at dusk, eye level, wide establishing framing, timber beams and a shuttered window with cold light behind it, clear value separation between foreground, middle ground and sky, one dominant shape, two supporting shapes, everything else quiet, a cluttered interior full of small readable objects - hanging lanterns and iron pots, stacked barrels and crates, mugs and plates on the tables, worn floorboards with visible grain, layered depth from a foreground table to the far back wall",771102,"FLUX.2 [klein] base 9B fp8 (FLUX Non-Commercial License) - lokal, kostenlos; Test: Prompt + Detail-Zusatz (clutter)"

1 datum endpoint_id request_id prompt seed lizenz
25 2026-11-12 local/comfyui/flux-2-klein-base-9b-fp8 aaa89e0b-6ecc-4427-8de1-03aff44085d8 overland map tile for a fantasy role-playing game, old hand-drawn map style, flat colored shapes on a plain ground, symbols evenly distributed and fully inside the tile, no texture noise, no gradient, no border, readable at very small size, limited palette of six to eight hues, plain green ground with three grey mountain peaks with white snow caps, dark shadow on the right flank of each peak 2005 FLUX.2 [klein] base 9B fp8 (FLUX Non-Commercial License) - lokal, kostenlos
26 2026-11-12 local/comfyui/flux-2-klein-base-9b-fp8 8f963c24-ba51-49ee-a53c-c7ae6ad12b47 overland map tile for a fantasy role-playing game, old hand-drawn map style, flat colored shapes on a plain ground, no texture noise, no gradient, no border, readable at very small size, limited palette of six to eight hues, two rounded olive-brown hillocks in the middle of the tile with a wide empty margin of plain green ground on all four sides, each hillock with a darker shadow along its lower edge 3004 FLUX.2 [klein] base 9B fp8 (FLUX Non-Commercial License) - lokal, kostenlos
27 2026-11-12 local/comfyui/flux-2-klein-base-9b-fp8 77838ffa-ea2e-4832-bd1e-ee5d6b8cee42 overland map tile for a fantasy role-playing game, old hand-drawn map style, flat colored shapes on a plain ground, no texture noise, no gradient, no border, readable at very small size, limited palette of six to eight hues, three grey mountain peaks with white snow caps in the middle of the tile with a wide empty margin of plain green ground on all four sides, dark shadow on the right flank of each peak 3005 FLUX.2 [klein] base 9B fp8 (FLUX Non-Commercial License) - lokal, kostenlos
28 2026-11-14 fal-ai/flux-2-pro 01a1db96-6262-77c1-9b93-68c6c30336db painterly fantasy RPG scene, dense detail held together by strong value structure, deep blue-black shadows against a single warm amber light source, cool desaturated blues and umbers, warm cream highlights, high contrast, chunky readable volumes, light falling off in visible soft steps, no fine linework, atmosphere over clarity, late-1980s role-playing game cover-painting sensibility, first-person view of a harbor tavern interior at dusk, eye level, wide establishing framing, timber beams and a shuttered window with cold light behind it, clear value separation between foreground, middle ground and sky, one dominant shape, two supporting shapes, everything else quiet 771102 FLUX.2 [pro] über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 1280x720, 0.9216 MP, x-fal-billable-units 1.0 = 0.03 USD
29 2026-11-14 local/comfyui/flux-2-klein-base-9b-fp8 ce1b434d-05bf-41e7-aaa1-b266e697e7eb painterly fantasy RPG scene, dense detail held together by strong value structure, deep blue-black shadows against a single warm amber light source, cool desaturated blues and umbers, warm cream highlights, high contrast, chunky readable volumes, light falling off in visible soft steps, no fine linework, atmosphere over clarity, late-1980s role-playing game cover-painting sensibility, first-person view of a harbor tavern interior at dusk, eye level, wide establishing framing, timber beams and a shuttered window with cold light behind it, clear value separation between foreground, middle ground and sky, one dominant shape, two supporting shapes, everything else quiet 771102 FLUX.2 [klein] base 9B fp8 (FLUX Non-Commercial License) - lokal, kostenlos; Test: Prompt identisch zum fal-Lauf (Modellvergleich)
30 2026-11-14 local/comfyui/flux-2-klein-base-9b-fp8 a7864c07-10a3-4ee3-9fa5-91c0d229c161 painterly fantasy RPG scene, dense detail held together by strong value structure, deep blue-black shadows against a single warm amber light source, cool desaturated blues and umbers, warm cream highlights, high contrast, chunky readable volumes, light falling off in visible soft steps, no fine linework, atmosphere over clarity, late-1980s role-playing game cover-painting sensibility, first-person view of a harbor tavern interior at dusk, eye level, wide establishing framing, timber beams and a shuttered window with cold light behind it, clear value separation between foreground, middle ground and sky, one dominant shape, two supporting shapes, everything else quiet, a cluttered interior full of small readable objects - hanging lanterns and iron pots, stacked barrels and crates, mugs and plates on the tables, worn floorboards with visible grain, layered depth from a foreground table to the far back wall 771102 FLUX.2 [klein] base 9B fp8 (FLUX Non-Commercial License) - lokal, kostenlos; Test: Prompt + Detail-Zusatz (clutter)

Binary file not shown.

After

Width:  |  Height:  |  Size: 776 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 597 KiB

View file

@ -178,3 +178,22 @@ Dann `--cutout 12`. Drei Dinge, die sich bewährt haben:
Basisgröße für Kreaturen: **96×96** (Ausgabe 384×384). Für Gegner-Gruppen im
Kampfbild eher 64×64, für Bosse 128×128 — jeweils 4× Ausgabe.
## 9. Detail-Zusatz für B-Szenen (optional)
Der B-Block verlangt „dense detail", nennt aber keine Gegenstände — das Modell
liefert dann Flächen statt Requisiten. Wer eine bewohnte, volle Szene will,
hängt diesen Block an das Motiv:
```
a cluttered interior full of small readable objects - hanging lanterns and
iron pots, stacked barrels and crates, mugs and plates on the tables, worn
floorboards with visible grain, layered depth from a foreground table to the
far back wall
```
Gemessen am 14.11.2026 (Tavernen-Motiv, Seed 771102, `klein 9b`): der Zusatz
bringt Laterne, Fässer, Krüge und Dielenplanken ins Bild — der Sprung ist
deutlich, die Lesbarkeit bei 640×360 bleibt. Er ist **nicht** für
`Terrain`-Kacheln und Sprites gedacht: dort gilt weiter „one dominant shape,
two supporting shapes" (§4), sonst wird aus dem Wolf ein Fellknäuel.