> ## Documentation Index
> Fetch the complete documentation index at: https://docs.khanhng.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 1.2 Introduction and Goals

> What Demo Studio does, its functional requirements, the quality goals that drive its design, and the stakeholders who use and review its videos.

## Demo Studio

| Information | Description |
| - | - |
| Main Goal | Turn a product's real UI into a narrated, captioned, beat-synced demo video that passes an acceptance gate, with one question card from the user. |
| Business Domain | Claude plugin (skills plus a local video engine) |
| Size | Single-maintainer plugin, version 0.3.0 |
| Strategic Decision | <ul><li>Real UI captures only, never redrawn UI</li><li>Recording is the authority for timing and captions</li><li>Automated acceptance gate before delivery</li></ul> |
| Technologies | <ul><li>Claude skills and connectors</li><li>Python, Node, Playwright and Chromium</li><li>ffmpeg</li><li>ElevenLabs (eleven\_v4, Eleven Music v2.5, Scribe)</li><li>PocketSphinx, librosa, pyloudnorm</li></ul> |

## 1.2.1 Introduction

Demo Studio runs inside Claude. You start it with `/demo-video` and answer one question card. Claude then writes the brief and script, captures the product's UI in Chromium, generates the narration and music in your ElevenLabs account, plans a beat-synced timeline, renders a captioned and a clean video, and checks both against acceptance criteria before saving them to `~/Documents/Video/<Project>/vN/`.

When a product has no UI yet, Demo Studio builds a small HTML prototype and labels the video "Concept prototype".

## 1.2.2 Requirements

| ID | Requirement | Explanation |
| - | - | - |
| F1 | Capture the real UI | Drive the UI in Chromium as a user would and save each state with the boxes of elements to highlight |
| F1.1 | Build a concept prototype when no UI exists | 3 to 6 screens with brand colours and realistic data, labelled on screen |
| F2 | Write and voice the narration | Moment inventory, script at about 2.7 words per second, ElevenLabs narration in one take |
| F2.1 | Choose the take by analysis | Alignment, recogniser cross-check, pauses at sentence breaks, Scribe word check |
| F3 | Score the video with music | Library track or Eleven Music bed, analysed for tempo, bars and final hit |
| F4 | Plan and compose scenes | Timeline tied to words and bars; 3D UI planes, highlights, headlines, captions |
| F5 | Render and package | Captioned and clean MP4, SRT, audio stems, keyframes, source |
| F6 | Check before delivery | 56 acceptance criteria and five test suites, with a verdict |
| F7 | Revise as a new version | Apply feedback at the cheapest level into `vN+1`, never editing a delivered version |

> F: Functional Requirements

## 1.2.3 Architecture quality goals

| ID | Priority | Quality Goal | Description |
| - | - | - | - |
| QG-1 | 1 | Honesty | Every UI pixel comes from captures; time compression and generated UI are disclosed; no claims the product doesn't show |
| QG-2 | 2 | Verified quality | A version is ACCEPTED only when no criterion and no test fails; a FAIL is never hidden |
| QG-3 | 3 | Low user effort | One question card, an optional storyboard approval, and one listen at the end |

## 1.2.4 Stakeholders

| Role | Responsibility | Expectation |
| - | - | - |
| Video requester | Starts the video, answers the question card, reviews the result | A usable video with little effort, and a clear report of anything that failed |
| Product owner | Owns the product shown and its claims | The video shows the real product accurately and says nothing it can't back up |
| Viewer | Watches the delivered video | Readable captions, clear highlights, consistent audio |
| Licence owner | Holds the ElevenLabs plan and music rights | Voice and music used only as their licences allow |
| Plugin maintainer | Maintains the skills and engine | Reproducible builds, tests that catch regressions |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.