Creators & Channels
Scriptwriting Standards
Formatting script.json, pacing rules, fact attribution, and scene templates.
Episodes are authored as JSON in channels/<channel>/episodes/<id>/script.json.
1. Golden Scriptwriting Rules
A. Spoken Words vs. On-Screen Digits
Always write numbers as phonetic words in narration so speech synthesizers pronounce them correctly:
- Narration:
"In nineteen ninety-four, he won five hundred thousand dollars." - On-screen Text (
text/stat):"1994","$500K"
B. Strict Fact Attribution (sources.md)
For real people, living or historic:
- Every stat, record, retirement, death, or direct quote must have a corresponding URL entry in
sources.md. - Never guess private dialogue or personal feelings. Stylize truth; do not invent fiction.
C. Target Duration Budget
- Aim for 45 to 65 seconds for Shorts / Reels.
- Verify your duration after synthesis:
./vlab voice <id>. If it exceedschannel.jsontargetSeconds, trim scenes accordingly.
2. Standard Scene Kinds
Depending on your channel's look, scenes use specific layout templates:
Documentary & Ink Looks (src/doc/templates.tsx):
coldopen: The hook that grabs attention within 3 seconds.chapter: Major story milestone with bold headline.stat: Large numerical punchline with label (e.g.,stat: "900+",label: "Career Goals").quote: Stylized pull-quote with attribution.outro: Closing call-to-action or reflection.
Example script.json
{
"id": "bio-001-cristiano-ronaldo",
"channel": "lives-in-ink",
"scenes": [
{
"id": "s1-coldopen",
"kind": "coldopen",
"text": "The kid with the racing heart.",
"narration": "At fifteen, doctors told him his heart raced too fast to play professional football.",
"cues": [{ "sfx": "hit", "at": 0.1, "volume": 0.5 }]
},
{
"id": "s2-stat",
"kind": "stat",
"stat": "900+",
"label": "Official Goals",
"narration": "Twenty-four years later, he became the first human in history to score nine hundred official goals."
}
]
}