The video document
videobana-video-json · Explains the Videobana video document: the JSON object that becomes a narrated, animated video. Covers every top-level field (title, subtitle, topic, domain, aspect, brand, host, style, narration, guide, music, sound, audio, followUps, scenes) with types, defaults and limits; the standard and premium voices, languages, delivery tags, pauses, pronunciations and own voice-overs; how timing follows the narration and how many words a length needs; rich text; aspect ratios and exports; pictures; captions; sound; and every validation error and warning with its fix. Use it when writing, editing, reviewing or fixing a Videobana video JSON, when choosing a voice, language or shape, or when a document fails validation. Each kind of scene is described in videobana-scenes, and every look option in videobana-styles.
Videobana turns one JSON document, the video document (also called the spec), into a narrated, animated video. This skill describes the document as a whole: every top-level field, the voice, how timing works, rich text, shapes and exports, pictures, brand, captions, music and sound, screenshot guides, the limits, and every error and warning the validator can raise. It is generated from the code of this deployment (https://videobana.vercel.app), so every id, number and rule below is what the platform accepts.
- The fields of each kind of scene are in the videobana-scenes skill. Every look option (themes, palettes, fonts, backgrounds, motion, captions, effects) is in videobana-styles.
- The machine-readable JSON Schema is at
GET https://videobana.vercel.app/api/schema; a document can be checked without storing it withPOST https://videobana.vercel.app/api/validate; every id the engine knows is listed byGET https://videobana.vercel.app/api/catalog.
Essentials
- A video is one JSON object. Only
titleandscenesare required. Everything else has a good default: the look comes from thedomain(guessed from the title and topic when it is left out), the voice from the narration defaults. - Unknown fields are rejected everywhere (the schema sets
additionalProperties: falseon every object): a typo such aspalleteis an error with a "did you mean" hint, never silently ignored. version, when given, is always1.scenesis the story: 1 to 40 scenes played in order. Every scene has akindand the narration it speaks; the narration decides when things appear, so nothing is ever timed by hand.- Narration (
sayand friends) is spoken by the voice and shown as the caption. On-screen text (titles, labels, cells) is separate and short. See the rules under Narration and Rich text. - Errors stop a document from being saved; warnings never do. Validate before you send a document anywhere.
The smallest valid document
This is what the JSON editor starts with: a title and one scene.
{
"title": "My first video",
"subtitle": "Change this text and the preview updates as you type.",
"domain": "general",
"scenes": [
{
"kind": "intro",
"say": [
"Welcome! This is a sample intro scene."
]
}
]
}It is valid: 1 scene, 2 sentences, about 5.6 seconds. The validator still advises: "The video is only about 6 seconds long."
A document that uses most of the envelope
{
"version": 1,
"title": "Coffee, Explained",
"subtitle": "How a bean becomes your morning cup.",
"topic": "How coffee is made",
"domain": "food",
"emoji": "☕",
"kicker": "Kitchen science · Episode 1",
"chips": [
"Beginner",
"2 minutes"
],
"brand": {
"name": "Daily Bites",
"tagline": "Learn something tasty"
},
"style": {
"palette": "ember",
"fonts": "editorial",
"background": "food",
"mascot": "buddy",
"enter": "slide-up",
"transition": "fade",
"shape": "soft",
"captions": "plain"
},
"narration": {
"voice": "F1",
"speed": 0.95,
"lang": "en",
"pauses": {
"section": 1.8
},
"pronunciations": {
"espresso": "ess-PRESS-oh"
}
},
"followUps": [
{
"kicker": "Try this",
"title": "Brew a cup with a method you have never used",
"tone": "amber"
}
],
"scenes": [
{
"kind": "intro",
"say": [
"Welcome to Daily Bites.",
"Today we follow a coffee bean from the farm to your cup."
]
},
{
"kind": "cards",
"heading": "From bean to cup",
"layout": "flow",
"lead": "Every cup of coffee goes through four steps.",
"items": [
{
"icon": "🌱",
"title": "Grow",
"text": "Coffee cherries ripen on the tree.",
"say": "First, coffee cherries ripen on the tree."
},
{
"icon": "🔥",
"title": "Roast",
"text": "Heat turns green beans brown.",
"tone": "orange",
"say": "Then roasting turns the green beans brown and brings out the flavour."
},
{
"icon": "⚙️",
"title": "Grind",
"text": "Smaller pieces extract faster.",
"say": "Grinding breaks the beans into small pieces so water can reach the flavour."
},
{
"icon": "☕",
"title": "Brew",
"text": "Hot water carries the flavour.",
"tone": "amber",
"say": "Finally, hot water carries that flavour into your cup."
}
],
"outro": "Change any step, and the taste changes too."
},
{
"kind": "statement",
"eyebrow": "Remember",
"text": "The **grind size** matters more than most people think.",
"icon": "💡",
"say": "The grind size matters more than most people think."
}
]
}It is valid: 3 scenes, 82 spoken words, about 35 seconds, and no warnings.
title…followUpsdescribe the video as a whole: the title card, the top bar and the recap.stylechooses colours, fonts, backgrounds, host, animations and captions. Leave a field out and the theme or the domain decides.narrationchooses the voice, the language and the pauses.soundadds sound design made for the video (whooshes, hits, risers, an optional music bed);musicputs your own track under it;audioplaces recordings and music on the timeline.guidesets the window every screencast sits in, and whether its steps are counted per screencast or through the whole video.scenesis the story, played in order.
Top-level fields
The document has these 20 top-level fields:
| Field | What it is |
|---|---|
version | 1. Spec format version. Always 1. |
title | Required. string (1–80 characters). Shown in the top bar and on the title card. |
subtitle | string (1–220 characters). One-sentence summary, shown on the title card. |
topic | string (1–200 characters). What the video is about. Used to pick a look when domain is not set. |
domain | enum. Topic area. Picks a matching default look; anything in style overrides it. |
aspect | enum. The shape the video is made for: 16:9 (default) for screens, 9:16 for Shorts, Reels and TikTok, 1:1 or 4:5 for feeds. The editor, the watch page and the export start from it. Wide shapes use the landscape layout, the others the phone layout. |
emoji | string (1–8 characters). Shown in a bubble beside the host on the title card. Leave it out for no bubble. |
kicker | string (1–48 characters). Small line above the title in the top bar, e.g. Lesson 3 · Core skills. |
chips | string[] (0–4 items, each 1–24 characters). Pills above the title on the title card. |
brand | object. The brand the video is for: name, tagline and logo. |
host | object. A picture of the presenter, shown instead of the drawn mascot (in the top bar and on the title card). |
thumbnail | string (up to 2000 characters). The picture that stands for the video in lists, link previews and on the watch page before it plays: one uploaded or painted in the editor (/api/assets/<id>), or an http(s) link. Best in the shape of the video (see aspect). Left out, a poster is drawn from the title and the look. |
style | object. The look: theme, palette, fonts, background, host character, motion, captions, top bar, progress indicator and effects. Every field is optional. Its fields are listed under style below. |
narration | object. The voice: engine, voice, speed, language, pauses, pronunciations, or no voice, or your own recording. Every field is optional. Its fields are listed under narration below. |
guide | object. For a guide made of screenshots: what its screencast scenes share, the window the screenshots are shown in and how their steps are counted. Its fields are listed under guide below. |
music | object. Your own music track under the whole video. Its fields are listed under music below. |
sound | object. Sound design made for the video itself: whooshes on the cuts, a riser and an impact into the reveal, small pops for text, and an optional music bed whose tempo is fitted to the cuts. Exports mix it in (mp4, webm, mov). Left out, the video has none. Its fields are listed under sound below. |
audio | object[] (up to 24 items). Recordings and music placed on the timeline, each playing part of an uploaded file from a given second of the video. Exports mix them in (mp4, webm, mov, mp3). Its fields are listed under audio below. |
followUps | object[] (0–3 items). Cards beside the recap: a hands-on task, what to watch next. |
scenes | Required. object[] (1–40 items). The scenes, played in order. See Scenes below, and videobana-scenes for the fields of each kind. |
Every field of the envelope
Generated from the JSON Schema: the path, the type, whether it is required, and the description with the allowed values and limits. A field that is not required may be left out; its parent object may then be left out too.
| Field | Type | Required | Description |
|---|---|---|---|
version | 1 | no | Spec format version. Always 1. |
title | string | yes | Shown in the top bar and on the title card. Limits: 1–80 characters. |
subtitle | string | no | One-sentence summary, shown on the title card. Limits: 1–220 characters. |
topic | string | no | What the video is about. Used to pick a look when domain is not set. Limits: 1–200 characters. |
domain | enum | no | Topic area. Picks a matching default look; anything in style overrides it. Allowed: general, finance, business, marketing, technology, ai, cybersecurity, education, science, kids, health, fitness, food, travel, nature, history, news, gaming, realestate, sports, legal, lifestyle, art, space, career, environment, automotive, music, celebration, mindfulness, mystery, pets. |
aspect | enum | no | The shape the video is made for: 16:9 (default) for screens, 9:16 for Shorts, Reels and TikTok, 1:1 or 4:5 for feeds. The editor, the watch page and the export start from it. Wide shapes use the landscape layout, the others the phone layout. Allowed: 16:9, 4:3, 1:1, 4:5, 3:4, 9:16. |
emoji | string | no | Shown in a bubble beside the host on the title card. Leave it out for no bubble. Limits: 1–8 characters. |
kicker | string | no | Small line above the title in the top bar, e.g. Lesson 3 · Core skills. Limits: 1–48 characters. |
chips | string[] | no | Pills above the title on the title card. Limits: 0–4 items, each 1–24 characters. |
brand | object | no | |
brand.name | string | no | Shown in the top bar (and on the end card). Limits: 1–32 characters. |
brand.tagline | string | no | Limits: 1–60 characters. |
brand.logo | string | no | Address of your logo (PNG, SVG or JPEG with an http(s) address, a data:image URL or a path starting with /). Shown in a corner of every scene. |
brand.logoPosition | enum | no | Which corner the logo sits in. Default top-right. Allowed: top-right, top-left, bottom-right, bottom-left. |
brand.logoPlate | enum | no | A rounded plate behind the logo, for a logo that would not stand out on the video's background: light for a dark logo, dark for a light one. Default: none. Allowed: light, dark. |
host | object | no | A picture of the presenter, shown instead of the drawn mascot (in the top bar and on the title card). |
host.src | string | yes | Address of the picture of the host: a cut-out with a transparent background works best. |
host.alt | string | no | Who or what the host is. Limits: 1–150 characters. |
host.prompt | string | no | What the AI was asked to paint. Kept so the picture can be made again; it is not shown. Limits: 1–600 characters. |
thumbnail | string | no | The picture that stands for the video in lists, link previews and on the watch page before it plays: one uploaded or painted in the editor (/api/assets/<id>), or an http(s) link. Best in the shape of the video (see aspect). Left out, a poster is drawn from the title and the look. Limits: up to 2000 characters. |
followUps | object[] | no | Cards beside the recap: a hands-on task, what to watch next. Limits: 0–3 items. |
followUps[].kicker | string | yes | Limits: 1–24 characters. |
followUps[].title | string | yes | Limits: 1–48 characters. |
followUps[].tone | enum | no | Accent colour. rose marks a negative item (cross), emerald a positive one. Allowed: violet, emerald, amber, rose, sky, fuchsia, teal, orange. |
style: the look
Every field is optional and {} is a complete style. Precedence, highest first: what you write in style, then the theme it names, then the profile of the domain, then the built-in default. What each id looks like and how they combine is in videobana-styles.
| Field | Type | Required | Description |
|---|---|---|---|
style | object | no | |
style.theme | enum | no | A complete ready-made look (palette, fonts, background, motion, captions, effects) in one word. Every other style field overrides it. Allowed: neon-nights, paper-press, kids-fun, boardroom, arcade, ocean-calm, golden-hour, midnight-tech, newsroom, chalkboard-class, blueprint-lab, cinema, sunny-pop, forest-walk, cotton-candy, minimal-ink, galaxy-quest, retro-tv, terracotta-studio, volcanic, springtime, gold-luxe, showroom, launch-night, flash-sale, fresh-glow, app-glass, saas-light, platform-night, product-calm, product-night, organic-market, kitchen-table, bold-street, clinic-calm, fintech-pro, estate-classic, festival-pop, sunset-escape, edu-bright. |
style.palette | enum | no | Colour scheme: a list of backdrops the scenes cycle through. See the palette catalog. Allowed: classic, violet, ocean, emerald, sunset, berry, midnight, graphite, corporate, royal, neon, ember, forest, matrix, paper, arctic, mint, lavender, peach, candy, noir, cherry, copper, galaxy, sky, sage, sand, blush, aurora, twilight, volcano, deepsea, gold, jade, cream, lemon, coral, meadow, porcelain, terracotta, sunrise. |
style.brandColor | string | no | Builds a palette around this colour. Wins over palette. Limits: hex colour such as #7c3aed. |
style.mode | enum | no | dark or light. Chooses a palette of that mode when none is named. Allowed: dark, light. |
style.textColor | string | no | Text colour. Defaults to white (dark) or deep ink (light). Replaced if it would be unreadable. Limits: hex colour such as #7c3aed. |
style.accent | [string, string] | no | The two highlight colours: title gradient, spoken caption word, brand name. Limits: exactly 2 items, each hex colour such as #7c3aed. |
style.cycleBackdrops | boolean | no | true (default): each scene moves to the next backdrop. false: one backdrop throughout. |
style.tones | enum | no | Accent set for chips, bars and chart parts. Allowed: vivid, pastel, muted, mono, neon, earth, candy, ocean, retro. |
style.fonts | enum | no | Heading and body font pairing. Allowed: classic, modern, friendly, corporate, technical, terminal, editorial, bold, playful, sporty, handwritten, sturdy, startup, readable, magazine, poster, bubbly, marker, surf, book, retro-tech, friendly-sans. |
style.displayFont | enum | no | Overrides the heading font of the pairing. Allowed: geist, inter, dm-sans, manrope, poppins, plus-jakarta-sans, space-grotesk, nunito, baloo-2, playfair-display, lora, roboto-slab, oswald, bricolage-grotesque, caveat, jetbrains-mono, outfit, sora, lexend, rubik, fredoka, merriweather, dm-serif-display, bebas-neue, pacifico, permanent-marker, space-mono. |
style.bodyFont | enum | no | Overrides the body font of the pairing. Allowed: geist, inter, dm-sans, manrope, poppins, plus-jakarta-sans, space-grotesk, nunito, baloo-2, playfair-display, lora, roboto-slab, oswald, bricolage-grotesque, caveat, jetbrains-mono, outfit, sora, lexend, rubik, fredoka, merriweather, dm-serif-display, bebas-neue, pacifico, permanent-marker, space-mono. |
style.background | enum | no | A ready-made stack of animated background layers. Allowed: general, finance, business, marketing, technology, ai, cybersecurity, education, science, kids, health, fitness, food, travel, nature, history, news, gaming, realestate, sports, legal, lifestyle, art, minimal, calm, dreamy, cosmos, chalkboard, snowy, neon, cyberpunk, ocean, sunset, autumn, storm, space, hyperspace, blueprint, notebook, retro, party, celebration, forest, night, warm, pop, lowpoly, music, radar, biotech, industrial, silk, map, lava, stage, lab, genetics, developer, springtime, carnival, fireworks, mystery, studio, markets, isometric, playground, meditation, hypnotic, liquid, arcade, skies, paper, showroom, launch, flash, glass, saas, platform, fresh, market, kitchen, street, wellness, fintech, estate, festival, escape, school, none. |
style.backgroundLayers | enum[] | no | Your own stack of layers, bottom to top. Wins over background. [] for a plain backdrop. Allowed: blobs, grid, chart-wave, floaters, stars, aurora, waves, dots, diagonal, hex, bokeh, bubbles, particles, matrix, network, circuit, rays, mountains, skyline, grain, spotlight, paper, chalk, confetti, snow, clouds, streams, perspective, mesh, lava, ribbons, sun, topo, blueprint, notebook, gears, waveform, warp, galaxy, orbits, comets, sparkles, radar, fireflies, rain, embers, leaves, underwater, lightning, lanterns, halftone, triangles, shapes, equalizer, scanlines, ripples, spiral, beams, flow, pixels, dna, atoms, formulas, code, birds, balloons, fireworks, petals, fog, filmstrip, ticker, isogrid, doodles, softbox, lightsweep, orbs, speedlines, aura, horizon. Limits: up to 6 items. |
style.glyphs | string[] | no | Symbols or emoji for the floaters background. Limits: 1–12 items, each 1–4 characters. |
style.mascot | enum | no | The host character. Allowed: candle, buddy, robot, owl, cat, fox, bear, none. |
style.enter | enum | no | How items appear. Allowed: pop, fade, slide-up, slide-left, slide-right, slide-blur, drift, zoom, focus-pull, blur, flip, tilt, rotate, swing, bounce, drop, elastic, grow, launch, reveal, reveal-up, curtain, iris, warp-in, flash, glitch, none. |
style.transition | enum | no | How scenes replace each other. Allowed: rise, fade, slide-left, slide-right, slide-up, slide-down, zoom-in, zoom-out, blur, blur-zoom, streak, whip, flip, cube, wipe, wipe-up, arrow, iris, diamond, split-h, swirl, drop, bounce, elastic, through, burn, dip, flash, glitch, tv, none. |
style.shape | enum | no | Corner roundness of cards and chips. Allowed: sharp, soft, round, pill, bubble. |
style.headline | enum | no | How the title over a scene and the marked words are set: rule (default), calm (centred, light, comes into focus) or chip (calm, with marked words in solid chips). Allowed: rule, calm, chip. |
style.captions | enum | no | Caption look. Allowed: glass, plain, highlight, outline, bar, bold, neon, sticker, underline, boxed, karaoke, cinema, comic, gradient, terminal. |
style.captionPosition | enum | no | Where captions sit. Allowed: bottom, top. |
style.progress | enum | no | A progress indicator along the top edge. Default: none. A scene can hide or show it for itself with its own progress. Allowed: none, bar, dots, glow, ring. |
style.header | enum[] | no | Which parts of the top bar show on every scene except the title card: host, title, kicker, brand. Default: all four. [] removes the bar. A scene can hide or show the bar for itself with its own header. Allowed: host, title, kicker, brand. Limits: up to 4 items. |
style.camera | enum | no | drift (default): the picture moves slowly all the time, like a camera. dolly: a clearer move that lasts as long as each scene (best for ads). handheld: a faint human sway. still: it does not move. Allowed: drift, dolly, handheld, still. |
style.grade | enum | no | A colour grade over the whole picture, like the last step of a professional edit: clean, cinematic (teal and orange), warm, cool, punchy, matte or luxe. Default: none. Allowed: clean, cinematic, warm, cool, punchy, matte, luxe. |
style.safeZone | enum | no | For a tall video (9:16) made for a social platform: keeps the titles, captions and logo clear of the parts of the screen the app covers. Default: none. Allowed: tiktok, reels, shorts, all. |
style.effects | enum[] | no | Finishing touches over the whole picture (vignette, letterbox, film, glow ...). Combine up to four. [] for none. Allowed: vignette, letterbox, frame, film, mono, vivid, dim, leak, haze, glow, chromatic, scanfx, shine, grain. Limits: up to 4 items. |
Scenes
scenes holds 1 to 40 scenes, played in order. Every scene has a kind, which decides every other field it takes; the fields, narration mapping and an example of each kind are in videobana-scenes. There are 103 kinds, in the order the docs present them:
| kind | Name | What it is |
|---|---|---|
intro | Title card | Opening card: the host waves, the emoji floats beside it, then the title, chips and summary from the top of the spec. |
section | Chapter break | A big chapter marker with a number, a title and a subtitle. |
statement | Big statement | One short sentence in very large type, optionally with an emoji. |
cards | Cards | Concept cards that appear one by one. |
table | Table | A comparison table; two columns get a head-to-head look. |
example | Worked example | A calculation or walk-through: numbered lines, each with an optional highlighted result on the right. |
stat | Big numbers | Large number tiles with a label underneath. |
chart | Chart | An animated chart that fills in as the narrator goes through the data. |
ranking | Ranking | A numbered top list that reveals from the top: number one first, then each place below it as it is named. |
versus | Two sides | Two columns with a title each (pros and cons, before and after, myth and fact). |
feature | Feature | A large emoji card on one side and bullet points on the other. |
timeline | Timeline | Events along a line, each with a date or label. |
cycle | Cycle | Steps arranged in a circle with arrows between them, and an optional centre label. |
funnel | Funnel | Stages that get narrower from top to bottom, each with an optional number. |
quote | Quote | A large pull quote with the author below. |
callout | Callout | A single tip, warning or fact on a coloured card. |
media | Picture | A full-frame picture with a slow camera move and captions that change as the narrator speaks. |
clip | Video clip | Your own silent footage (b-roll) filling the frame while the narrator speaks, or on its own with no words. Only a person adds it, in the editor (from their own uploads); an AI must never write it. |
gallery | Picture gallery | Several pictures that move, for travel, products, people, places or moods. |
walkthrough | Walkthrough | A screenshot of an app, website, chart or document turned into a guided tour: the picture sits in a window while the camera glides to each area you name, the rest dims, the area is marked (a box, spotlight, arrow, pin, or an ellipse or underline drawn by hand) and a card beside it gives the step's title. |
screencast | Screencast | A guided tour of an app or website built from screenshots, like a screen recording with a presenter: the page sits in a window, the camera glides to each area you name, the rest dims, a pointer moves to the control and presses it, and a card beside the window names the step. |
motion | Motion graphic | A drawing made of shapes (rectangles, circles, stars, hearts, arrows, lines, text, paths ...) that move like in a motion-graphics video: they pop in, draw themselves, bounce, orbit, follow a route. |
compose | Composition | A board you build from many small components, each with a place, a size, a moment to come in and a way of moving: titles, cards, bullet lists, numbers that count up, bar and line charts, donuts, gauges, tables, timelines, code, windows and phones with things inside, diagrams with nodes and connectors, buttons, toggles, avatars, a pointer that clicks, sparkles, confetti and more (see the component list). |
worldmap | World map | A map of the world that visits places one by one: the camera swoops in on a country, which lights up with a glow and its name, or on a city, which gets a pulsing marker. |
journey | Journey | A trip across the map: stops are marked one by one and a vehicle travels the route between them, a plane on a high arc, a train, a bus, a car, a boat, a bike or a person on foot, leaving a drawn line behind it. |
berlinmap | Berlin map | A detailed map of Berlin with its districts, parks, lakes and rivers that visits places one by one: the camera flies to a district (Bezirk), which lights up with a glow and its name, or to a landmark or neighbourhood, which gets a pulsing marker. |
timetravel | Time travel | A journey through years: a big counter spins from one year to the next while a ruler of years slides past, and each stop pops up with what happened then. |
code | Code | A code editor window whose lines appear one by one, the current line highlighted. |
quiz | Quiz | A multiple-choice question. |
term | Definition | A dictionary-style card: the term, its pronunciation and type, the definition, and an example sentence, revealed in that order. |
agenda | Agenda | A numbered "what we will cover" list with big numerals and thin dividers. |
matrix | 2×2 matrix | A four-quadrant grid with a labelled horizontal and vertical axis (priority matrix, SWOT, effort versus impact). |
pyramid | Pyramid | A stacked pyramid of levels with a title and text beside each (a hierarchy of needs, a food pyramid, layers of a model). |
venn | Venn diagram | Two or three overlapping circles with a label each, and an optional label for where they all overlap. |
mindmap | Mind map | A central topic with branches radiating out, each joined to the centre by a line. |
scale | Scale | A coloured spectrum bar with labelled markers placed along it (the pH scale, a temperature range, a risk level). |
gauge | Gauges | One to three speedometer-style dials whose needle swings to a value from 0 to 100. |
counter | Rolling counters | One to three big numbers that roll up like an odometer to their value. |
formula | Formula | An equation built from labelled blocks: result = term + term × term. |
pricing | Pricing plans | Two to four plan cards side by side with a name, a price and a few features. |
testimonial | Testimonials | One to three review cards with a star rating, a quote and the person who said it. |
chat | Chat | A messaging conversation: bubbles appear one by one, from the left or the right. |
team | People | Two to six people as avatar cards with a name, a role and an optional line. |
faq | Questions and answers | Two to five questions, each with its answer written beneath it. |
bullets | Bullet points | A plain list of key points that appear one at a time, each with an optional emoji. |
steps | Step by step | Two to six numbered steps down a vertical rail that fills as the narrator moves on. |
schedule | Schedule | A timetable: two to seven rows, each with a time on the left and a title, a short line and an emoji. |
calendar | Calendar | One month as a calendar grid with up to six marked days and their labels. |
timer | Timer | A countdown or interval plan: a ring divided into two to six phases (work, rest, bloom, pour...), each an arc as long as its time, with the time of the phase being spoken in the middle and a legend of every phase underneath or beside it. |
columns | Columns | Two or three titled columns, each with a short list. |
compare | Comparison grid | Two to four options side by side, compared feature by feature. |
tags | Tag cloud | A cloud of short keywords in different sizes (weight 1 to 3). |
flashcards | Flashcards | Two to six cards that show a question and then flip over to reveal the answer. |
waffle | Waffle chart | A 10 by 10 grid of dots where a share of them lights up, so "27%" can be seen as 27 out of 100. |
profile | Profile | The spotlight on one person, product, place or organisation: a big avatar card with a name, a role and an optional quote, and two to five key facts that appear beside it. |
social | Social posts | One to three social media style posts with an avatar, a name and handle, the text and the counts of likes, comments and shares. |
headline | News headline | A news-bulletin look: a label ("Breaking", "Live", "Update"), a big headline, a standfirst and up to four ticker lines that slide in along the bottom. |
storyboard | Storyboard | Two to four comic-strip panels: a big emoji scene, a caption and an optional speech bubble. |
tree | Tree diagram | A hierarchy: one root on top, two to four branches below it, and up to three short items under each branch. |
receipt | Receipt | An itemised receipt or invoice printed on paper: two to seven lines with a name, an optional quantity and an amount, and a total at the bottom. |
checklist | Checklist | A checklist on a card: two to eight rows with a tick box that gets ticked as each one is spoken, an optional emoji and an optional small detail. |
shortcuts | Keyboard shortcuts | Two to six keyboard shortcuts: each shows its keys as key caps (one to four, such as Ctrl and C) and what the shortcut does. |
email | An email message on screen: the sender, the recipient, a subject and one to four paragraphs, with optional attachment chips. | |
search | Search results | A web search page: a query in the search bar and one to four results, each with a title, a site address and a snippet. |
ticket | Ticket | A boarding pass or event ticket: where it starts and where it goes (a short code and a city each), an optional carrier, and two to six details such as date, gate and seat that appear one by one. |
podium | Podium | A winners' podium with exactly three places: blocks of different heights (gold in the middle, silver on the left, bronze on the right), each with a name, an optional emoji and an optional score. |
scoreboard | Scoreboard | A match scoreboard: two sides with a name, an optional emoji and a big score, an optional status line (Full time, Round 2), and one to five key moments listed underneath. |
bracket | Bracket | A knockout tournament bracket: two or three rounds drawn as columns of matches, each match with two sides (a name and an optional score) and its winner highlighted, flowing from the first round to the final and the champion. |
rating | Rating | A review summary: a big score out of five with stars and the number of reviews, and two to five aspects, each with its own score drawn as a bar. |
forecast | Forecast | A multi-day weather forecast: two to five columns, each with a day name, a weather emoji, a high and an optional low temperature and an optional short note. |
playlist | Playlist | A playlist or course outline: two to six rows with a play button, a title and a length. |
decision | Decision | A decision path: a question at the top that stays visible, and two or three answers below it, each with an arrow to an outcome. |
hero | Product hero | The product on a stage: its picture (ideally with a transparent background) floats in a pool of light or on a pedestal, with the name, a one-line promise, an optional badge such as New or -30%, and a price. |
hotspots | Feature hotspots | A product picture with pulsing pins on the parts that matter. |
device | Device mockup | A screenshot shown on a phone, tablet, laptop or browser window that tilts into place, with feature chips that pop up beside it. |
offer | Offer | The deal, drawn like a price tag: a label above (Weekend sale), a big badge such as -30%, the old and new price, a coupon code and when it ends. |
kinetic | Kinetic text | Big words that pop in one by one, then give way to the next line. |
montage | Beat montage | Fast cuts, one for each short line of narration: a giant word slams onto the screen over a picture or a block of colour, with a flash and a punch-in on every cut, like the feature montage of a product film. |
trust | Social proof | Why people believe it: a star rating with the number of reviews, then up to four trust badges (Free returns, Award winner, Secure payment). |
brandreveal | Brand reveal | A short sting: the logo (from brand.logo, or the brand name as a wordmark) arrives with a flourish and the tagline settles under it. |
showcase | Showcase | Several pictures shown as a gallery, one in focus at a time while it is narrated: a 3D coverflow (default), a filmstrip that slides, or a mosaic that fills in. |
specs | Spec sheet | The key facts as a spec sheet: big values with their labels (40 h battery life, 3 bedrooms, 0-100 in 3.2 s), as tiles or as rows beside the product picture. |
menu | Menu | A price list in the style of a menu: each row has a name, a line of detail, a dotted line and the price, with an optional tag (Vegan, Best seller). |
event | Event | An invitation card: a big calendar date, the title, the time and the place, the host and up to three perks (Free entry). |
reviews | Review wall | A wall of customer reviews in drifting columns, each card with the quote, the name and its stars, the one being read lit up. |
orbit | Orbit | Your name or logo in the middle and three to eight things around it on a ring, joined to it by lines that draw in one by one: integrations, pillars of a service, ingredients, the parts of a platform. |
appui | App window | An app window drawn live, the way a software ad shows its product: a card with a title and up to five rows that come to life as they are narrated. |
cascade | Cascade of cards | Cards that arrive one after another, the way a software ad shows a flow of items: stack (default) cards cascade down and to the right, each new one in front while the earlier ones fall back; wall a tilted grid in 3D that fills in; feed a list of pills that scrolls so the one narrated is in the middle; fan cards that open like a hand of cards, each tilted a little more than the one before. |
notify | Notifications | Notifications that land one after another: lockscreen (default) a phone lock screen with the time and each notification dropping in on a stack, toasts floating cards that slide in from the top, each pushing the earlier ones down. |
constellation | Constellation | A promise in the middle and the tools around it: four to fourteen symbols or logos circle it on rings, popping in one by one. |
circuit | Circuit map | A hub in the middle and pill nodes around it on orthogonal circuit traces, or a radial node-cluster tree. |
editor | Code editor | A code editor window in which a config file is typed line by line (an .env file, a settings file, a command), then an arrow that leads to the tools that pick it up, as cards with a logo, a name and a status. |
lockup | Logo headline | One headline with logos set into it like words: Works with [logo] [logo] [logo] and more. |
tiles | Floating tiles | Icons, logos or photo cards that drift in and float around a short promise (or, without words, hang as a collage). |
answers | Search and AI answers | One to eight panels that show what people search for and ask: a results page, a results page with an AI summary on top, a chat, an answer engine with its sources, a chat on cream paper, a chat in a black window. |
dashboard | Dashboard | An app window with cards that build themselves: a chart whose line draws across a grid under a big figure that counts up, small tiles of figures, a ring that fills to a score with bars, and a list of rows with their status. |
planner | Content planner | A planner of up to fifteen article cards in a grid, like a month of content: each card has its day, a title, coloured tags, small details and a status, and the cards pop onto the grid one after another. |
page | Web page | A browser window with a page in it: the address, the name of the site, a headline that is typed, a few lines of text with marked words (==like this== is drawn as a link), a picture and tags. |
insights | Result cards | Two to four frosted glass cards on a dark horizon: an optional eyebrow pill, a heading, and mini visuals that build themselves (bars that rise, a dial or ring that sweeps, a line that draws with a tooltip). |
marquee | Scrolling pills | Two to four rows of pills that scroll sideways in opposite directions, half above and half below a short line, with a few of the pills lit in the brand colour. |
endcard | End card | The closing frame of an ad: the logo, one headline, a button that says what to do, the address to visit and, if there is one, the offer and store badges. |
cta | Call to action | A closing card with a headline, a button and a handle or link. |
outro | Recap | The takeaways as a card the host reads out one by one, plus an optional teaser of what comes next. |
clip: added by people only. An assistant writing a document never uses it.
Fields every scene accepts
Besides its own fields, every kind of scene may set these. They change how it comes in, how long it lingers, a picture to go with it, and whether the top bar and the progress indicator show during it:
| Field | Type | Required | Description |
|---|---|---|---|
delivery | string | no | Premium voice only: how this scene is spoken, added to the delivery of the whole video, e.g. "building excitement" or "quiet and sincere". Leave out to keep the video's delivery. Limits: 1–120 characters. |
hold | number | no | Extra seconds the scene stays on screen after its narration ends, so a chart, a picture or a clip can be looked at. Leave out for none. Limits: 0–60. |
transition | enum | no | Overrides style.transition for the way this scene comes in. Allowed: rise, fade, slide-left, slide-right, slide-up, slide-down, zoom-in, zoom-out, blur, blur-zoom, streak, whip, flip, cube, wipe, wipe-up, arrow, iris, diamond, split-h, swirl, drop, bounce, elastic, through, burn, dip, flash, glitch, tv, none. |
enter | enum | no | Overrides style.enter for the items of this scene. Allowed: pop, fade, slide-up, slide-left, slide-right, slide-blur, drift, zoom, focus-pull, blur, flip, tilt, rotate, swing, bounce, drop, elastic, grow, launch, reveal, reveal-up, curtain, iris, warp-in, flash, glitch, none. |
image | object | no | A picture behind or beside this scene. |
image.src | string | yes | Address of the picture: one made or uploaded in the editor (/api/assets/<id>), or an http(s) link. |
image.alt | string | no | What the picture shows. Limits: 1–150 characters. |
image.mode | enum | no | backdrop (default) fills the whole frame behind the scene, softened so the text stays readable. cutout is a picture with a transparent background that floats beside the content. card is a framed photo, slightly tilted, beside the content. Allowed: backdrop, cutout, card. |
image.side | enum | no | Which side a cutout or card sits on. Default right. Ignored for a backdrop. Allowed: left, right. |
image.motion | enum | no | How the picture moves. Backdrop: zoom-in or zoom-out (default, they alternate), pan, still. Cut-out and card: float (default), sway, spin (turns round), turn (swings like a 3D display), pulse, bounce, still. Allowed: zoom-in, zoom-out, pan, float, sway, spin, turn, pulse, bounce, still. |
image.prompt | string | no | What the AI was asked to paint. Kept so the picture can be made again; it is not shown. Limits: 1–600 characters. |
header | boolean | no | false hides the top bar (host, title, kicker, brand) during this scene; true shows it where it would not be, such as on the title card. See style.header for the video as a whole. |
progress | boolean | no | false hides the progress indicator during this scene; true shows it (as a bar when the video has no style.progress). |
How narration drives the picture
Every scene has narration, and the narration decides when things appear. Its passages are spoken in order and each one reveals more of the scene: an item appears just before the sentence that talks about it. So you never time anything; you only write what the narrator says. Each scene kind maps its fields to passages in its own way (described under its name in the scenes skill). A passage with several sentences is split at the full stops, and each sentence is a separate clip, so keep them short.
{
"kind": "cards",
"heading": "From bean to cup",
"layout": "flow",
"items": [
{
"icon": "🌱",
"title": "Grow",
"text": "Coffee cherries ripen on the tree.",
"say": "First, coffee cherries ripen on the tree."
},
{
"icon": "🔥",
"title": "Roast",
"text": "Heat turns green beans brown.",
"tone": "orange",
"say": "Then roasting turns the green beans brown and brings out the flavour."
},
{
"icon": "⚙️",
"title": "Grind",
"text": "Smaller pieces extract faster.",
"say": "Grinding breaks the beans into small pieces so water can reach the flavour."
},
{
"icon": "☕",
"title": "Brew",
"text": "Hot water carries the flavour.",
"tone": "amber",
"say": "Finally, hot water carries that flavour into your cup."
}
],
"lead": "Every cup of coffee goes through four steps.",
"outro": "Change any step, and the taste changes too."
}| Passage | The narrator says | On screen meanwhile |
|---|---|---|
| 1 | Every cup of coffee goes through four steps. | The heading only |
| 2 | First, coffee cherries ripen on the tree. | The heading and the first item |
| 3 | Then roasting turns the green beans brown and brings out the flavour. | The heading and the first 2 items |
| 4 | Grinding breaks the beans into small pieces so water can reach the flavour. | The heading and the first 3 items |
| 5 | Finally, hot water carries that flavour into your cup. | The heading and the first 4 items |
| 6 | Change any step, and the taste changes too. | The heading and the first 4 items |
Narration is plain text: no markup, no emoji, no URLs (the captions would show them). Digits and symbols are read out well in English; in other languages, write numbers in words. The premium voice also performs a few tags written in the sentence (such as <sigh>); the captions leave them out.
Narration: the voice
narration is optional: everything in it has a default. The voice comes from one of two engines (standard, premium), set by narration.engine.
| Field | Type | Required | Description |
|---|---|---|---|
narration | object | no | |
narration.engine | enum | no | standard (default): the voice server, with voice, speed and quality. premium: Google Gemini 3.8 Flash TTS through OpenRouter, directed with premium and the scenes' delivery. Allowed: standard, premium. |
narration.premium | object | no | The premium voice: which of the 30 voices, how it delivers the video, accent and pace. Only used when engine is premium. |
narration.premium.voice | enum | no | One of 30 studio voices (see GET /api/catalog). Default Kore. Allowed: Zephyr, Puck, Charon, Kore, Fenrir, Leda, Orus, Aoede, Callirrhoe, Autonoe, Enceladus, Iapetus, Umbriel, Algieba, Despina, Erinome, Algenib, Rasalgethi, Laomedeia, Achernar, Alnilam, Schedar, Gacrux, Pulcherrima, Achird, Zubenelgenubi, Vindemiatrix, Sadachbia, Sadaltager, Sulafat. |
narration.premium.style | string | no | How the whole video is delivered: emotion, energy, inflection. Short and concrete, e.g. "warm, confident, with a smile in the voice". Scenes can add to it with their own delivery. Limits: 1–160 characters. |
narration.premium.accent | string | no | A regional accent or dialect as a soft hint, e.g. "British" or "Scottish". The voice keeps its own character; the model follows the hint most of the time. Limits: 1–40 characters. |
narration.premium.pace | enum | no | How quickly the voice speaks. Default natural. Allowed: slow, natural, brisk. |
narration.voice | enum | no | Standard voice id. M1-M5 male, F1-F5 female. Default F2. Allowed: M1, M2, M3, M4, M5, F1, F2, F3, F4, F5. |
narration.speed | number | no | Standard voice: 1 = normal speech. Default 0.95. Limits: 0.5–2. |
narration.quality | enum | no | Standard voice: more synthesis steps sound better and take longer. Default medium. Allowed: low, medium, high. |
narration.lang | enum | no | Language of the narration. Default en. zh, th, he, ms, no, ur, ps are spoken by the premium voice only (engine: "premium"): with the standard voice the video is silent, with captions, unless you add your own voiceover. Allowed: en, ko, ja, ar, bg, cs, da, de, el, es, et, fi, fr, hi, hr, hu, id, it, lt, lv, nl, pl, pt, ro, ru, sk, sl, sv, tr, uk, vi, zh, th, he, ms, no, ur, ps, na. |
narration.silent | boolean | no | true skips the voice entirely: timing is estimated from the text length and captions carry the video. |
narration.voiceover | object | no | Your own recording instead of the generated voice. The captions and the scenes follow it. Ignored when silent is true. |
narration.voiceover.src | string | yes | Address of the uploaded audio (/api/assets/<id>). Upload it in the editor, or with POST /api/assets. |
narration.voiceover.duration | number | yes | Length of the audio in seconds. The scenes are spread over it in proportion to what they say. Limits: 0.5–3600. |
narration.voiceover.name | string | no | The name of the file, shown in the editor. Limits: 1–120 characters. |
narration.pauses | object | no | |
narration.pauses.sentence | number | no | Seconds of silence after each sentence. Limits: 0–10. |
narration.pauses.section | number | no | Seconds of silence between scenes. Limits: 0–10. |
narration.pauses.leadIn | number | no | Seconds of silence before the first word. Limits: 0–10. |
narration.pauses.tail | number | no | Seconds of silence after the last word. Limits: 0–10. |
narration.pronunciations | map<string, string> | no | Respellings for words the voice mispronounces, e.g. { "Kubernetes": "koo-ber-NET-eez" }. Captions keep the original spelling. |
narration.foreign | map<string, string[]> | no | Names, words and phrases that belong to another language than the narration, spoken by that language's voice in the middle of the sentence, e.g. { "de": ["Brandenburger Tor", "Kreuzberg"] } in an English video. Whole words only, spelled as in the narration; the captions are not changed. |
Standard voice
The default ("engine": "standard"): a text-to-speech server of this deployment (Supertonic). Choose voice, speed (0.5 to 2, 1 is normal speech, default 0.95) and quality (low, medium, high, default medium: more synthesis steps sound better and take longer). Every voice speaks every language the server has. Each voice has a sample in which it says "Hi there! This is how I sound when I narrate your video, one scene at a time."
| voice | Name | Sample |
|---|---|---|
M1 | Male voice 1 | https://videobana.vercel.app/voices/m1.mp3 |
M2 | Male voice 2 | https://videobana.vercel.app/voices/m2.mp3 |
M3 | Male voice 3 | https://videobana.vercel.app/voices/m3.mp3 |
M4 | Male voice 4 | https://videobana.vercel.app/voices/m4.mp3 |
M5 | Male voice 5 | https://videobana.vercel.app/voices/m5.mp3 |
F1 | Female voice 1 | https://videobana.vercel.app/voices/f1.mp3 |
F2 | Female voice 2 (default) | https://videobana.vercel.app/voices/f2.mp3 |
F3 | Female voice 3 | https://videobana.vercel.app/voices/f3.mp3 |
F4 | Female voice 4 | https://videobana.vercel.app/voices/f4.mp3 |
F5 | Female voice 5 | https://videobana.vercel.app/voices/f5.mp3 |
Premium voice
"engine": "premium" speaks with Google Gemini TTS (google/gemini-3.8-flash-tts) through OpenRouter. It is directed like an actor, so it can sound like the person or the brand the video is about. Every premium voice speaks every language a video can be in. It has no speed: how fast it speaks follows from premium.pace (narration.speed, voice and quality are for the standard voice only). Product ads always use it. Choose one of 30 voices in narration.premium.voice (default Kore); each has a sample in which it says "<breath> Hi there! This is how I sound when I narrate your video, one scene at a time."
| premium.voice | Character | Voice | Sample |
|---|---|---|---|
Zephyr | Bright | female | https://videobana.vercel.app/premium-voices/zephyr.mp3 |
Puck | Upbeat | male | https://videobana.vercel.app/premium-voices/puck.mp3 |
Charon | Informative | male | https://videobana.vercel.app/premium-voices/charon.mp3 |
Kore | Firm | female (default) | https://videobana.vercel.app/premium-voices/kore.mp3 |
Fenrir | Excitable | male | https://videobana.vercel.app/premium-voices/fenrir.mp3 |
Leda | Youthful | female | https://videobana.vercel.app/premium-voices/leda.mp3 |
Orus | Firm | male | https://videobana.vercel.app/premium-voices/orus.mp3 |
Aoede | Breezy | female | https://videobana.vercel.app/premium-voices/aoede.mp3 |
Callirrhoe | Easy-going | female | https://videobana.vercel.app/premium-voices/callirrhoe.mp3 |
Autonoe | Bright | female | https://videobana.vercel.app/premium-voices/autonoe.mp3 |
Enceladus | Breathy | male | https://videobana.vercel.app/premium-voices/enceladus.mp3 |
Iapetus | Clear | male | https://videobana.vercel.app/premium-voices/iapetus.mp3 |
Umbriel | Easy-going | male | https://videobana.vercel.app/premium-voices/umbriel.mp3 |
Algieba | Smooth | male | https://videobana.vercel.app/premium-voices/algieba.mp3 |
Despina | Smooth | female | https://videobana.vercel.app/premium-voices/despina.mp3 |
Erinome | Clear | female | https://videobana.vercel.app/premium-voices/erinome.mp3 |
Algenib | Gravelly | male | https://videobana.vercel.app/premium-voices/algenib.mp3 |
Rasalgethi | Informative | male | https://videobana.vercel.app/premium-voices/rasalgethi.mp3 |
Laomedeia | Upbeat | female | https://videobana.vercel.app/premium-voices/laomedeia.mp3 |
Achernar | Soft | female | https://videobana.vercel.app/premium-voices/achernar.mp3 |
Alnilam | Firm | male | https://videobana.vercel.app/premium-voices/alnilam.mp3 |
Schedar | Even | male | https://videobana.vercel.app/premium-voices/schedar.mp3 |
Gacrux | Mature | female | https://videobana.vercel.app/premium-voices/gacrux.mp3 |
Pulcherrima | Forward | female | https://videobana.vercel.app/premium-voices/pulcherrima.mp3 |
Achird | Friendly | male | https://videobana.vercel.app/premium-voices/achird.mp3 |
Zubenelgenubi | Casual | male | https://videobana.vercel.app/premium-voices/zubenelgenubi.mp3 |
Vindemiatrix | Gentle | female | https://videobana.vercel.app/premium-voices/vindemiatrix.mp3 |
Sadachbia | Lively | male | https://videobana.vercel.app/premium-voices/sadachbia.mp3 |
Sadaltager | Knowledgeable | male | https://videobana.vercel.app/premium-voices/sadaltager.mp3 |
Sulafat | Warm | female | https://videobana.vercel.app/premium-voices/sulafat.mp3 |
premium.style(up to 160 characters) is how the whole video is delivered: emotion, energy and inflection in a few concrete words. These ready-made deliveries are what the editor offers (any text of your own works too):
| Delivery | Name | `premium.style` text |
|---|---|---|
warm | Warm and friendly | warm, friendly and inviting |
confident | Confident and polished | confident, polished and professional |
energetic | Energetic and upbeat | upbeat, energetic and enthusiastic, with a smile in the voice |
calm | Calm and reassuring | calm, soft and reassuring |
cinematic | Cinematic and dramatic | deep, dramatic and cinematic, building slowly |
playful | Playful and witty | playful, witty and a little cheeky |
documentary | Documentary narrator | measured, authoritative documentary narrator |
luxury | Smooth and luxurious | smooth, understated and luxurious |
teacher | Patient teacher | patient, clear and encouraging, like a good teacher |
kids | Storyteller for kids | warm, playful and gentle, like a storyteller reading to young children, full of wonder |
premium.accent(up to 40 characters) is a regional accent or dialect as a soft hint: "American", "British", "Australian", "Irish", "Scottish", "Indian English", "South African", "Canadian", "Southern American", or your own. The voice keeps its own character; the model follows the hint most of the time. A hint that does not already say "accent" or "dialect" is sent as "with a … accent".premium.paceisslow,natural,brisk(defaultnatural). For timing estimates they count as about 1.5 (slow), 2 (natural), 2.6 (brisk) words a second.- Every scene may add to the delivery with its own
delivery(up to 120 characters), e.g. "building excitement" or "quiet and sincere", so a video can start curious and end warm. The direction sent with each sentence is: pace, accent, the video'sstyle, then the scene'sdelivery. With the standard voice adeliveryis ignored (and the validator warns). - Moments of human sound go in the narration as tags in angle brackets, exactly where a person would react:
<argh>,<breath>,<heavy breath>,<exhales>,<cackle>,<cheer>,<chuckle>,<chuckles>,<cough>,<cry>,<gasp>,<giggle>,<groan>,<growl>,<grunt>,<grr>,<hiss>,<laugh>,<laughter>,<moan>,<pant>,<pff>,<phew>,<scream>,<shout>,<shriek>,<sigh>,<sighs>,<sneeze>,<snicker>,<snort>,<sob>,<throat-clearing>,<tsk>,<whimper>,<whispers>,<whispering>,<yawn>,<short pause>,<long pause>. The voice performs them; the captions and the standard voice leave them out. A tag that is not on this list is dropped rather than read aloud, and the validator warns. A sentence made only of tags is performed together with the sentence before it (or the one after it, when it comes first); a whole passage of nothing but tags is an error. - Sentences are recorded one by one and reused when they do not change. A change of voice, style, accent or pace records the video again.
- It has an allowance of its own, counted in the seconds it speaks (the Free plan has 3 minutes of premium voice-over a month; a sentence that was spoken before costs nothing). The deployment needs
OPENROUTER_API_KEYfor it.
Languages
narration.lang (default en) is the language of the narration and of the text on screen. The standard voice speaks 31 languages. zh, th, he, ms, no, ur, ps can be written but only the premium voice speaks them: with the standard voice such a video is silent, with captions, unless you add your own voiceover. na lets the voice model decide from the text. A right-to-left language lays the whole video out from right to left (the player's own buttons stay where they are). The few words the player adds itself (the recap heading, "Pro tip", "Quick quiz"…) follow the language where they are translated, and are English otherwise.
| lang | Language | Standard voice | Premium voice | Right to left | Player labels |
|---|---|---|---|---|---|
en | English | yes | yes | yes | |
ko | Korean | yes | yes | English | |
ja | Japanese | yes | yes | English | |
ar | Arabic | yes | yes | yes | yes |
bg | Bulgarian | yes | yes | English | |
cs | Czech | yes | yes | English | |
da | Danish | yes | yes | English | |
de | German | yes | yes | yes | |
el | Greek | yes | yes | English | |
es | Spanish | yes | yes | yes | |
et | Estonian | yes | yes | English | |
fi | Finnish | yes | yes | English | |
fr | French | yes | yes | yes | |
hi | Hindi | yes | yes | English | |
hr | Croatian | yes | yes | English | |
hu | Hungarian | yes | yes | English | |
id | Indonesian | yes | yes | English | |
it | Italian | yes | yes | yes | |
lt | Lithuanian | yes | yes | English | |
lv | Latvian | yes | yes | English | |
nl | Dutch | yes | yes | English | |
pl | Polish | yes | yes | English | |
pt | Portuguese | yes | yes | yes | |
ro | Romanian | yes | yes | English | |
ru | Russian | yes | yes | English | |
sk | Slovak | yes | yes | English | |
sl | Slovenian | yes | yes | English | |
sv | Swedish | yes | yes | English | |
tr | Turkish | yes | yes | English | |
uk | Ukrainian | yes | yes | English | |
vi | Vietnamese | yes | yes | English | |
zh | Chinese | no (silent with captions, unless premium or your own recording) | yes | English | |
th | Thai | no (silent with captions, unless premium or your own recording) | yes | English | |
he | Hebrew | no (silent with captions, unless premium or your own recording) | yes | yes | English |
ms | Malay | no (silent with captions, unless premium or your own recording) | yes | English | |
no | Norwegian | no (silent with captions, unless premium or your own recording) | yes | English | |
ur | Urdu | no (silent with captions, unless premium or your own recording) | yes | yes | yes |
ps | Pashto | no (silent with captions, unless premium or your own recording) | yes | yes | yes |
na | Decided from the text | yes | yes | English |
No voice, or your own
"silent": truemakes a video with no voice: captions carry it, and the timing is estimated from the text at about 3.2 words a second (a comfortable reading speed).voiceoveruses your own recording instead of the generated voice:srcis an uploaded file (/api/assets/<id>, upload in the editor or withPOST /api/assets),durationits length in seconds (0.5 to 3600). The scenes are spread over it in proportion to how long each sentence takes to say, and the captions follow. Edit the narration text so it matches what was recorded: the validator warns when the recording is less than 0.5 or more than 2 times the time the words would take.silentwins overvoiceover.- In the editor, the Voice tab generates the voice-over, records your own while the video plays, or imports an audio file. Exports record the voice-over first when it has not been recorded (or the script changed).
Pauses, pronunciations and foreign phrases
pausesare seconds of silence, each 0 to 10:sentenceafter every sentence (default 0.7),sectionbetween the last sentence of a scene and the first of the next, replacing the sentence pause there (default 1.6),leadInbefore the first word (default 0.6) andtailafter the last (default 1.2).pronunciations(up to 50 entries) respells words the voice gets wrong:{ "Kubernetes": "koo-ber-NET-eez" }. They replace whole words, always win over the built-in rules below, and the captions keep the original spelling.foreign(up to 200 phrases in all) lists names and phrases that belong to another language than the narration, by language:{ "de": ["Brandenburger Tor", "Kreuzberg"] }in an English video. That language's voice speaks them in the middle of the sentence. Keys are languages the standard voice speaks; phrases are whole words, spelled exactly as in the narration; the captions do not change.
How text is spoken
In English the voice gets a spoken form of each caption line: markup and emoji removed, numbers, money, percentages, times, ordinals, units and symbols written out, short acronyms spelled, then your pronunciations applied. Other languages are left to the voice model, so write numbers in words there. Examples, generated by the same code:
| Caption text | What the voice says |
|---|---|
| $4.2B in revenue | four point two billion dollars in revenue |
| 15% of 1,250 users | fifteen percent of one thousand two hundred fifty users |
| At 9:30am on the 3rd | At nine thirty a m on the third |
| Back in 1969 | Back in nineteen sixty-nine |
| The 1990s | The nineteen nineties |
| NASA, the FBI and a CEO | NASA, the F B I and a C E O |
| 3x faster, 24/7 | three times faster, twenty-four seven |
| 5 km at 12 km/h | five kilometers at twelve kilometers per hour |
| #1 in 2024 | number one in twenty twenty-four |
| €12.50 each | twelve euros and fifty cents each |
Sentences are split at ., ! and ? (and the CJK, Urdu and Arabic full stops); decimals and common abbreviations do not split: "Dr. Smith paid $3.50. Is it e.g. good? Yes!" is "Dr. Smith paid $3.50.", "Is it e.g. good?", "Yes!". Keep sentences under 45 words (the validator warns above that).
Timing: how long everything lasts
Nothing in a document has a time, except a few seconds you may add with hold. The length of every scene follows from what it says:
- Every sentence is one clip of audio. Until the voice-over is recorded, a sentence lasts its word count ÷ (3.4 × speed) seconds (the standard voice at speed 1 says about 204 words a minute, pauses not included), and never less than 1.2 seconds. The premium voice is estimated by its pace (
naturalcounts as speed 0.6). - The narration starts after
pauses.leadIn. Each sentence is followed bypauses.sentence; the last one of a scene bypauses.sectioninstead. - A scene appears 0.6 seconds before its first sentence (never before the previous scene has finished speaking and lingering), and an item appears 0.15 seconds before the sentence that names it.
- The scene that leaves stays on screen for 0.7 seconds after the next one starts, so the two overlap during the transition.
hold(0 to 60 seconds) keeps a scene on screen that much longer after its last sentence, before the section pause, so a chart, a picture or a clip can be looked at. Some kinds also have a minimum of their own: acliplasts at least as long as its footage plays.- After the last word comes
pauses.tail. That is the end of the video. - A recorded voice-over replaces the estimates with the measured length of every sentence; your own recording (
narration.voiceover) is spread over the scenes in proportion to the estimates.
So a video of a given length needs a certain number of spoken words. About 70% of a video is speech and the rest is pauses, which gives this budget for all say strings together (what the app's AI writer aims for):
| Length | Scenes | Words at speed 1 | Words at speed 0.95 (default) | Words, premium `natural` |
|---|---|---|---|---|
30 seconds (30s) | 4 to 5 | 71 | 68 | 43 |
1 minute (1m) | 6 to 8 | 143 | 136 | 86 |
3 minutes (3m) | 10 to 14 | 428 | 407 | 257 |
5 minutes (5m) | 16 to 22 | 714 | 678 | 428 |
10 minutes (10m) | 28 to 38 | 1428 | 1357 | 857 |
The validator answers with stats: the number of scenes, sentences and words and estimatedSeconds (the length of your own recording when there is one).
Rich text on screen
Text shown on screen (headings, card titles, statements, table cells…) supports three marks and nothing else, on purpose. They are for on-screen text only: in narration they would be shown in the captions (and the validator warns).
| Write | Becomes | Looks like |
|---|---|---|
**compound interest** | strong: "compound interest" | Emphasis: the words take the accent gradient (or the brand colour with the calm and chip headlines). |
==less code== | mark: "less code" | A highlighter stroke swiped under the words (a solid chip of the brand colour with the chip headline). |
`git commit` | code: "git commit" | Inline code, set in a monospace font. |
A mark needs text inside it (**** stays as typed), and marks do not nest: a mark inside another one shows as typed. style.headline decides how marked words are set across the video (see the styles skill).
Shape, size and exports
aspect is the shape the video is made for (default 16:9). The editor, the watch page, embeds and exports start from it, and the AI pictures follow it (a tall video gets tall pictures). Wide shapes use the landscape layout; square and tall ones the phone layout, which has much less room across.
| aspect | Name | Layout | Pixels at 1080p |
|---|---|---|---|
16:9 | Landscape (default) | landscape | 1920×1080 |
4:3 | Classic | landscape | 1440×1080 |
1:1 | Square | phone | 1080×1080 |
4:5 | Portrait | phone | 1080×1350 |
3:4 | Tall | phone | 1080×1440 |
9:16 | Vertical | phone | 1080×1920 |
An export picks a resolution, which names the pixels of the shorter side: 1080p is 1920×1080 for 16:9 and 1080×1920 for 9:16.
| aspect | 360p | 480p | 720p | 1080p | 1440p | 2160p |
|---|---|---|---|---|---|---|
| 16:9 | 640×360 | 854×480 | 1280×720 | 1920×1080 | 2560×1440 | 3840×2160 |
| 4:3 | 480×360 | 640×480 | 960×720 | 1440×1080 | 1920×1440 | 2880×2160 |
| 1:1 | 360×360 | 480×480 | 720×720 | 1080×1080 | 1440×1440 | 2160×2160 |
| 4:5 | 360×450 | 480×600 | 720×900 | 1080×1350 | 1440×1800 | 2160×2700 |
| 3:4 | 360×480 | 480×640 | 720×960 | 1080×1440 | 1440×1920 | 2160×2880 |
| 9:16 | 360×640 | 480×854 | 720×1280 | 1080×1920 | 1440×2560 | 2160×3840 |
Export formats
The server draws every frame in a headless browser and encodes it, so the file looks exactly like the preview.
| format | What you get | Mixes in music |
|---|---|---|
mp4 | MP4 video. H.264 + AAC. Plays everywhere: social media, phones, slides. | yes |
webm | WebM video. VP9 + Opus. Smaller files, ideal for the web. | yes |
mov | MOV video. H.264 + AAC in a QuickTime container, for Final Cut and iMovie. | yes |
gif | Animated GIF. Silent loop, limited to 480p and 15 fps. | no |
mp3 | MP3 audio. Just the narration, for podcasts. | yes |
png | PNG still. One frame, for thumbnails (set at). | no |
srt | SRT subtitles. Captions timed to the narration. | no |
vtt | WebVTT subtitles. Captions for HTML5 video players. | no |
json | Spec JSON. The spec this video was made from. | no |
Export settings (they are not part of the document; they go with an export request): frame rates 10 to 60 fps (default 30), encoder quality draft, standard, high, captions burnt in or not, and an optional limit that renders only the first seconds. A GIF is limited to 480p and 15 fps.
| Field | Type | Required | Description |
|---|---|---|---|
format | enum | no | What to produce. Allowed: mp4, webm, mov, gif, mp3, png, srt, vtt, json. |
aspect | enum | no | Shape of the picture: 16:9 landscape, 9:16 vertical, 1:1 square... Allowed: 16:9, 4:3, 1:1, 4:5, 3:4, 9:16. |
resolution | enum | no | Pixels of the shorter side: 1080p is 1920×1080 for 16:9 and 1080×1920 for 9:16. Allowed: 360p, 480p, 720p, 1080p, 1440p, 2160p. |
fps | integer | no | Frames per second. Limits: 10–60. |
quality | enum | no | Encoder quality. draft is fastest. Allowed: draft, standard, high. |
captions | boolean | no | Draw the captions into the picture. Default true. |
at | number | no | For png: the moment (seconds) to capture. Default: the title card. |
settle | integer | no | For png: milliseconds of animation played before the capture. Default 2000, when everything has finished arriving; 0 freezes the first instant of every animation. Limits: 0–10000. |
music | object | no | Mix background music under the narration (mp4, webm, mov and mp3). |
music.src | string | yes | Address of the music: an http(s) link to an MP3, WAV, M4A or OGG file. It loops to fill the video and fades out at the end. Limits: up to 2000 characters. |
music.volume | number | no | Loudness of the music, 0 to 1, where the narration is 1. Default 0.18. Limits: 0–1. |
music.duck | boolean | no | Lower the music further while the narrator speaks. Default true. |
callbackUrl | string | no | When the job finishes (done, failed or cancelled), the job is POSTed to this address as JSON: { "event": "job.finished", "job": { … } }. It must be reachable on the public internet: addresses of private networks (localhost, 10.x.x.x, 192.168.x.x) are refused. Limits: up to 2000 characters. |
previewSeconds | number | no | Render only the first N seconds, to check settings quickly. Limits: 1–3600. |
drawIn | enum | no | Where the pictures are drawn. browser: by the browser the export was asked from, while it stays on the page (the dashboard does this by default in a browser that can: it saves a round trip and uses the computer of the person who waits). Only for mp4 and mov videos with no footage clips: for anything else it is ignored. When no browser takes the export up in a few seconds, or the page is left, a render machine or the server draws it as usual. Leave it out in scripts: there is no browser to take it, and the export would only wait a few seconds for one. Default: server. Allowed: server, browser. |
| Preset | Settings |
|---|---|
| YouTube | 16:9 · 1080p · MP4 |
| Shorts / Reels / TikTok | 9:16 · 1080p · MP4 |
| Instagram post | 1:1 · 1080p · MP4 |
| Web embed | 16:9 · 720p · WebM |
| Quick draft | 16:9 · 480p · first 15 s |
| Thumbnail | 16:9 · 1080p · PNG |
Kinds of video
When the app's AI writes a video, the kind of video sets a sensible shape, length, ending, furniture (style fields it fixes) and music mood; the topic decides the rest. The same choices suit a document you write yourself:
| Kind | For | Shape | Length | Ends on | Sets in `style` | Music |
|---|---|---|---|---|---|---|
explainer | Explainer: Make a topic click. Made for YouTube, websites, courses. | 16:9 landscape | 3 minutes | its last scene | calm | |
lesson | Lesson: Teach it so it sticks. Made for Classrooms, courses, training. | 16:9 landscape | 5 minutes | recap | {"header":["host","title"],"progress":"bar"} | calm |
howto | How-to: Step by step. Made for Tutorials, recipes, DIY, help centres. | 16:9 landscape | 3 minutes | recap | {"header":["title"],"progress":"dots"} | uplifting |
revision | Revision: Remember it for the exam. Made for Students, study groups, exam preparation. | 16:9 landscape | 3 minutes | recap | {"header":["title"],"progress":"dots"} | chill |
quiz | Quiz: Test what they know. Made for Classrooms, social posts, team events. | 16:9 landscape | 3 minutes | cta | {"progress":"dots"} | playful |
pageguide | Page guide: Tour your screens, click by click. Made for Help centres, onboarding, product tours. | 16:9 landscape | 3 minutes | its last scene | {"header":[]} | uplifting |
short | Short: Vertical and fast. Made for TikTok, Reels, YouTube Shorts. | 9:16 vertical | 30 seconds | cta | {"header":[],"captions":"highlight"} | energetic |
tips | Quick tips: 5 ways to…, 3 mistakes…. Made for TikTok, Reels, Shorts, LinkedIn. | 9:16 vertical | 1 minute | cta | {"header":[],"captions":"highlight"} | energetic |
story | Story: Tell it like a documentary. Made for YouTube, history, biography, bedtime. | 16:9 landscape | 3 minutes | its last scene | {"header":[]} | cinematic |
travel | Travel guide: Plan a trip, show a place. Made for YouTube, Instagram, friends and family. | 16:9 landscape | 3 minutes | its last scene | {"header":[]} | uplifting |
invite | Invitation: Parties, weddings, events. Made for WhatsApp, Instagram stories, group chats. | 9:16 vertical | 30 seconds | cta | {"header":[]} | uplifting |
memories | Memories: A tribute, a year in review. Made for Family, anniversaries, farewells. | 16:9 landscape | 1 minute | its last scene | {"header":[]} | cinematic |
promo | Promo: Sell an idea or product. Made for Websites, ads, social feeds. | 16:9 landscape | 1 minute | cta | {"header":["brand"]} | corporate |
demo | Product demo: Show your app or site in action. Made for Websites, sales emails, help centres, social feeds. | 16:9 landscape | 1 minute | cta | {"header":["brand"]} | corporate |
offer | Offer: A sale, an opening, news from the shop. Made for WhatsApp status, Instagram, Facebook, shop screens. | 9:16 vertical | 30 seconds | cta | {"header":["brand"],"captions":"highlight"} | energetic |
review | Review: Compare it, rate it, decide. Made for YouTube, blogs, social feeds. | 16:9 landscape | 3 minutes | its last scene | {"header":["title"]} | chill |
casestudy | Customer story: Problem, solution, result. Made for Websites, sales decks, LinkedIn. | 16:9 landscape | 1 minute | cta | {"header":["brand"]} | corporate |
productad | Product ad: Unveil it, show why, sell it. Made for Websites, YouTube, feeds, store pages. | 16:9 landscape | 30 seconds | its last scene | {"header":[]} | cinematic |
socialad | Social ad: Vertical, fast, made to stop the scroll. Made for TikTok, Reels, YouTube Shorts, Stories. | 9:16 vertical | 30 seconds | its last scene | {"header":[],"captions":"highlight","safeZone":"all"} | energetic |
appad | App or software ad: Show the screens, the features, the price. Made for Websites, product pages, LinkedIn, app stores. | 16:9 landscape | 1 minute | its last scene | {"header":[]} | corporate |
localad | Local business ad: Be the one they call. Made for Facebook, Instagram, Google, WhatsApp, shop screens. | 16:9 landscape | 1 minute | its last scene | {"header":[]} | uplifting |
eventad | Event ad: Save the date, fill the room. Made for Instagram, Facebook, WhatsApp, screens at the venue. | 9:16 vertical | 30 seconds | its last scene | {"header":[],"captions":"highlight","safeZone":"all"} | energetic |
training | Training: Onboarding, policies, safety. Made for Intranets, onboarding, compliance. | 16:9 landscape | 5 minutes | recap | {"header":["title"],"progress":"bar"} | corporate |
update | Update: What's new, in order. Made for Team updates, news, newsletters. | 16:9 landscape | 3 minutes | its last scene | {"header":["title","brand"]} | tense |
pitch | Pitch: Win over a room. Made for Meetings, investors, proposals. | 16:9 landscape | 3 minutes | cta | {"header":["brand","title"],"progress":"bar"} | corporate |
Pictures
Every scene may carry an image: a picture behind it or beside its content. The editor paints them with the AI (Pictures tab), but any address works, so you can use your own.
| Field | Type | Required | Description |
|---|---|---|---|
image | object | no | A picture behind or beside this scene. |
image.src | string | yes | Address of the picture: one made or uploaded in the editor (/api/assets/<id>), or an http(s) link. |
image.alt | string | no | What the picture shows. Limits: 1–150 characters. |
image.mode | enum | no | backdrop (default) fills the whole frame behind the scene, softened so the text stays readable. cutout is a picture with a transparent background that floats beside the content. card is a framed photo, slightly tilted, beside the content. Allowed: backdrop, cutout, card. |
image.side | enum | no | Which side a cutout or card sits on. Default right. Ignored for a backdrop. Allowed: left, right. |
image.motion | enum | no | How the picture moves. Backdrop: zoom-in or zoom-out (default, they alternate), pan, still. Cut-out and card: float (default), sway, spin (turns round), turn (swings like a 3D display), pulse, bounce, still. Allowed: zoom-in, zoom-out, pan, float, sway, spin, turn, pulse, bounce, still. |
image.prompt | string | no | What the AI was asked to paint. Kept so the picture can be made again; it is not shown. Limits: 1–600 characters. |
| mode | What it does | motion | Without `motion` |
|---|---|---|---|
backdrop | Fills the frame behind the scene, softened and darkened so the text stays easy to read. The default. | zoom-in, zoom-out, pan, still | zoom-in and zoom-out, alternating from scene to scene |
cutout | A picture with a transparent background that floats beside the content, on the side you choose (right by default). | float, sway, spin, turn, pulse, bounce, still | float |
card | A framed photo, slightly tilted, beside the content, on the same side. It works with any picture. | float, sway, spin, turn, pulse, bounce, still | float |
spin turns the picture round, turn swings it like a 3D display. A motion that does not suit the mode is replaced by the mode's default. side is ignored for a backdrop. prompt (up to 600 characters) keeps what the AI was asked to paint, so the picture can be made again; it is never shown. Pictures are drawn in exports too.
{
"kind": "statement",
"text": "Sunlight is made of **every colour** at once.",
"say": "Sunlight is made of every colour at once.",
"image": {
"src": "/api/assets/3c9d0e5a71b2f486",
"alt": "A prism splitting white light",
"mode": "backdrop"
}
}Picture addresses
- Every picture address (
image.src,host.src,brand.logoand the pictures of picture scenes) must match^(https?:\/\/|data:image\/|\/)(case-insensitive): anhttp(s)link, adata:image/…URL, or a path on this server starting with/, such as an upload/api/assets/<16 hex characters>(https://videobana.vercel.app/api/assets/<id>).file:and other schemes are rejected. - Use only addresses you were given or uploaded. Never invent one.
host(src,alt,prompt) is a picture of the presenter shown instead of the drawn mascot, in the top bar and on the title card. A cut-out with a transparent background works best.thumbnailis the picture that stands for the video in lists, link previews and on the watch page before it plays (not drawn in the video itself): an upload/api/assets/<id>or anhttp(s)link, never an inlinedata:image. Left out, a poster is drawn from the title and the look. Write one only when the user gave you the picture; the editor's Settings tab uploads or paints one.- Scene kinds that show pictures of their own (besides
image):media,gallery,walkthrough,screencast,hero,hotspots,device,montage,showcase,specs,menu,event,orbit,constellation,editor,lockup,tiles,dashboard,page,endcard. They need real addresses, so write them only when you have the user's pictures. Footage (video clips) is used byclip.
Pictures with the AI
POST /api/imagespaints pictures from code: up to 25 (cut-outs, cards, backdrops and the host together) on one sprite sheet in one call. Every picture that comes out counts as one AI image (100 AI images a month on the Free plan); one that does not is not charged.- When the app writes a video with the AI, an art director reads the script, decides which scenes deserve a picture (a backdrop, a cut-out, or a picture scene of its own; only as many as the user has image credits for), writes a prompt for each and paints them in one look so they read as a series. They are painted on sprite sheets: a grid of pictures per request, separated by magenta dividers; a cut-out is painted on a flat green or black screen that is removed afterwards. Each picture is cut out along the dividers, checked (an empty cell or a cut-off subject is painted again once) and put on its scene. A document you write yourself gets only the pictures you put in it.
- The looks a video's pictures can have (one for the whole video):
photo(Photo: Real photographs: natural light, true colours and textures.);cinematic(Cinematic: Film stills: dramatic light, rich colour grade, grain.);illustration(Flat illustration: Clean vector shapes, bold colour, editorial feel.);3d(3D render: Soft studio light, smooth rounded materials.);isometric(Isometric: Tidy isometric dioramas with soft shadows.);watercolor(Watercolor: Hand-painted washes on textured paper.);anime(Anime: Cel shading, expressive lines, painted backgrounds.);pixel(Pixel art: 16-bit pixels and a small palette.);sketch(Pencil sketch: Pencil and ink on cream paper.);paper(Papercraft: Layered paper cut-outs with soft shadows.);neon(Neon: Glowing edges, deep blues and magenta.); or Auto. - Use pictures where they explain, not on every scene: a few strong backdrops and cut-outs are better than a picture behind everything.
Title card, top bar and recap
title(up to 80 characters) shows on the title card and in the top bar.subtitle(up to 220) is the one-sentence summary on the title card.kicker(up to 48) is the small line above the title in the top bar, e.g. "Lesson 3 · Core skills".chipsare up to 4 pills (each up to 24 characters) above the title on the title card.emojifloats in a bubble beside the host on the title card; leave it out for no bubble.topicsays what the video is about; it is not shown. Withtitleit is used to guess thedomain(and so the look) whendomainis not set; when nothing clearly matches, the neutralgenerallook is used.followUpsare up to 3 cards beside the recap of anoutroscene (a hands-on task, what to watch next):kicker(up to 24),title(up to 48) and an optionaltone.- The top bar (host, title, kicker, brand name) shows on every scene except the title card, and the progress indicator is off unless
style.progressis set; both are covered in the styles skill, and a scene can hide or show either one withheaderandprogress.
Brand
brand.name(up to 32 characters) shows at the right end of the top bar and on the end card.brand.tagline(up to 60) is the line abrandrevealscene shows under the logo when the scene gives none of its own.brand.logois a picture address (PNG, SVG or JPEG) shown in a corner of every scene;brand.logoPositionpicks the corner, andbrand.logoPlateputs a rounded plate behind it (lightfor a dark logo,darkfor a light one). A transparent PNG or an SVG looks best.- Write a brand only when the user gave one, and never invent a logo address.
- In the editor, Brand kit keeps a video's name, logo, brand colour and fonts as the user's kit; every new AI video starts with it.
Captions and subtitles
- Captions show the sentence being spoken, at most 14 words at a time, with the current word highlighted. A long sentence is cut into even chunks; no sentence is cut unless it is too long.
- Their look is
style.captionsand their placestyle.captionPosition(styles skill). Exports burn them in unless the export setscaptions: false. - Subtitle files (
srt,vtt) are exported timed to the narration: one cue per caption chunk.
Screenshot guides: guide
For a guide made of screenshots, guide sets what its screencast scenes share. Leave it out for a website (the default frame is browser).
| Field | Type | Required | Description |
|---|---|---|---|
guide | object | no | For a guide made of screenshots: what its screencast scenes share, the window the screenshots are shown in and how their steps are counted. |
guide.frame | enum | no | The window the screenshots are shown in, for every screencast of the video: browser (default) for a website, mac or windows for a desktop app, phone for a mobile app (a tall screen), none for screenshots that already have their own frame. A screencast can choose its own. Allowed: browser, mac, windows, phone, none. |
guide.numbering | enum | no | How the steps are counted on their cards: scene (default) starts again at 1 in each screencast; continuous carries on through the whole video, for a guide of more than ten steps that is split over several screencasts. Allowed: scene, continuous. |
frame:browser,mac,windows,phone,none.phoneis a tall screen for a mobile app;macorwindowsthe window of a desktop app;nonefor screenshots that already have a frame. A screencast can choose its own.numbering:scene,continuous.scenestarts at 1 in each screencast;continuouscounts on through the whole video, so a long guide split over several screencasts reads "11 / 23", not "1 / 5" again.- A
screencastholds up to 10 steps, so a longer task is split over several screencasts (then setnumberingtocontinuous). Awalkthroughhas up to 8 steps on one screenshot. Hidden areas (redact) are only ever drawn by the author in the editor; an AI never writes them.
Music, sound design and audio clips
music: your own track
An http(s) link to an MP3, WAV, M4A or OGG file, or an uploaded one (/api/assets/<id>). It loops to fill the video, fades in over 1.5 and out over 2.5 seconds, plays at volume (0 to 1, where the narration is 1; default 0.18) and is lowered further while the narrator speaks unless duck is false. It plays in the preview, on the watch page and in embeds, and is mixed into mp4, webm, mov, mp3 exports.
| Field | Type | Required | Description |
|---|---|---|---|
music | object | no | |
music.src | string | yes | Address of the music: an http(s) link to an MP3, WAV, M4A or OGG file, or an uploaded one (/api/assets/<id>). It loops to fill the video and fades out at the end. Limits: up to 2000 characters. |
music.name | string | no | The name of the file, shown in the editor. Limits: 1–120 characters. |
music.volume | number | no | Loudness of the music, 0 to 1, where the narration is 1. Default 0.18. Limits: 0–1. |
music.duck | boolean | no | Lower the music further while the narrator speaks. Default true. |
The editor's Music tab (and the AI's "Add background music") composes an instrumental track with no vocals in a mood: calm (Calm: Soft and unhurried. Explanations and lessons.); uplifting (Uplifting: Bright and hopeful. Tutorials and good news.); energetic (Energetic: Fast and punchy. Shorts and promos.); cinematic (Cinematic: Slow strings and swells. Stories and trailers.); playful (Playful: Bouncy and light. Kids and fun topics.); corporate (Corporate: Clean and confident. Business and product.); tense (Tense: Dark and serious. Documentaries and news.); chill (Chill: Laid-back groove. Everyday topics.). A loop is about 30 seconds, a full track about 2 minutes; a track counts against the monthly AI tokens.
sound: sound design made for the video
Sound effects and a music bed made from nothing, so no files and no licences: whooshes ride the cuts, a hit lands on every hard cut, a riser and a deep impact as the product appears, small pops for lines of text and a sparkle on the offer. The bed's tempo is fitted to the cuts so they fall on the beat. The narrator always sits on top: the bed ducks under the voice, and the whole mix is mastered to about −15 LUFS, the level of social video. Left out, the video has none. Product ads switch it on.
| Field | Type | Required | Description |
|---|---|---|---|
sound | object | no | Sound design made for the video itself: whooshes on the cuts, a riser and an impact into the reveal, small pops for text, and an optional music bed whose tempo is fitted to the cuts. Exports mix it in (mp4, webm, mov). Left out, the video has none. |
sound.effects | enum | no | How lively the sound effects are: off, soft, punchy (default) or cinematic. Whooshes on the cuts, risers and impacts into the reveal, small pops for text and a sparkle on the offer. Made from nothing, so no files are needed. Allowed: off, soft, punchy, cinematic. |
sound.bed | enum | no | A music bed made to the cuts of the video, so they land on the beat: ambient, pulse or drive. Default off. For your own track use music. Allowed: ambient, pulse, drive, off. |
sound.bedVolume | number | no | How loud the bed is under the narrator, 0 to 1. Default 0.4. Limits: 0–1. |
sound.effectsVolume | number | no | How loud the sound effects are, 0 to 1, where the narrator is 1. Default 0.6. Limits: 0–1. |
| sound.effects | What you hear |
|---|---|
off | Off. No sound effects. |
soft | Soft. Gentle swooshes on the cuts and small pops for text. Calm and unobtrusive. |
punchy | Punchy. Whooshes, hits on hard cuts, risers into the reveal and a sparkle on the offer. The default for ads. |
cinematic | Cinematic. Long whooshes, deep impacts and big risers in a roomy space, with hardly any small sounds. Launches and trailers. |
| sound.bed | What it is |
|---|---|
ambient | Ambient. Slow, airy pads and a few soft bells. Beauty, wellness, luxury and anything that should feel calm. 72 to 96 beats a minute. |
pulse | Pulse. A steady modern beat with a plucked line. Tech, apps, lifestyle and most products. 98 to 118 beats a minute. |
drive | Drive. Four-on-the-floor and a rolling bass. Sales, sport, streetwear, events and launches that should feel big. 118 to 132 beats a minute. |
off | No bed (the default). |
bedVolume is 0 to 1 (default 0.4); effectsVolume is 0 to 1 (default 0.6), where the narrator is 1.
audio: clips on the timeline
Up to 24 recordings and pieces of music placed on the timeline, each playing part of an uploaded file from a given second of the video. A clip plays the file from offset for length seconds (at least 0.2), starting at start seconds of the video; offset + length must lie inside the file (duration). Kinds: voice (as loud as 1 where the narrator is 1), music (as loud as 0.18 where the narrator is 1). A clip that starts after the video ends is never heard (the validator warns).
| Field | Type | Required | Description |
|---|---|---|---|
audio | object[] | no | Recordings and music placed on the timeline, each playing part of an uploaded file from a given second of the video. Exports mix them in (mp4, webm, mov, mp3). Limits: up to 24 items. |
audio[].kind | enum | yes | voice: a recording, as loud as the narrator. music: lowered under the narrator. Allowed: voice, music. |
audio[].src | string | yes | Address of the uploaded audio (/api/assets/<id>). |
audio[].name | string | no | The name of the file, shown in the editor. Limits: 1–120 characters. |
audio[].duration | number | yes | Length of the whole file in seconds. Limits: 0.2–3600. |
audio[].start | number | yes | Where the clip begins, in seconds from the start of the video. Limits: 0–3600. |
audio[].offset | number | no | Seconds cut from the beginning of the file. Default 0. Limits: 0–3600. |
audio[].length | number | yes | Seconds of the file that play, from offset. Limits: 0.2–3600. |
Limits
Limits keep text inside its box, even on a vertical video. Going over one is an error that names the field, the actual size and the text. Stay well under them, especially in languages with long words.
| Limit | Value |
|---|---|
Characters of the video title (and of a section title) | 80 |
| Characters of a scene heading | 60 |
Characters of the video subtitle | 220 |
Characters of the kicker in the top bar | 48 |
Characters of one chip, and of the kicker of a follow-up card | 24 |
Characters of a card, step or row title (and the title of a follow-up card) | 48 |
Characters of a card or step description (and of a picture's alt) | 150 |
| Characters of one table cell | 48 |
Characters of one narration line (say, lead, outro) | 500 |
Characters of a big number such as +27% | 14 |
| Scenes in one video | 40 |
| Items (cards, steps, rows…) in one scene, unless the kind says otherwise | 8 |
Characters of one line of a code scene | 64 |
Lines of a code scene | 12 |
| Chips on the title card | 4 |
Bullets in the recap of an outro | 6 |
Characters of brand.name | 32 |
Characters of brand.tagline | 60 |
Other limits of the envelope:
| Limit | Value |
|---|---|
Seconds a scene may hold after its narration | 60 |
Characters of a scene delivery (premium voice) | 120 |
Characters of narration.premium.style | 160 |
Characters of narration.premium.accent | 40 |
Entries in narration.pronunciations | 50 |
Phrases in narration.foreign, all languages together | 200 |
| Seconds of any one pause | 10 |
Seconds of narration.voiceover | 0.5 to 3600 |
Clips in audio | 24 |
Characters of a picture prompt | 600 |
| Words in one narrated sentence before the validator warns | 45 |
Validation: errors and warnings
A document is checked in three steps, and every issue has a level (error or warning), a path to the field (such as scenes[2].items[0].say, or (root)), a message and often a hint on how to fix it. Errors stop a document from being saved; warnings never do. POST https://videobana.vercel.app/api/validate with { "spec": { … } } answers { valid, errors, warnings, stats } and stores nothing.
- Structure: right fields, right types, within the limits. When there is any structure error, the other two steps do not run (
warningsis empty andstatsisnull), so fix these first. - Meaning: things that are valid JSON but make no sense (a quiz whose answer is not one of its options, a table row with the wrong number of cells). Mostly errors; a few warnings.
- Quality: advice that never blocks (no title card, a very long sentence, three identical scenes in a row).
Before checking, ids that were retired are swapped for their successors (a style id or scene kind that an older document or model still uses), so they never cause an error; see the styles skill for the list.
Example: a document with mistakes
{
"title": "Demo",
"subtitel": "A typo in a field name",
"style": {
"palette": "oceann"
},
"scenes": [
{
"kind": "intro",
"say": [
"Hello there."
]
},
{
"kind": "fireworks"
}
]
}The validator answers:
{
"valid": false,
"errors": [
{
"level": "error",
"path": "style.palette",
"message": "\"oceann\" is not a valid value.",
"hint": "Did you mean \"ocean\" or \"candy\" or \"cream\"? Allowed: classic, violet, ocean, emerald, sunset, berry, midnight, graphite, corporate, royal, neon, ember, forest, matrix, ... (41 in total, see the docs)."
},
{
"level": "error",
"path": "scenes[1].kind",
"message": "Unknown scene kind \"fireworks\".",
"hint": "Did you mean \"answers\" or \"forecast\" or \"reviews\"? Allowed: intro, section, statement, cards, table, example, stat, chart, ranking, versus, feature, timeline, cycle, funnel, ... (103 in total, see the docs)."
},
{
"level": "error",
"path": "(root)",
"message": "Unknown field: subtitel.",
"hint": "\"subtitel\" → did you mean \"subtitle\"? Allowed: version, title, subtitle, topic, domain, aspect, emoji, kicker, chips, brand, host, thumbnail, style, narration, ... (20 in total, see the docs)."
}
],
"warnings": [],
"stats": null
}Example: valid, with advice
{
"title": "Small habits",
"style": {
"palette": "ocean",
"brandColor": "#0f766e"
},
"scenes": [
{
"kind": "statement",
"text": "Start **small**.",
"say": "Start **small**, then keep going."
},
{
"kind": "statement",
"text": "Repeat it daily.",
"say": "Repeat it every day."
},
{
"kind": "statement",
"text": "Track the streak.",
"say": "Track the streak on a calendar."
}
]
}{
"valid": true,
"errors": [],
"warnings": [
{
"level": "warning",
"path": "style.brandColor",
"message": "Both `palette` and `brandColor` are set; `brandColor` wins and the palette is ignored."
},
{
"level": "warning",
"path": "scenes[0]",
"message": "The video starts without a title card.",
"hint": "Start with { \"kind\": \"intro\", ... } so viewers know what they are watching."
},
{
"level": "warning",
"path": "scenes[2]",
"message": "3 \"statement\" scenes in a row get repetitive.",
"hint": "Mix scene kinds to keep the video lively."
},
{
"level": "warning",
"path": "scenes",
"message": "The video is only about 10 seconds long."
},
{
"level": "warning",
"path": "scenes[0]",
"message": "Narration contains markup or emoji, which the captions will show: \"Start **small**, then keep going.\".",
"hint": "Keep narration plain text."
}
],
"stats": {
"scenes": 3,
"sentences": 3,
"words": 15,
"estimatedSeconds": 9.6
}
}Structure errors
Reported at the path of the field, before anything else is checked:
| Where | Level | Message | Fix |
|---|---|---|---|
| A value that is not one of the allowed ones | error | "<value>" is not a valid value. | Hint: Did you mean "<closest>"? Allowed: <values>. (Up to 14 values are listed, then "… (<n> in total, see the docs)".) |
A scene kind that does not exist | error | Unknown scene kind "<kind>". | Hint: the closest kinds, then the allowed ones. |
A component of a compose scene without a valid type | error | A component needs a `type`. or Unknown component type "<type>". | Hint: the closest types, then the allowed ones. |
| A field that does not exist there | error | Unknown field: <name>. or Unknown fields: <name>, <name>. | Hint: "<name>" → did you mean "<closest>"? (or "<name>" is not allowed here.), then the allowed fields. |
| A required field that is missing | error | Required field is missing. | |
| A value of the wrong type | error | Expected <type>, got <type>. | |
| Text that is empty, too long or too short | error | Text must not be empty. or Text is <n> characters, at most <max> allowed: "<the text>". | The first 60 characters of the text are quoted: shorten that text. |
| A list with too many or too few items | error | Has <n> items, at most <max> allowed. or Has <n> items, at least <min> allowed. | |
| A number out of range | error | expected number to be <=<max> or expected number to be >=<min> | |
| A bad address or colour | error | Use an http(s) address, a data:image URL or a path starting with / or Use a six-digit hex colour such as #7c3aed or Use the address of an uploaded file: /api/assets/<id> or Use an http(s) link to an audio file, or the address of an uploaded one (/api/assets/<id>) | |
| A rule of one scene kind | error | `start` is past the end of the clip. Each such rule has its own message. | See the kind in videobana-scenes. |
Meaning checks
Run on a document whose structure is valid. The path is under the scene (scenes[i]…) or the field named:
| Where | Level | Message | Fix |
|---|---|---|---|
table, at rows[i].cells | error | Has <n> cells but the table has <m> columns. | Every row needs one cell per column (use "" for an empty one). |
chart with chart: donut | error | A donut needs at least one value above zero. | |
chart with chart: line or area | error | A line chart needs at least 2 points. or An area chart needs at least 2 points. | |
chart with chart: radar | error | A radar chart needs at least 3 items, one per axis. | |
chart with chart: rings | error | Rings fit at most 5 items, got <n>. or Ring values are percentages (0 to 100), got <v>. | |
compare | error | Has <n> values but there are <m> columns. or Column <n> does not exist: there are <m> columns (counting from 0). The second is about highlight. | Every row needs one value per column. |
quiz | error | Answer <n> does not exist: there are <m> options (counting from 0). | |
quiz | warning | Two options are identical. Compared without case. | |
term | error | Has <n> lines but only <m> things to reveal. 2 things without an example, 3 with one. | Add an example or remove the last line. |
calendar | error | Day <d> does not exist: that month has <n> days. | |
calendar | warning | Two events fall on the same day; only one label can be shown there. | |
cards with layout: flow | warning | A flow of <n> steps is cramped; use at most 6. | |
versus | warning | No point belongs to the left side. or No point belongs to the right side. | |
worldmap, journey, berlinmap, at the place | error | The map does not know a place called "<place>". or The map of Berlin does not know a place called "<place>". or "<place>" has only one of `latitude` and `longitude`. or <lat>, <lon> is not in Berlin. | Hint: the closest known names; or add latitude and longitude for a place that is not on the list (both, or neither). |
journey | warning | The first stop is where the trip starts, so its `mode` is not used. or "<place>" is the same place as the stop before, so there is nowhere to travel. | Remove the first stop's mode, or move it to the stop it leads to. |
timetravel | warning | Same year as the event before (<year>), so the counter does not travel. | Give each event its own year, or merge the two. |
screencast | warning | The intro card is shown while the `lead` is said, and the scene has none: it only flashes by. or The ending card is shown while the `outro` is said, and the scene has none: it is never shown. | Add a lead that says what the tour shows, or an outro that closes it. |
screencast, at redact[i] | error | This area is on a screenshot that the scene does not show, so it hides nothing. | Give it the address of a screenshot of the scene (screenshot or a step's screenshot), or remove it. |
motion, compose | error or warning | The name "<id>" is used twice. or There is no <line>: the scene has <n> lines of narration. Their planners also check references to components that do not exist, too many shapes or components, nesting and placement. | See videobana-motion-graphics and videobana-compositions. |
style.brandColor | warning | Both `palette` and `brandColor` are set; `brandColor` wins and the palette is ignored. | Keep one of them. |
narration.voiceover | warning | The video is silent, so the recording is not used. | Remove narration.silent, or remove the recording. |
narration.voiceover | warning | The recording is much shorter than the words on screen would take, so the scenes are rushed or stretched to fit it. or The recording is much longer than the words on screen would take, so the scenes are rushed or stretched to fit it. When the recording is under 0.5 or over 2 times the estimate. | Edit the narration text so it matches what you recorded. |
narration.lang | warning | There is no voice for this language, so the video has captions and no sound. | Set narration.engine to "premium", which speaks it, add your own voice-over, or pick a language that has a voice. |
scenes[i].delivery | warning | The standard voice cannot be directed, so this delivery is ignored. | Set narration.engine to "premium" to use it. |
scenes[i] | warning | The tag <name> is not one the voice performs, so it is dropped. | Use a tag from the list under Premium voice. |
scenes[i] | error | A narration passage has only tags and no words. | Write the words the voice should say; a tag goes next to them. |
Quality warnings
| Where | Level | Message | Fix |
|---|---|---|---|
scenes[0] | warning | The video starts without a title card. Unless the first scene is intro, kinetic, brandreveal, screencast. | Start with { "kind": "intro", ... } so viewers know what they are watching. |
scenes | warning | There is more than one title card. or There is more than one recap. More than one intro, or more than one outro. | |
scenes[i] | warning | 3 "<kind>" scenes in a row get repetitive. Reported at the scene that makes it 3 in a row. | Mix scene kinds to keep the video lively. |
scenes | warning | The video is only about <n> seconds long. Under 15 seconds. | |
scenes | warning | The video is about <n> minutes long; exporting it will take a while. Over 10 minutes. | |
audio[i].start | warning | This clip starts at <s> seconds, after the video ends (about <n> seconds), so it is never heard. | Move it earlier, or remove it. |
scenes[i] | warning | A sentence is <n> words long (over 45): "<start of the sentence>...". | Split it into shorter sentences; they are easier to follow. |
scenes[i] | warning | Narration contains markup or emoji, which the captions will show: "<start of the sentence>". Markup is **, ==, a backtick or __. | Keep narration plain text. |
scenes[i] | warning | Digits in narration are not converted to words for this language. Any narration.lang but en. | Write numbers out in words, or add narration.pronunciations. |
style.textColor | warning | This colour is hard to read on the backdrops and was replaced. | Pick a colour with more contrast, or leave it out. |
style.accent | warning | An accent colour is hard to see on the backdrops and was replaced. |
When the app's AI writes a document, it is checked by this validator; if there are errors it is shown the list and asked to fix them, up to three times, and a valid document with several fixable warnings in its scenes is sent back once to polish. Do the same: validate, fix every error, then fix the warnings you can.
Writing a good video
These are the house rules the app gives its own AI writer, taken from its prompt as they are. They hold for any assistant writing a document. Where they speak of what the app does afterwards (painting pictures), remember that a document you write yourself gets only what you put in it.
Text
- Reply with the JSON document only. No markdown fences, no comments, no text before or after.
- The JSON must follow the format below exactly. Unknown keys are rejected.
- Every
saystring is spoken aloud by a text-to-speech voice AND shown as a caption. Write it the way people talk: short sentences, no markdown, no emoji, no URLs, no abbreviations the voice cannot read. Numbers and percentages are fine. - On-screen text (titles, labels, cells) is short: it must fit a phone screen. Respect every limit. You may wrap words in double asterisks to highlight them, and use
backticksfor code.
Craft
- Open with an
introscene (the title card), unless the kind of video says it opens another way (an ad opens on its hook). Do NOT end with a recap: nooutroscene unless the instructions allow it, and actaonly when the video asks the viewer to do something (subscribe, sign up, buy, try). Otherwise end on the last real scene, ideally the strongest one: a statement, a quote, a surprising number or a callout. - Tell a story: a hook in the first scene, explanation in logical order, concrete examples, a payoff. One idea per scene. Never restate what was just said.
- Make it feel edited, not slid: pick ONE
style.transitionthat fits the mood (fade,rise,bluror a push for calm and serious topics;zoom-in,whip,blur-zoom,bounceorflashfor energetic ones) and use a different one on a few scenes where the story turns (settransitionon that scene, ideally asectionor the scene after it). Do not change it on every scene. The camera already moves slowly during every scene, so leavestyle.cameraalone. - The top bar and the progress indicator are optional furniture. Hide them in videos of 3 minutes or less, stories, trailers, product reveals and anything cinematic: set
style.headerto[](or["brand"]when the user gave a brand) and leavestyle.progressout. Keep them for lessons, tutorials and reports of 5 minutes or more:style.headerof["title"]or["host", "title"], andstyle.progressofbarordots. Set"header": falseon scenes that should fill the whole frame (worldmap, journey, berlinmap, timetravel, motion, walkthrough, screencast, quote, statement, headline). - Pace it: open with the hook within the first seconds, never put more than two text-only scenes (bullets, cards, table, statement) in a row, and bring in a visual scene (chart, map, motion, gauge, counter, timeline, cycle ...) at least every third scene.
- Use a variety of scene kinds that fit the content (chart for numbers, gauge or counter for one headline number, timeline for history or steps, versus for two sides (pros and cons, before and after), cycle for loops, funnel for stages, pyramid for hierarchies, matrix for a 2 by 2 of options, venn for overlaps, mindmap for a concept with parts, scale for a spectrum, formula for equations, ranking for top-N lists, agenda to preview what comes, pricing for plans, testimonial or chat or team or faq for people and questions, code for programming, quiz to check understanding, bullets for plain takeaways, steps for a how-to, schedule for a day plan, calendar for dates in one month, columns for two or three groups of items, compare for plans or products against features, tags for a cloud of related words, flashcards for question and answer pairs, waffle for a share out of 100, profile for one person, social for posts and reactions, headline for a news story, storyboard for a story in panels, tree for a hierarchy or a breakdown, receipt for costs and bills, email for a message, search for search results, shortcuts for keyboard shortcuts, checklist for what to bring or check, ticket for a journey or booking, podium for the top three, scoreboard for a match result, bracket for a knockout tournament, timer for a countdown or an interval plan, rating for reviews, forecast for the weather over a few days, playlist for lessons or episodes, decision for a choice with outcomes, worldmap for countries and cities, journey for a trip or route between places, berlinmap for districts and places of Berlin, timetravel for what changed over years, motion for an animated drawing made of shapes, compose for a dashboard, an infographic, a UI mock-up, an architecture diagram or any layout of many small parts that no other scene gives, gallery for several related pictures, walkthrough for a screenshot tour of one screen, screencast for a screenshot tour through several pages of an app). Never use the same kind more than twice in a row.
- Use
screencastandwalkthroughonly when the user attached screenshots of an app, website, chart or document to guide through, and set everyscreenshotto the exact address of a picture they attached. Screenshots that follow each other in a task (a click on one opens the next) make ONEscreencast:screenshotis the first page, and each later page goes on the step that opens it (steps[].screenshot, with apagename). Every step has generousfocusrectangles (wide enough to contain the whole control or block), aclickrectangle on whatever is pressed to reach the next page, andsaynarration about what is visible. A step that enters text has aclickon the field andtypewith exactly the text to enter; a step that presses a shortcut or a key haskeys(["Ctrl", "S"]): write them only for what the screenshots or the user's details show, and say insaywhat to enter. A website needs noguide; setguide.frameto"phone"for screenshots of a mobile app (tall pictures) and to"mac"or"windows"for the window of a desktop app. A task of more than ten steps is split over severalscreencastscenes: then setguide.numberingto"continuous"so the step cards count on through the whole video. Never writeredact: the author hides what is private in the editor. A single screen, or screens that do not lead to each other, get onewalkthroughscene per picture: aleadthat says what the screen is, and onestepper highlight with afocusandsaynarration for each. - Do not use
mediascenes (they need image addresses you do not have), unless the user supplied some. The same goes forhero,hotspotsanddevice: they show the user's own picture or screenshot, so write one only when the request names the picture, with exactly its address. - For an advertisement without pictures, use
kineticfor the hook (a short question that names the viewer's problem),brandrevealfor the brand,cards,stepsorcomparefor what it offers,trustfor proof,offerfor a deal and oneendcardas the last scene. Only put intrustandofferthe ratings, badges, prices, discounts and codes the user gave, written as they gave them. - Pictures for scenes are painted and added afterwards by the app: never write an
imagefield on a scene you create, unless the request names one of the user's own pictures to show (then use exactly the address it gives). A scene you were given with animagekeeps it exactly as it is. - Only state facts you are confident about. Prefer well-known, verifiable facts; round numbers ("about 70%") rather than invent precise figures. Never fabricate quotes, statistics, studies or sources.
- Item counts: lists have 1 to 8 items. A
lineorareachart needs at least 2 points;radarneeds 3 or more;ringshas at most 5.matrixhas exactly 4 quadrants,venn2 or 3 sets,pyramid3 to 6 levels andmindmap3 to 6 branches.columnshas 2 or 3 columns of up to 5 items,compare2 to 4 columns and 2 to 6 rows (one value per column in every row; "yes", "no" and "partial" are drawn as a tick, a cross and a half mark),tags3 to 14 tags,flashcards2 to 6 cards,steps2 to 6,schedule2 to 7 rows,calendar1 to 6 events on days that exist in that month,timer2 to 6 phases of 1 to 3600 seconds,storyboard2 to 4 panels,tree2 to 4 branches of up to 3 children,receipt2 to 7 lines,email1 to 4 paragraphs and up to 3 attachments,search1 to 4 results,shortcuts2 to 6 shortcuts of 1 to 4 keys,checklist2 to 8 rows,ticket2 to 6 details,podiumexactly 3 places (listed first to third, spoken third place first),scoreboard1 to 5 moments,bracket2 or 3 rounds (2 matches then the final, or 4, 2 and the final; the winner of each match is the side that plays on in the next round),rating2 to 5 aspects scored 0 to 5,forecast2 to 5 days,playlist2 to 6 rows,decision2 or 3 answers. Table rows must have exactly as many cells as the table has columns. - Keep each
sayunder 35 words; split long ideas into several items or sentences. - Pick a
domainthat fits the topic. Add astyleonly to improve on it (e.g. atheme, a palette, a mascot, a background) and vary these between videos instead of always using the same ones. - Write everything (narration, titles, labels) in the requested language. Outside English the voice cannot read digits, so spell numbers out in words inside
saystrings (digits are fine in on-screen text such as stats and tables).
Endings
How a video ends depends on its length, unless the kind of video says otherwise:
| Length | Ending |
|---|---|
| 30 seconds | finish on the last real scene. No outro recap and no closing summary. |
| 1 minute | finish on the last real scene. No outro recap and no closing summary. |
| 3 minutes | finish on the last real scene. No outro recap and no closing summary. |
| 5 minutes | finish on the strongest scene. A short outro recap is allowed only if it truly helps the viewer keep several separate ideas; leave it out otherwise. |
| 10 minutes | finish on the strongest scene. A short outro recap is allowed only if it truly helps the viewer keep several separate ideas; leave it out otherwise. |
lesson,howto,revision,training: finish with a shortoutrorecap of the two or three points to remember.quiz,short,tips,invite,promo,demo,offer,casestudy,pitch: finish with actascene that asks the viewer to do the one thing this video is for.
Shape
What the writer is told about each shape:
| aspect | Note |
|---|---|
| 16:9 | No note: a wide shape uses the landscape layout. |
| 4:3 | No note: a wide shape uses the landscape layout. |
| 1:1 | 1:1 (square), made for a phone screen. Keep the text on the screen very short, and avoid tables, charts with many labels and long lists: one clear thing per scene. |
| 4:5 | 4:5 (tall), made for a phone screen. Keep the text on the screen very short, and avoid tables, charts with many labels and long lists: one clear thing per scene. |
| 3:4 | 3:4 (tall), made for a phone screen. Keep the text on the screen very short, and avoid tables, charts with many labels and long lists: one clear thing per scene. |
| 9:16 | 9:16 (tall), made for a phone screen. Keep the text on the screen very short, and avoid tables, charts with many labels and long lists: one clear thing per scene. |
Length
Aim for the word budget in the Timing table: the writer is asked for that many scenes and about that many spoken words, and a valid video that runs well under or over the length asked for is sent back to be adjusted. A video made from a person's own script (up to 9000 characters) says exactly those words in that order, and its length follows from the script. For a script of 18 words the writer is told: "Length: set by the script, 18 words, which the voice speaks in about 0:07 at 1x speed. Use as many scenes as it needs, a new one about every 10 to 20 seconds of narration. Do not shorten the script and do not pad it."
With the premium voice
- Voice: the narration is performed by a premium AI voice that is directed like an actor. Write it to be heard: contractions, rhythm, the occasional rhetorical question.
- Set "narration": { "lang": "en", "engine": "premium", "premium": { "style": "<a short delivery that suits the topic and tone, e.g. warm, confident, with a smile in the voice>" } } in the document.
- Give every scene a "delivery" of 2 to 6 words that says how that scene is spoken, following the story: for example "quiet and curious" for the hook, "building excitement" in the middle, "warm and certain" at the end. Change it where the story turns instead of repeating one for every scene.
- You may put a tag in a
saystring exactly where a person would react: <sigh>, <laugh>, <chuckle>, <breath>, <gasp>, <short pause>, <long pause>. Use few: about one in every three scenes, and none where the mood is flat. A tag is never shown or written in on-screen text, stays in English whatever the language, and is never the only thing in a sentence. Do not write words in capitals for emphasis.
Tips
- One idea per scene, one short sentence per idea. Sentences of ten to twenty words are easy to follow.
- Start with an
introand end on your strongest scene: a statement, a number or a picture. Add anoutrorecap only to a long lesson, and actaonly when the video asks the viewer to do something. - The top bar and the progress indicator are optional. Hide them for short, cinematic videos with
style.headerset to[], and keep them for long lessons. - Mix scene kinds: cards, a chart, a quiz and a code scene in a row feel livelier than five card scenes.
- Keep on-screen text short. The limits exist so the text always fits, even on a phone-shaped video.
- Write numbers as you want them spoken. In English, digits and symbols are read out well; in other languages write them in words.
- Let the domain pick the look first, then change only what you need in
style.
Around the document
- Editor. https://videobana.vercel.app/create has a visual editor and a JSON view: paste a document or press Import to open a
.jsonfile; the JSON view colours it, completes keys and values and underlines every problem; Export downloads the document. The preview plays at once with estimated timing; the timeline under it shows every scene, sentence and the music, with an audio track for recordings. - AI writer. The Create video button of Your Videos (and the Create page) can write a document from a topic and a kind of video (adjust length, shape, language, voice; look, audience, tone and music are optional). It can start from an idea, the user's own script (up to 9000 characters, kept word for word), notes or a public web page (the text of the page, about 3,000 words), or up to 4 pictures (10 for the kinds told from screenshots). Edit one scene with the sparkle, change or translate the whole video in plain words, or pin numbered notes on a scene's picture.
- Footage. A
clipscene uses the user's own uploaded footage (MP4, MOV or WebM, up to 60 seconds and 100 MB), prepared as a silent video with a poster; the voice and music carry the sound. Only a person adds it. - Sharing. Saved videos are private by default; a public one plays at
https://videobana.vercel.app/watch/{id}and can be embedded with the code the Share dialog gives. Private videos answer 404 to anonymous visitors (oEmbed and public media URLs too). Any public video or video JSON plays on other sites with the<video-player>web component, andbana.jsbrings narrated tours, help hotspots and a recorder into the user's own product. - Publishing. Publish gathers chapters for YouTube (it needs at least three, each at least ten seconds, starting at 0:00), post copy for YouTube, TikTok, Instagram, LinkedIn and X, and
.srt/.vttsubtitles. - From code. Send documents as
{ "spec": { … } }: one request stores the video and starts an export, then poll the job and download the file. - Running it yourself. The voice server (Supertonic,
TTS_URL, defaulthttp://localhost:30008/tts) records the standard voice-over (silent videos work without it); Google Chrome (CHROME_PATH) renders video exports; ffmpeg and ffprobe (FFMPEG,FFPROBE) encode;OPENROUTER_API_KEYandOPENROUTER_CHAT_MODELpower the AI and the premium voice;OPENROUTER_IMAGE_MODELpaints pictures;DATA_DIRmust be writable.
JSON Schema and endpoints
GET https://videobana.vercel.app/api/schema: the complete JSON Schema (draft 2020-12) of a document, generated from the same schema the engine validates with. Point an editor at it for completion and inline errors, or validate in your own pipeline. It cannot express the meaning and quality checks above, so also call the validator.POST https://videobana.vercel.app/api/validate: checks a document sent as{ "spec": { … } }and answers{ valid, errors, warnings, stats }. No sign-in, nothing stored.GET https://videobana.vercel.app/api/catalog: every scene kind (with an example), palette, font, background, mascot, animation, voice and export option the engine knows, as JSON.- JSON format, Scenes and Looks & styles are the same reference for people.
In VS Code, map the schema in .vscode/settings.json:
{
"json.schemas": [
{
"fileMatch": [
"*.video.json"
],
"url": "https://videobana.vercel.app/api/schema"
}
]
}Check a document from the command line:
curl -s -X POST https://videobana.vercel.app/api/validate \
-H "Content-Type: application/json" \
-d '{"spec":{"title":"My first video","subtitle":"Change this text and the preview updates as you type.","domain":"general","scenes":[{"kind":"intro","say":["Welcome! This is a sample intro scene."]}]}}'- Keep documents in version control as plain JSON: a video can always be made again from its document.
- Write the document, validate it, fix every error (each one names its path), then fix the warnings you can.
Related skills
- videobana: what Videobana is, and which skill fits a task.
- videobana-scenes: the fields, narration and an example of every kind of scene.
- videobana-styles: every look option and how the layers of a look combine.
- videobana-motion-graphics: the shapes and moves of a
motionscene. - videobana-compositions: the components of a
composescene. - videobana-http-api: storing, rendering and exporting documents from code.
- videobana-web-component: playing a video or a document on another site.
- videobana-live-guides:
bana.js: guided tours on a live product.