MadStickArt v0.4.0
MadStickArt is a trained, 61,296-parameter neural raster decoder for stick-figure storyboard scenes. It reconstructs 956 × 400 grayscale frames from four explicit layout masks: actors, setting, props, and motion. Its output contract is 2.39:1.
Try MadStickArt online → — the browser trial is deployed separately. Its deployed model/version and renderer are recorded in the Space's model-provenance.json. The trial exposes all 27 settings and 91 props through the released Python asset renderer running locally in a browser worker. Browser suggestions use transparent rules, while Strands decisions run in the downloadable Python pipeline.
The Python pipeline handles structured scene decisions and procedural composition. Strands Decider fills missing controls; explicit user controls and placement remain authoritative. The procedural renderer lays out geometry, and the trained neural decoder rasterizes that layout. This model does not generate story text or choose scene composition from pixels.
Pin revision v0.4.0 from danger-room/MadStickArt for reproducible downloads. The separate initial repository danger-room/MadStickArt-v0.1.0 and its v0.1.0 tag remain preserved.
Stable release navigation
Use main for the latest stable release. Pin an immutable version tag for reproducible runs. This card describes v0.4.0.
The original standalone repository remains available at danger-room/MadStickArt-v0.1.0. The stable repository's v0.1.0 preserves that original model on the current release line.


Component versions
| Component | Version or revision |
|---|---|
| Model weights | MadStickArt 0.4.0 (v0.4.0) |
| Dataset/catalog | 16,384 pairs; 20 genres; 222 source titles |
| Procedural asset library | 0.2.0 |
| Scene planner | StrandsAgents/strands-decider-2B-hobson-v19 at bb282d786bc251fd4e3068de3ada9ddbb38127cd |
| Python runtime package | madstickartmodel 0.1.0 |
| Catalog SHA-256 | 2bb3a6a1857274140bfd4f73001dcd80e941a2a02d7788eddba784f49afd8e05 |
| Dataset manifest SHA-256 | 194d0acc58127464180cecc087c4103803686c969f2904b9c60b82193d060741 |
Catalog entries are original generalized beats associated with film and television titles. Training targets are newly rendered procedural vector scenes, not movie frames or scripts. Source catalogs, code and small evidence reports are included; conditioning tensors, target datasets, planner downloads, decision caches and training logs are excluded.
Held-out decoder results
The checkpoint was selected by validation loss. On the title-isolated test split, it reached foreground IoU 0.7248 at threshold 0.35 on 2,445 scenes; pixel MAE was 0.0131. Validation foreground IoU was 0.7260 on 2,460 scenes. The bilinear union baseline scored 0.2630 test IoU.
These metrics measure agreement with the synthetic procedural teacher, not human judgments of story quality, composition, or legibility. Genres are balanced; action and emotion labels are not.
v0.4 reuses the frozen v0.3 dataset and procedural asset library. It retrains a wider decoder with foreground, edge, and Dice loss terms to reduce excess and doubled strokes. The same-test comparison with v0.3 is included in reports/legacy-checkpoint-comparison.json. Higher foreground precision comes with lower recall: some fine strokes can still be omitted. The browser renderer and story-beat suggestions were corrected separately; the decoder itself does not choose scene variety.
Measured throughput
The benchmark ran at 956 × 400, batch size 1, after 10 warmup images, on Apple M5 Max, 40 GPU cores and 128 GB unified memory. The full pipeline measured 8.52 scenes/s across 100 scenes and 100 uncached Strands calls / 690 typed choice questions across 20 genres. Its scope includes layout, neural rendering, annotations, clean and annotated PNGs, and JSON; it met the five-scenes-per-second goal under those conditions. Model download and startup are excluded.
Prepared-scene to PNG measured 75.42 scenes/s and neural forward only measured 1443.12 images/s. Their narrower timing scopes are recorded in reports/benchmark.json. These Apple M-series measurements do not establish browser or base-M5 throughput.
Run the pinned model
hf download danger-room/MadStickArt --revision v0.4.0 --local-dir ./MadStickArt-v0.4.0
cd MadStickArt-v0.4.0
UV_CACHE_DIR="$PWD/.cache/uv" uv sync --locked --extra planner
uv run --no-sync madstick storyboard examples/multigenre-storyboard.jsonl \
--checkpoint best.pt --device mps --planner strands --planner-device mlx \
--output generated-storyboard
Use --device cpu when Apple MPS is unavailable. The optional Strands planner downloads its own model weights separately; those weights are not part of MadStickArt. model.safetensors is the canonical safe checkpoint and best.pt preserves training-checkpoint compatibility.
Versioned evidence is included in reports/: training and held-out metrics, benchmark, dataset summary and validation, catalog audit, asset catalog, and component versions. The full training dataset is not distributed.