Experimental AI video generator
  • Python 81.8%
  • TypeScript 15.8%
  • PowerShell 2.1%
  • Mako 0.2%
Find a file
amayakase 334a0984a9 Add scene-aware state and pipeline snapshots
Implements the M2 scene-state slice end to end: adds migration 0007 with pipeline snapshots, scene-scoped attempt/artifact lineage fields, and scene selections; introduces `scene-workbench-v1`; and wires backend scene graph freshness/invalidation, scoped runs, scene edits, reorder, retry, and project pipeline snapshot retrieval. Frontend now defaults to the scene workbench pipeline, supports per-scene stage views/history, and adds scene reordering in the planning editor. Documentation was reconciled with an M0 baseline audit and expanded M2 status, and new backend tests cover scene API flows, snapshot behavior, and migration compatibility.
2026-10-12 03:39:40 +02:00
backend Add scene-aware state and pipeline snapshots 2026-10-12 03:39:40 +02:00
docs Add scene-aware state and pipeline snapshots 2026-10-12 03:39:40 +02:00
examples Add initial AI Video Workbench spec bundle 2026-09-24 00:11:17 +02:00
frontend Add scene-aware state and pipeline snapshots 2026-10-12 03:39:40 +02:00
manifests Add direct Wan text-to-video pipeline 2026-10-12 02:20:50 +02:00
tests/backend Add scene-aware state and pipeline snapshots 2026-10-12 03:39:40 +02:00
workflows/pipelines Add scene-aware state and pipeline snapshots 2026-10-12 03:39:40 +02:00
.gitignore Add mock three-stage workbench MVP 2026-09-24 00:32:32 +02:00
AGENTS.md Add scene-aware state and pipeline snapshots 2026-10-12 03:39:40 +02:00
API.md Add scene-aware state and pipeline snapshots 2026-10-12 03:39:40 +02:00
INSTALL.md Add Codex architecture documentation pack 2026-10-12 02:59:36 +02:00
README.md Add scene-aware state and pipeline snapshots 2026-10-12 03:39:40 +02:00
SPEC.md Add scene-aware state and pipeline snapshots 2026-10-12 03:39:40 +02:00
start.cmd Add mock three-stage workbench MVP 2026-09-24 00:32:32 +02:00
start.ps1 Stop managed runtimes on backend shutdown 2026-09-29 00:17:38 +02:00

AI Video Experimental

Local FastAPI/React workbench with SQLite projects and immutable local artifacts. Start with start.cmd on Windows (or start.ps1 -NoBrowser), which creates the Python environment and installs missing dependencies. Python 3.10+ and Node/npm are required; downloaded inference runtimes are managed by the app.

For development, run python -m venv .venv and .venv\Scripts\python.exe -m pip install -e "backend[test]" from root, then npm.cmd ci in frontend. Check with .venv\Scripts\python.exe -m pytest tests/backend -q and npm.cmd run build in frontend.

Manual development: run .venv\Scripts\python.exe -m uvicorn workbench.main:app --host 127.0.0.1 --port 8000 --reload from root, and npm.cmd run dev in frontend; open http://127.0.0.1:5173. Alternatively, uv venv and uv pip install -e "backend[test]" are supported when uv is available. The launcher chooses free ports; manual Vite uses backend port 8000 unless WORKBENCH_BACKEND_PORT is set.

Data lives under data/ or WORKBENCH_DATA_DIR; startup applies Alembic migrations and marks interrupted attempts failed. Managed downloads remain under data/downloads/runtimes, runtimes under data/tools/runtimes, and models under data/models. Managed tools supports pinned installation, verification and local process lifecycle. Local llama.cpp text, ComfyUI image and experimental Wan video adapters exist; builtin speech is a test tone, not Piper narration. No required cloud account or telemetry is used. Python/Node bootstrap runtimes are development prerequisites, not bundled inference tools.

The optional Hugging Face browser searches/inspects repositories and imports selected safe model files at a pinned commit. Downloaded, installed, compatible and actually executable are distinct states. WORKBENCH_HF_TOKEN is an optional backend environment credential for gated/private repositories and is not saved in projects.

Select Typed brief, script and storyboard when creating a project. Run each stage, inspect or edit its fields, save edits as new candidates, and explicitly approve the desired candidate before the next stage. This pipeline works offline with builtin mocks and ends at a structured storyboard plan. Existing educational/media pipelines remain available. Mock defaults are suggestions to review, not semantic inference or factual verification.

New projects and the Dutch ambulance preset now default to Scene workbench (offline fixtures). After approving the plan, select each scene in Scene images/Scene audio to generate and approve its PNG/test tone, then build the Assembly manifest. Editing and approving Scene 2's storyboard prompt stales its image and the aggregate manifest, preserving the other scenes. Move up/down in the script editor preserves IDs and saves a candidate; approval changes assembly order. Prior attempts remain inspectable and can be approved again to restore selections. The manifest is a preview dependency record, not a finished video.

Startup applies additive migration 0007_scene_state and pins matching legacy graphs/templates. New projects snapshot their pipeline definitions; later YAML/template changes do not alter their semantics. Existing typed-planning/educational projects retain their old stages. See M0 audit and current state for compatibility details.

See documentation map, roadmap, and verified implementation state. Later scene production, deployment matching, durable jobs and guided UI requirements remain separate milestones.

Original documentation package context

Purpose: ready-to-merge Markdown documentation for a local-first, capability-driven AI video experimentation workbench with optional local and remote models.

Begin with INSTALL.md, then docs/README.md and docs/ROADMAP.md.

Historical preparation caveat: the repository URL was unavailable when the design pack was authored. Implementation claims should now be checked against docs/CURRENT_STATE.md; documents labelled proposed remain design specifications.

Must preserve: existing root AGENTS instructions after review, local-first persistence, immutable attempt history, per-stage approval, scene-specific regeneration, backend-only capability filtering, explicit remote inference consent and locally persisted output.