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

- Ring: `trial`
- Category: `media`
- Overall score: `3.5/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/drowzeys/imagination-studio-by-keys-wasserman
- Radar entry: https://radar.alplab.co/#repo/drowzeys/imagination-studio-by-keys-wasserman
- License: `Apache-2.0`
- CI workflows: `.github/workflows`
- Tags: `local-first`, `video-generation`, `image-generation`, `film-production`, `fastapi`, `agent-tools`

## Summary

Local-first AI film studio: a FastAPI web app that plans films, generates images, video, voice and music through local models (MiniMax H3, Qwen-Image, Drama 3, Music3), then edits and exports — Apple silicon, DGX Spark and native Windows on Arm.

## Implementation Check

README claims match the code: job-queue server with measured per-GPU timings (app/server.py), a real 70KB MLX render pipeline with Ref2VA references, int8 decoding and parity checks (h3_generate.py), voice/music/sound modules, MCP server (mcp/studio-mcp.py) and ~150 test files run in CI (.github/workflows/tests.yml) — but the heavyweight engines (TensorFold, model weights) install externally and nothing was executed here.

## When to Use

When you have serious local hardware (Apple silicon 48-128GB unified memory, a DGX Spark, or an RTX Spark on Windows) and want a no-cloud generation-to-edit studio with agent (Claude Code/Codex/Hermes) integration. Not for commodity machines, and not for commercial use without checking each model's licence (Qwen/MMAudio non-commercial, H3 territory limits).

## Sub-scores

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

## Code Evidence

h3_generate.py implements the actual render path (streamed 50-layer text encoder to fit 64GB, comfy-int8 weight decoding with ConvRot, reference video/audio packing, FastH3 step schedules); app/server.py holds a real single-job queue with measured render tables; tests/ has ~150 files and CI runs them GPU-free on ubuntu plus windows-11-arm; app/access.py + the WriteGuard/SecurityHeaders middleware in app/server.py show careful security work (hmac key compare, DNS-rebinding and same-origin checks, CSP).

## Issues Found

oneshot-setup-cuda.sh:228 and spark/setup-yue2.sh:60 execute a remote installer (curl https://astral.sh/uv/install.sh | sh) — standard but worth knowing; stray committed files (machdep.cpu.brand_string, NOTES-track-c.md); several multi-hundred-KB single files (app/agents.py 232KB, app/server.py 255KB) make review hard; README's Windows installer one-liner downloads and runs a PowerShell script from the repo's main branch, unpinned.

## Key Risks

Nothing was run: renders themselves are unproven, and CI only covers model-free logic with stand-ins. The core transformer lives in the external TensorFold dependency, not this repo. Needs 48-128GB-class hardware; installers download large model weights and pipe curl|sh (astral uv). One dominant author (62% of 90d commits); project is 2 months old (created 2026-10-04).

## Reviewed Files

- `README.md`
- `.github/workflows/tests.yml`
- `requirements.lock`
- `app/server.py`
- `app/access.py`
- `app/updates.py`
- `app/telemetry.py`
- `app/captions.py`
- `app/push.py`
- `app/hf_gate.py`
- `app/agents.py`
- `app/motion.py`
- `h3_generate.py`
- `scripts/app.sh`
