# keys-wasserman/imagination-studio-by-keys-wasserman — AlpLab Radar Static Code Audit

- Ring: `trial`
- Category: `media`
- Overall score: `3.7/5`
- Implementation check: `verified`
- Maturity: `early`
- Audited commit: `16f00b462a5a` (read-only; nothing from the repository was executed)
- Reviewed at: 2026-11-30T12:43:25Z
- Repository: https://github.com/keys-wasserman/imagination-studio-by-keys-wasserman
- Radar entry: https://radar.alplab.co/#repo/keys-wasserman/imagination-studio-by-keys-wasserman
- License: `Apache-2.0`
- CI workflows: `.github/workflows`
- Tags: `local-first`, `video-generation`, `image-generation`, `voice-music`, `mcp`, `fastapi`

## Summary

A local-first film studio web app (FastAPI + static UI) that queues image/video/voice/music generation through local models (Qwen-Image-2.1, MiniMax H3, Fish Audio Drama 3, MiniMax-Music3, ComfyUI) on Windows-on-Arm, Apple silicon or NVIDIA Linux, with an MCP server for agents.

## Implementation Check

Code implements what the README describes: job queue, presets and measured timings in app/server.py, keyed remote access in app/access.py, git updater in app/updates.py, MCP tools in mcp/studio-mcp.py plus an extensive tests/ suite; generation paths depend on external engines/weights the repo does not ship, so only the app layer is verifiable statically.

## When to Use

Reach for it when you own the exact hardware it targets (RTX Spark N1X laptop, M-series Mac with 48-128 GB, DGX Spark) and want a local image/video/audio studio agents can drive over MCP; not for ordinary machines, servers, or commercial use of its non-commercial weights (Qwen-Image-2.1, MMAudio).

## Sub-scores

| Dimension | Score |
|---|---|
| quality | 4.5/5 |
| usability | 3.0/5 |
| reliability | 3.0/5 |
| security | 4.0/5 |
| integration | 4.0/5 |

## Code Evidence

app/server.py (255 KB real app: one-at-a-time queue, per-machine presets, WriteGuard with host/origin checks, CSP headers, body limits); app/access.py (hmac.compare_digest key auth, 0600 key file with Windows DACL, loopback-by-default, opt-in-only tailnet/LAN trust) backed by tests/test_access.py; app/updates.py (ff-only merges, backup refs, rollback, mutation routes locked to localhost); mcp/README.md documents ~40 agent tools; .github/workflows/tests.yml runs model-free pytest on Ubuntu and a windows-11-arm runner.

## Issues Found

Install path is curl/Invoke-WebRequest-from-main piped into an admin PowerShell (README.md) — standard supply-chain trust exposure, though the script is in-repo and inspectable; oneshot-setup-rtx-spark-n1x.ps1 makes system-wide changes with no observed revert path (disables sleep/hibernate and lid actions, Wi-Fi power management, registry Start Layout policy, restarts explorer.exe; scripts/ only has uninstall-windows-model.ps1 and stop-windows-studio.ps1); app/addons.py loads local Python code but is opt-in via STUDIO_ADDONS=1 and explicitly not a sandbox.

## Key Risks

Nothing was executed: CI tests the app against stand-ins only, so the actual render paths (ComfyUI, TensorFold engines, MLX, model weights) are unverified; requires exotic hardware (48-128 GB RAM, specific GPUs); installer runs as administrator with ExecutionPolicy Bypass fetched from raw.githubusercontent; updates track the default branch, so behavior can change under you; several bundled engines and fonts have non-open or custom terms (THIRD_PARTY_NOTICES.md).

## Reviewed Files

- `README.md`
- `.github/workflows/tests.yml`
- `requirements.lock`
- `app/server.py`
- `app/access.py`
- `app/telemetry.py`
- `app/updates.py`
- `app/addons.py`
- `app/hf_gate.py`
- `mcp/README.md`
- `oneshot-setup-rtx-spark-n1x.ps1`
- `scripts/studio.sh`
