# betaversionhq/beta-version-blox-studio architecture

> Architecture diagram of the GitHub repository betaversionhq/beta-version-blox-studio, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/betaversionhq/beta-version-blox-studio
- Repository: https://github.com/betaversionhq/beta-version-blox-studio

## Overview

Blox Studio turns an idea or script into a vertical animated short: Claude Code prepares shot specifications, voice can retime them, Blender builds and renders the scene, and post-processing produces the MP4. The graph preserves character, world-building, camera, and audio capabilities. Some subsystem links are documented in the README or SOURCE INDEX; unsampled implementation details are not inferred.

Main entry points: [`kit/blox/compile.py`](https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/blox/compile.py) (Scene compiler), [`kit/run.py`](https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/run.py) (Pipeline runner), [`kit/blox/voice.py`](https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/blox/voice.py) (Voice and timing), [`kit/projects/test10/shots.py`](https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/projects/test10/shots.py) (Shot specifications)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_authoring["Short authoring"]
  node_claude["Claude Code"]
  node_skill["Claude skill<br/>[SKILL.md]"]
  node_shots["Shot specifications<br/>[shots.py]"]
  node_runner["Pipeline runner<br/>[run.py]"]
end

subgraph group_world["Characters and worlds"]
  node_characters["Blocky characters<br/>[chars.py]"]
  node_places["Story places<br/>[places.py]"]
  node_built_places["Hand-built places<br/>[places_built.py]"]
  node_sets["Sets and lighting<br/>[sets.py]"]
  node_props["Code-built props<br/>[props.py]"]
end

subgraph group_render["Scene and rendering"]
  node_compiler["Scene compiler<br/>[compile.py]"]
  node_look["Look stills<br/>[run.py]"]
  node_renderer["Parallel rendering<br/>[render_par.py]"]
  node_frames["Rendered frames"]
end

subgraph group_finish["Audio and finishing"]
  node_voice["Voice and timing<br/>[voice.py]"]
  node_post["Post-production<br/>[post.py]"]
  node_mp4["Vertical MP4"]
end

node_user(("Creator"))
node_kokoro["Kokoro TTS"]
node_blender["Blender"]

node_user -->|"requests short"| node_claude
node_claude -->|"uses skill"| node_skill
node_claude -->|"writes shots"| node_shots
node_user -->|"may supply script"| node_shots
node_runner -->|"runs stage"| node_shots
node_runner -->|"runs stage"| node_voice
node_runner -->|"runs stage"| node_compiler
node_runner -->|"runs stage"| node_look
node_runner -->|"runs stage"| node_renderer
node_runner -->|"runs stage"| node_post
node_shots -->|"provides script"| node_voice
node_voice -->|"retimes shots"| node_compiler
node_compiler -->|"uses"| node_characters
node_compiler -->|"uses"| node_places
node_compiler -->|"uses"| node_sets
node_places -->|"builds with"| node_props
node_places -->|"uses presets"| node_sets
node_built_places -->|"builds with"| node_props
node_built_places -->|"uses set tools"| node_sets
node_sets -->|"builds with"| node_props
node_compiler -->|"compiles scene"| node_blender
node_compiler -->|"scene for render"| node_renderer
node_renderer -->|"writes frames"| node_frames
node_frames -->|"supplies frames"| node_post
node_voice -->|"synthesizes speech"| node_kokoro
node_voice -->|"provides voice timing"| node_post
node_post -->|"encodes video"| node_mp4

click node_skill "https://github.com/betaversionhq/beta-version-blox-studio/blob/main/skill/SKILL.md"
click node_shots "https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/projects/test10/shots.py"
click node_runner "https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/run.py"
click node_voice "https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/blox/voice.py"
click node_characters "https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/blox/chars.py"
click node_places "https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/blox/places.py"
click node_built_places "https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/blox/places_built.py"
click node_sets "https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/blox/sets.py"
click node_props "https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/blox/props.py"
click node_compiler "https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/blox/compile.py"
click node_look "https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/run.py"
click node_renderer "https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/blox/render_par.py"
click node_post "https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/blox/post.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_claude,node_skill,node_shots,node_runner toneBlue
class node_characters,node_places,node_built_places,node_sets,node_props toneAmber
class node_compiler,node_look,node_renderer,node_frames toneMint
class node_voice,node_post,node_mp4 toneRose
class node_user,node_kokoro,node_blender toneIndigo
```

## Components

### Short authoring

- **Claude Code**
- [Claude skill](https://github.com/betaversionhq/beta-version-blox-studio/blob/main/skill/SKILL.md): `skill/SKILL.md`
- [Shot specifications](https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/projects/test10/shots.py): `kit/projects/test10/shots.py`
- [Pipeline runner](https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/run.py): `kit/run.py`

### Characters and worlds

- [Blocky characters](https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/blox/chars.py): `kit/blox/chars.py`
- [Story places](https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/blox/places.py): `kit/blox/places.py`
- [Hand-built places](https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/blox/places_built.py): `kit/blox/places_built.py`
- [Sets and lighting](https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/blox/sets.py): `kit/blox/sets.py`
- [Code-built props](https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/blox/props.py): `kit/blox/props.py`

### Scene and rendering

- [Scene compiler](https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/blox/compile.py): `kit/blox/compile.py`
- [Look stills](https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/run.py): `kit/run.py`
- [Parallel rendering](https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/blox/render_par.py): `kit/blox/render_par.py`
- **Rendered frames**

### Audio and finishing

- [Voice and timing](https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/blox/voice.py): `kit/blox/voice.py`
- [Post-production](https://github.com/betaversionhq/beta-version-blox-studio/blob/main/kit/blox/post.py): `kit/blox/post.py`
- **Vertical MP4**

### Other components

- **Creator**
- **Kokoro TTS**
- **Blender**

## Connections

- Creator → Claude Code: requests short (evidence: `README.md`)
- Claude Code → Claude skill: uses skill (evidence: `README.md`)
- Claude Code → Shot specifications: writes shots (evidence: `README.md`)
- Creator → Shot specifications: may supply script (evidence: `README.md`)
- Pipeline runner → Shot specifications: runs stage (evidence: `kit/run.py`)
- Pipeline runner → Voice and timing: runs stage (evidence: `kit/run.py`)
- Pipeline runner → Scene compiler: runs stage (evidence: `README.md`)
- Pipeline runner → Look stills: runs stage (evidence: `README.md`)
- Pipeline runner → Parallel rendering: runs stage (evidence: `README.md`)
- Pipeline runner → Post-production: runs stage (evidence: `kit/run.py`)
- Shot specifications → Voice and timing: provides script (evidence: `README.md`)
- Voice and timing → Scene compiler: retimes shots (evidence: `README.md`)
- Scene compiler → Blocky characters: uses (evidence: `kit/blox/compile.py`)
- Scene compiler → Story places: uses (evidence: `kit/blox/compile.py`)
- Scene compiler → Sets and lighting: uses (evidence: `kit/blox/compile.py`)
- Story places → Code-built props: builds with (evidence: `kit/blox/places.py`)
- Story places → Sets and lighting: uses presets (evidence: `kit/blox/places.py`)
- Hand-built places → Code-built props: builds with (evidence: `kit/blox/places_built.py`)
- Hand-built places → Sets and lighting: uses set tools (evidence: `kit/blox/places_built.py`)
- Sets and lighting → Code-built props: builds with (evidence: `kit/blox/sets.py`)
- Scene compiler → Blender: compiles scene (evidence: `README.md`)
- Scene compiler → Parallel rendering: scene for render (evidence: `README.md`)
- Parallel rendering → Rendered frames: writes frames (evidence: `kit/blox/render_par.py`)
- Rendered frames → Post-production: supplies frames (evidence: `kit/blox/post.py`)
- Voice and timing → Kokoro TTS: synthesizes speech (evidence: `kit/blox/voice.py`)
- Voice and timing → Post-production: provides voice timing (evidence: `README.md`)
- Post-production → Vertical MP4: encodes video (evidence: `kit/blox/post.py`)
