VideobanaBeta
AI skills

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 with POST https://videobana.vercel.app/api/validate; every id the engine knows is listed by GET https://videobana.vercel.app/api/catalog.

Essentials

  • A video is one JSON object. Only title and scenes are required. Everything else has a good default: the look comes from the domain (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: false on every object): a typo such as pallete is an error with a "did you mean" hint, never silently ignored.
  • version, when given, is always 1.
  • scenes is the story: 1 to 40 scenes played in order. Every scene has a kind and the narration it speaks; the narration decides when things appear, so nothing is ever timed by hand.
  • Narration (say and 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.

json
{
  "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

json
{
  "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 … followUps describe the video as a whole: the title card, the top bar and the recap.
  • style chooses colours, fonts, backgrounds, host, animations and captions. Leave a field out and the theme or the domain decides.
  • narration chooses the voice, the language and the pauses.
  • sound adds sound design made for the video (whooshes, hits, risers, an optional music bed); music puts your own track under it; audio places recordings and music on the timeline.
  • guide sets the window every screencast sits in, and whether its steps are counted per screencast or through the whole video.
  • scenes is the story, played in order.

Top-level fields

The document has these 20 top-level fields:

FieldWhat it is
version1. Spec format version. Always 1.
titleRequired. string (1–80 characters). Shown in the top bar and on the title card.
subtitlestring (1–220 characters). One-sentence summary, shown on the title card.
topicstring (1–200 characters). What the video is about. Used to pick a look when domain is not set.
domainenum. Topic area. Picks a matching default look; anything in style overrides it.
aspectenum. 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.
emojistring (1–8 characters). Shown in a bubble beside the host on the title card. Leave it out for no bubble.
kickerstring (1–48 characters). Small line above the title in the top bar, e.g. Lesson 3 · Core skills.
chipsstring[] (0–4 items, each 1–24 characters). Pills above the title on the title card.
brandobject. The brand the video is for: name, tagline and logo.
hostobject. A picture of the presenter, shown instead of the drawn mascot (in the top bar and on the title card).
thumbnailstring (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.
styleobject. 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.
narrationobject. 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.
guideobject. 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.
musicobject. Your own music track under the whole video. Its fields are listed under music below.
soundobject. 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.
audioobject[] (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.
followUpsobject[] (0–3 items). Cards beside the recap: a hands-on task, what to watch next.
scenesRequired. 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.

FieldTypeRequiredDescription
version1noSpec format version. Always 1.
titlestringyesShown in the top bar and on the title card. Limits: 1–80 characters.
subtitlestringnoOne-sentence summary, shown on the title card. Limits: 1–220 characters.
topicstringnoWhat the video is about. Used to pick a look when domain is not set. Limits: 1–200 characters.
domainenumnoTopic 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.
aspectenumnoThe 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.
emojistringnoShown in a bubble beside the host on the title card. Leave it out for no bubble. Limits: 1–8 characters.
kickerstringnoSmall line above the title in the top bar, e.g. Lesson 3 · Core skills. Limits: 1–48 characters.
chipsstring[]noPills above the title on the title card. Limits: 0–4 items, each 1–24 characters.
brandobjectno
brand.namestringnoShown in the top bar (and on the end card). Limits: 1–32 characters.
brand.taglinestringnoLimits: 1–60 characters.
brand.logostringnoAddress 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.logoPositionenumnoWhich corner the logo sits in. Default top-right. Allowed: top-right, top-left, bottom-right, bottom-left.
brand.logoPlateenumnoA 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.
hostobjectnoA picture of the presenter, shown instead of the drawn mascot (in the top bar and on the title card).
host.srcstringyesAddress of the picture of the host: a cut-out with a transparent background works best.
host.altstringnoWho or what the host is. Limits: 1–150 characters.
host.promptstringnoWhat the AI was asked to paint. Kept so the picture can be made again; it is not shown. Limits: 1–600 characters.
thumbnailstringnoThe 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.
followUpsobject[]noCards beside the recap: a hands-on task, what to watch next. Limits: 0–3 items.
followUps[].kickerstringyesLimits: 1–24 characters.
followUps[].titlestringyesLimits: 1–48 characters.
followUps[].toneenumnoAccent 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.

FieldTypeRequiredDescription
styleobjectno
style.themeenumnoA 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.paletteenumnoColour 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.brandColorstringnoBuilds a palette around this colour. Wins over palette. Limits: hex colour such as #7c3aed.
style.modeenumnodark or light. Chooses a palette of that mode when none is named. Allowed: dark, light.
style.textColorstringnoText 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]noThe two highlight colours: title gradient, spoken caption word, brand name. Limits: exactly 2 items, each hex colour such as #7c3aed.
style.cycleBackdropsbooleannotrue (default): each scene moves to the next backdrop. false: one backdrop throughout.
style.tonesenumnoAccent set for chips, bars and chart parts. Allowed: vivid, pastel, muted, mono, neon, earth, candy, ocean, retro.
style.fontsenumnoHeading 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.displayFontenumnoOverrides 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.bodyFontenumnoOverrides 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.backgroundenumnoA 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.backgroundLayersenum[]noYour 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.glyphsstring[]noSymbols or emoji for the floaters background. Limits: 1–12 items, each 1–4 characters.
style.mascotenumnoThe host character. Allowed: candle, buddy, robot, owl, cat, fox, bear, none.
style.enterenumnoHow 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.transitionenumnoHow 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.shapeenumnoCorner roundness of cards and chips. Allowed: sharp, soft, round, pill, bubble.
style.headlineenumnoHow 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.captionsenumnoCaption look. Allowed: glass, plain, highlight, outline, bar, bold, neon, sticker, underline, boxed, karaoke, cinema, comic, gradient, terminal.
style.captionPositionenumnoWhere captions sit. Allowed: bottom, top.
style.progressenumnoA 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.headerenum[]noWhich 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.cameraenumnodrift (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.gradeenumnoA 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.safeZoneenumnoFor 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.effectsenum[]noFinishing 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:

kindNameWhat it is
introTitle cardOpening card: the host waves, the emoji floats beside it, then the title, chips and summary from the top of the spec.
sectionChapter breakA big chapter marker with a number, a title and a subtitle.
statementBig statementOne short sentence in very large type, optionally with an emoji.
cardsCardsConcept cards that appear one by one.
tableTableA comparison table; two columns get a head-to-head look.
exampleWorked exampleA calculation or walk-through: numbered lines, each with an optional highlighted result on the right.
statBig numbersLarge number tiles with a label underneath.
chartChartAn animated chart that fills in as the narrator goes through the data.
rankingRankingA numbered top list that reveals from the top: number one first, then each place below it as it is named.
versusTwo sidesTwo columns with a title each (pros and cons, before and after, myth and fact).
featureFeatureA large emoji card on one side and bullet points on the other.
timelineTimelineEvents along a line, each with a date or label.
cycleCycleSteps arranged in a circle with arrows between them, and an optional centre label.
funnelFunnelStages that get narrower from top to bottom, each with an optional number.
quoteQuoteA large pull quote with the author below.
calloutCalloutA single tip, warning or fact on a coloured card.
mediaPictureA full-frame picture with a slow camera move and captions that change as the narrator speaks.
clipVideo clipYour 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.
galleryPicture gallerySeveral pictures that move, for travel, products, people, places or moods.
walkthroughWalkthroughA 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.
screencastScreencastA 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.
motionMotion graphicA 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.
composeCompositionA 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).
worldmapWorld mapA 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.
journeyJourneyA 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.
berlinmapBerlin mapA 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.
timetravelTime travelA 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.
codeCodeA code editor window whose lines appear one by one, the current line highlighted.
quizQuizA multiple-choice question.
termDefinitionA dictionary-style card: the term, its pronunciation and type, the definition, and an example sentence, revealed in that order.
agendaAgendaA numbered "what we will cover" list with big numerals and thin dividers.
matrix2×2 matrixA four-quadrant grid with a labelled horizontal and vertical axis (priority matrix, SWOT, effort versus impact).
pyramidPyramidA stacked pyramid of levels with a title and text beside each (a hierarchy of needs, a food pyramid, layers of a model).
vennVenn diagramTwo or three overlapping circles with a label each, and an optional label for where they all overlap.
mindmapMind mapA central topic with branches radiating out, each joined to the centre by a line.
scaleScaleA coloured spectrum bar with labelled markers placed along it (the pH scale, a temperature range, a risk level).
gaugeGaugesOne to three speedometer-style dials whose needle swings to a value from 0 to 100.
counterRolling countersOne to three big numbers that roll up like an odometer to their value.
formulaFormulaAn equation built from labelled blocks: result = term + term × term.
pricingPricing plansTwo to four plan cards side by side with a name, a price and a few features.
testimonialTestimonialsOne to three review cards with a star rating, a quote and the person who said it.
chatChatA messaging conversation: bubbles appear one by one, from the left or the right.
teamPeopleTwo to six people as avatar cards with a name, a role and an optional line.
faqQuestions and answersTwo to five questions, each with its answer written beneath it.
bulletsBullet pointsA plain list of key points that appear one at a time, each with an optional emoji.
stepsStep by stepTwo to six numbered steps down a vertical rail that fills as the narrator moves on.
scheduleScheduleA timetable: two to seven rows, each with a time on the left and a title, a short line and an emoji.
calendarCalendarOne month as a calendar grid with up to six marked days and their labels.
timerTimerA 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.
columnsColumnsTwo or three titled columns, each with a short list.
compareComparison gridTwo to four options side by side, compared feature by feature.
tagsTag cloudA cloud of short keywords in different sizes (weight 1 to 3).
flashcardsFlashcardsTwo to six cards that show a question and then flip over to reveal the answer.
waffleWaffle chartA 10 by 10 grid of dots where a share of them lights up, so "27%" can be seen as 27 out of 100.
profileProfileThe 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.
socialSocial postsOne to three social media style posts with an avatar, a name and handle, the text and the counts of likes, comments and shares.
headlineNews headlineA 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.
storyboardStoryboardTwo to four comic-strip panels: a big emoji scene, a caption and an optional speech bubble.
treeTree diagramA hierarchy: one root on top, two to four branches below it, and up to three short items under each branch.
receiptReceiptAn 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.
checklistChecklistA 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.
shortcutsKeyboard shortcutsTwo to six keyboard shortcuts: each shows its keys as key caps (one to four, such as Ctrl and C) and what the shortcut does.
emailEmailAn email message on screen: the sender, the recipient, a subject and one to four paragraphs, with optional attachment chips.
searchSearch resultsA web search page: a query in the search bar and one to four results, each with a title, a site address and a snippet.
ticketTicketA 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.
podiumPodiumA 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.
scoreboardScoreboardA 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.
bracketBracketA 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.
ratingRatingA 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.
forecastForecastA 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.
playlistPlaylistA playlist or course outline: two to six rows with a play button, a title and a length.
decisionDecisionA decision path: a question at the top that stays visible, and two or three answers below it, each with an arrow to an outcome.
heroProduct heroThe 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.
hotspotsFeature hotspotsA product picture with pulsing pins on the parts that matter.
deviceDevice mockupA screenshot shown on a phone, tablet, laptop or browser window that tilts into place, with feature chips that pop up beside it.
offerOfferThe 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.
kineticKinetic textBig words that pop in one by one, then give way to the next line.
montageBeat montageFast 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.
trustSocial proofWhy people believe it: a star rating with the number of reviews, then up to four trust badges (Free returns, Award winner, Secure payment).
brandrevealBrand revealA short sting: the logo (from brand.logo, or the brand name as a wordmark) arrives with a flourish and the tagline settles under it.
showcaseShowcaseSeveral 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.
specsSpec sheetThe 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.
menuMenuA 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).
eventEventAn invitation card: a big calendar date, the title, the time and the place, the host and up to three perks (Free entry).
reviewsReview wallA wall of customer reviews in drifting columns, each card with the quote, the name and its stars, the one being read lit up.
orbitOrbitYour 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.
appuiApp windowAn 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.
cascadeCascade of cardsCards 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.
notifyNotificationsNotifications 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.
constellationConstellationA promise in the middle and the tools around it: four to fourteen symbols or logos circle it on rings, popping in one by one.
circuitCircuit mapA hub in the middle and pill nodes around it on orthogonal circuit traces, or a radial node-cluster tree.
editorCode editorA 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.
lockupLogo headlineOne headline with logos set into it like words: Works with [logo] [logo] [logo] and more.
tilesFloating tilesIcons, logos or photo cards that drift in and float around a short promise (or, without words, hang as a collage).
answersSearch and AI answersOne 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.
dashboardDashboardAn 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.
plannerContent plannerA 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.
pageWeb pageA 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.
insightsResult cardsTwo 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).
marqueeScrolling pillsTwo 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.
endcardEnd cardThe 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.
ctaCall to actionA closing card with a headline, a button and a handle or link.
outroRecapThe 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:

FieldTypeRequiredDescription
deliverystringnoPremium 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.
holdnumbernoExtra 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.
transitionenumnoOverrides 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.
enterenumnoOverrides 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.
imageobjectnoA picture behind or beside this scene.
image.srcstringyesAddress of the picture: one made or uploaded in the editor (/api/assets/<id>), or an http(s) link.
image.altstringnoWhat the picture shows. Limits: 1–150 characters.
image.modeenumnobackdrop (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.sideenumnoWhich side a cutout or card sits on. Default right. Ignored for a backdrop. Allowed: left, right.
image.motionenumnoHow 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.promptstringnoWhat the AI was asked to paint. Kept so the picture can be made again; it is not shown. Limits: 1–600 characters.
headerbooleannofalse 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.
progressbooleannofalse 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.

json
{
  "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."
}
PassageThe narrator saysOn screen meanwhile
1Every cup of coffee goes through four steps.The heading only
2First, coffee cherries ripen on the tree.The heading and the first item
3Then roasting turns the green beans brown and brings out the flavour.The heading and the first 2 items
4Grinding breaks the beans into small pieces so water can reach the flavour.The heading and the first 3 items
5Finally, hot water carries that flavour into your cup.The heading and the first 4 items
6Change 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.

FieldTypeRequiredDescription
narrationobjectno
narration.engineenumnostandard (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.premiumobjectnoThe premium voice: which of the 30 voices, how it delivers the video, accent and pace. Only used when engine is premium.
narration.premium.voiceenumnoOne 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.stylestringnoHow 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.accentstringnoA 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.paceenumnoHow quickly the voice speaks. Default natural. Allowed: slow, natural, brisk.
narration.voiceenumnoStandard voice id. M1-M5 male, F1-F5 female. Default F2. Allowed: M1, M2, M3, M4, M5, F1, F2, F3, F4, F5.
narration.speednumbernoStandard voice: 1 = normal speech. Default 0.95. Limits: 0.5–2.
narration.qualityenumnoStandard voice: more synthesis steps sound better and take longer. Default medium. Allowed: low, medium, high.
narration.langenumnoLanguage 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.silentbooleannotrue skips the voice entirely: timing is estimated from the text length and captions carry the video.
narration.voiceoverobjectnoYour own recording instead of the generated voice. The captions and the scenes follow it. Ignored when silent is true.
narration.voiceover.srcstringyesAddress of the uploaded audio (/api/assets/<id>). Upload it in the editor, or with POST /api/assets.
narration.voiceover.durationnumberyesLength of the audio in seconds. The scenes are spread over it in proportion to what they say. Limits: 0.5–3600.
narration.voiceover.namestringnoThe name of the file, shown in the editor. Limits: 1–120 characters.
narration.pausesobjectno
narration.pauses.sentencenumbernoSeconds of silence after each sentence. Limits: 0–10.
narration.pauses.sectionnumbernoSeconds of silence between scenes. Limits: 0–10.
narration.pauses.leadInnumbernoSeconds of silence before the first word. Limits: 0–10.
narration.pauses.tailnumbernoSeconds of silence after the last word. Limits: 0–10.
narration.pronunciationsmap<string, string>noRespellings for words the voice mispronounces, e.g. { "Kubernetes": "koo-ber-NET-eez" }. Captions keep the original spelling.
narration.foreignmap<string, string[]>noNames, 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."

voiceNameSample
M1Male voice 1https://videobana.vercel.app/voices/m1.mp3
M2Male voice 2https://videobana.vercel.app/voices/m2.mp3
M3Male voice 3https://videobana.vercel.app/voices/m3.mp3
M4Male voice 4https://videobana.vercel.app/voices/m4.mp3
M5Male voice 5https://videobana.vercel.app/voices/m5.mp3
F1Female voice 1https://videobana.vercel.app/voices/f1.mp3
F2Female voice 2 (default)https://videobana.vercel.app/voices/f2.mp3
F3Female voice 3https://videobana.vercel.app/voices/f3.mp3
F4Female voice 4https://videobana.vercel.app/voices/f4.mp3
F5Female voice 5https://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.voiceCharacterVoiceSample
ZephyrBrightfemalehttps://videobana.vercel.app/premium-voices/zephyr.mp3
PuckUpbeatmalehttps://videobana.vercel.app/premium-voices/puck.mp3
CharonInformativemalehttps://videobana.vercel.app/premium-voices/charon.mp3
KoreFirmfemale (default)https://videobana.vercel.app/premium-voices/kore.mp3
FenrirExcitablemalehttps://videobana.vercel.app/premium-voices/fenrir.mp3
LedaYouthfulfemalehttps://videobana.vercel.app/premium-voices/leda.mp3
OrusFirmmalehttps://videobana.vercel.app/premium-voices/orus.mp3
AoedeBreezyfemalehttps://videobana.vercel.app/premium-voices/aoede.mp3
CallirrhoeEasy-goingfemalehttps://videobana.vercel.app/premium-voices/callirrhoe.mp3
AutonoeBrightfemalehttps://videobana.vercel.app/premium-voices/autonoe.mp3
EnceladusBreathymalehttps://videobana.vercel.app/premium-voices/enceladus.mp3
IapetusClearmalehttps://videobana.vercel.app/premium-voices/iapetus.mp3
UmbrielEasy-goingmalehttps://videobana.vercel.app/premium-voices/umbriel.mp3
AlgiebaSmoothmalehttps://videobana.vercel.app/premium-voices/algieba.mp3
DespinaSmoothfemalehttps://videobana.vercel.app/premium-voices/despina.mp3
ErinomeClearfemalehttps://videobana.vercel.app/premium-voices/erinome.mp3
AlgenibGravellymalehttps://videobana.vercel.app/premium-voices/algenib.mp3
RasalgethiInformativemalehttps://videobana.vercel.app/premium-voices/rasalgethi.mp3
LaomedeiaUpbeatfemalehttps://videobana.vercel.app/premium-voices/laomedeia.mp3
AchernarSoftfemalehttps://videobana.vercel.app/premium-voices/achernar.mp3
AlnilamFirmmalehttps://videobana.vercel.app/premium-voices/alnilam.mp3
SchedarEvenmalehttps://videobana.vercel.app/premium-voices/schedar.mp3
GacruxMaturefemalehttps://videobana.vercel.app/premium-voices/gacrux.mp3
PulcherrimaForwardfemalehttps://videobana.vercel.app/premium-voices/pulcherrima.mp3
AchirdFriendlymalehttps://videobana.vercel.app/premium-voices/achird.mp3
ZubenelgenubiCasualmalehttps://videobana.vercel.app/premium-voices/zubenelgenubi.mp3
VindemiatrixGentlefemalehttps://videobana.vercel.app/premium-voices/vindemiatrix.mp3
SadachbiaLivelymalehttps://videobana.vercel.app/premium-voices/sadachbia.mp3
SadaltagerKnowledgeablemalehttps://videobana.vercel.app/premium-voices/sadaltager.mp3
SulafatWarmfemalehttps://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):
DeliveryName`premium.style` text
warmWarm and friendlywarm, friendly and inviting
confidentConfident and polishedconfident, polished and professional
energeticEnergetic and upbeatupbeat, energetic and enthusiastic, with a smile in the voice
calmCalm and reassuringcalm, soft and reassuring
cinematicCinematic and dramaticdeep, dramatic and cinematic, building slowly
playfulPlayful and wittyplayful, witty and a little cheeky
documentaryDocumentary narratormeasured, authoritative documentary narrator
luxurySmooth and luxurioussmooth, understated and luxurious
teacherPatient teacherpatient, clear and encouraging, like a good teacher
kidsStoryteller for kidswarm, 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.pace is slow, natural, brisk (default natural). 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's style, then the scene's delivery. With the standard voice a delivery is 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_KEY for 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.

langLanguageStandard voicePremium voiceRight to leftPlayer labels
enEnglishyesyesyes
koKoreanyesyesEnglish
jaJapaneseyesyesEnglish
arArabicyesyesyesyes
bgBulgarianyesyesEnglish
csCzechyesyesEnglish
daDanishyesyesEnglish
deGermanyesyesyes
elGreekyesyesEnglish
esSpanishyesyesyes
etEstonianyesyesEnglish
fiFinnishyesyesEnglish
frFrenchyesyesyes
hiHindiyesyesEnglish
hrCroatianyesyesEnglish
huHungarianyesyesEnglish
idIndonesianyesyesEnglish
itItalianyesyesyes
ltLithuanianyesyesEnglish
lvLatvianyesyesEnglish
nlDutchyesyesEnglish
plPolishyesyesEnglish
ptPortugueseyesyesyes
roRomanianyesyesEnglish
ruRussianyesyesEnglish
skSlovakyesyesEnglish
slSlovenianyesyesEnglish
svSwedishyesyesEnglish
trTurkishyesyesEnglish
ukUkrainianyesyesEnglish
viVietnameseyesyesEnglish
zhChineseno (silent with captions, unless premium or your own recording)yesEnglish
thThaino (silent with captions, unless premium or your own recording)yesEnglish
heHebrewno (silent with captions, unless premium or your own recording)yesyesEnglish
msMalayno (silent with captions, unless premium or your own recording)yesEnglish
noNorwegianno (silent with captions, unless premium or your own recording)yesEnglish
urUrduno (silent with captions, unless premium or your own recording)yesyesyes
psPashtono (silent with captions, unless premium or your own recording)yesyesyes
naDecided from the textyesyesEnglish

No voice, or your own

  • "silent": true makes 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).
  • voiceover uses your own recording instead of the generated voice: src is an uploaded file (/api/assets/<id>, upload in the editor or with POST /api/assets), duration its 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. silent wins over voiceover.
  • 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

  • pauses are seconds of silence, each 0 to 10: sentence after every sentence (default 0.7), section between the last sentence of a scene and the first of the next, replacing the sentence pause there (default 1.6), leadIn before the first word (default 0.6) and tail after 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 textWhat the voice says
$4.2B in revenuefour point two billion dollars in revenue
15% of 1,250 usersfifteen percent of one thousand two hundred fifty users
At 9:30am on the 3rdAt nine thirty a m on the third
Back in 1969Back in nineteen sixty-nine
The 1990sThe nineteen nineties
NASA, the FBI and a CEONASA, the F B I and a C E O
3x faster, 24/7three times faster, twenty-four seven
5 km at 12 km/hfive kilometers at twelve kilometers per hour
#1 in 2024number one in twenty twenty-four
€12.50 eachtwelve 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:

  1. 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 (natural counts as speed 0.6).
  2. The narration starts after pauses.leadIn. Each sentence is followed by pauses.sentence; the last one of a scene by pauses.section instead.
  3. 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.
  4. The scene that leaves stays on screen for 0.7 seconds after the next one starts, so the two overlap during the transition.
  5. 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: a clip lasts at least as long as its footage plays.
  6. After the last word comes pauses.tail. That is the end of the video.
  7. 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):

LengthScenesWords at speed 1Words at speed 0.95 (default)Words, premium `natural`
30 seconds (30s)4 to 5716843
1 minute (1m)6 to 814313686
3 minutes (3m)10 to 14428407257
5 minutes (5m)16 to 22714678428
10 minutes (10m)28 to 3814281357857

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).

WriteBecomesLooks 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.

aspectNameLayoutPixels at 1080p
16:9Landscape (default)landscape1920×1080
4:3Classiclandscape1440×1080
1:1Squarephone1080×1080
4:5Portraitphone1080×1350
3:4Tallphone1080×1440
9:16Verticalphone1080×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.

aspect360p480p720p1080p1440p2160p
16:9640×360854×4801280×7201920×10802560×14403840×2160
4:3480×360640×480960×7201440×10801920×14402880×2160
1:1360×360480×480720×7201080×10801440×14402160×2160
4:5360×450480×600720×9001080×13501440×18002160×2700
3:4360×480480×640720×9601080×14401440×19202160×2880
9:16360×640480×854720×12801080×19201440×25602160×3840

Export formats

The server draws every frame in a headless browser and encodes it, so the file looks exactly like the preview.

formatWhat you getMixes in music
mp4MP4 video. H.264 + AAC. Plays everywhere: social media, phones, slides.yes
webmWebM video. VP9 + Opus. Smaller files, ideal for the web.yes
movMOV video. H.264 + AAC in a QuickTime container, for Final Cut and iMovie.yes
gifAnimated GIF. Silent loop, limited to 480p and 15 fps.no
mp3MP3 audio. Just the narration, for podcasts.yes
pngPNG still. One frame, for thumbnails (set at).no
srtSRT subtitles. Captions timed to the narration.no
vttWebVTT subtitles. Captions for HTML5 video players.no
jsonSpec 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.

FieldTypeRequiredDescription
formatenumnoWhat to produce. Allowed: mp4, webm, mov, gif, mp3, png, srt, vtt, json.
aspectenumnoShape 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.
resolutionenumnoPixels of the shorter side: 1080p is 1920×1080 for 16:9 and 1080×1920 for 9:16. Allowed: 360p, 480p, 720p, 1080p, 1440p, 2160p.
fpsintegernoFrames per second. Limits: 10–60.
qualityenumnoEncoder quality. draft is fastest. Allowed: draft, standard, high.
captionsbooleannoDraw the captions into the picture. Default true.
atnumbernoFor png: the moment (seconds) to capture. Default: the title card.
settleintegernoFor 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.
musicobjectnoMix background music under the narration (mp4, webm, mov and mp3).
music.srcstringyesAddress 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.volumenumbernoLoudness of the music, 0 to 1, where the narration is 1. Default 0.18. Limits: 0–1.
music.duckbooleannoLower the music further while the narrator speaks. Default true.
callbackUrlstringnoWhen 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.
previewSecondsnumbernoRender only the first N seconds, to check settings quickly. Limits: 1–3600.
drawInenumnoWhere 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.
PresetSettings
YouTube16:9 · 1080p · MP4
Shorts / Reels / TikTok9:16 · 1080p · MP4
Instagram post1:1 · 1080p · MP4
Web embed16:9 · 720p · WebM
Quick draft16:9 · 480p · first 15 s
Thumbnail16: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:

KindForShapeLengthEnds onSets in `style`Music
explainerExplainer: Make a topic click. Made for YouTube, websites, courses.16:9 landscape3 minutesits last scenecalm
lessonLesson: Teach it so it sticks. Made for Classrooms, courses, training.16:9 landscape5 minutesrecap{"header":["host","title"],"progress":"bar"}calm
howtoHow-to: Step by step. Made for Tutorials, recipes, DIY, help centres.16:9 landscape3 minutesrecap{"header":["title"],"progress":"dots"}uplifting
revisionRevision: Remember it for the exam. Made for Students, study groups, exam preparation.16:9 landscape3 minutesrecap{"header":["title"],"progress":"dots"}chill
quizQuiz: Test what they know. Made for Classrooms, social posts, team events.16:9 landscape3 minutescta{"progress":"dots"}playful
pageguidePage guide: Tour your screens, click by click. Made for Help centres, onboarding, product tours.16:9 landscape3 minutesits last scene{"header":[]}uplifting
shortShort: Vertical and fast. Made for TikTok, Reels, YouTube Shorts.9:16 vertical30 secondscta{"header":[],"captions":"highlight"}energetic
tipsQuick tips: 5 ways to…, 3 mistakes…. Made for TikTok, Reels, Shorts, LinkedIn.9:16 vertical1 minutecta{"header":[],"captions":"highlight"}energetic
storyStory: Tell it like a documentary. Made for YouTube, history, biography, bedtime.16:9 landscape3 minutesits last scene{"header":[]}cinematic
travelTravel guide: Plan a trip, show a place. Made for YouTube, Instagram, friends and family.16:9 landscape3 minutesits last scene{"header":[]}uplifting
inviteInvitation: Parties, weddings, events. Made for WhatsApp, Instagram stories, group chats.9:16 vertical30 secondscta{"header":[]}uplifting
memoriesMemories: A tribute, a year in review. Made for Family, anniversaries, farewells.16:9 landscape1 minuteits last scene{"header":[]}cinematic
promoPromo: Sell an idea or product. Made for Websites, ads, social feeds.16:9 landscape1 minutecta{"header":["brand"]}corporate
demoProduct demo: Show your app or site in action. Made for Websites, sales emails, help centres, social feeds.16:9 landscape1 minutecta{"header":["brand"]}corporate
offerOffer: A sale, an opening, news from the shop. Made for WhatsApp status, Instagram, Facebook, shop screens.9:16 vertical30 secondscta{"header":["brand"],"captions":"highlight"}energetic
reviewReview: Compare it, rate it, decide. Made for YouTube, blogs, social feeds.16:9 landscape3 minutesits last scene{"header":["title"]}chill
casestudyCustomer story: Problem, solution, result. Made for Websites, sales decks, LinkedIn.16:9 landscape1 minutecta{"header":["brand"]}corporate
productadProduct ad: Unveil it, show why, sell it. Made for Websites, YouTube, feeds, store pages.16:9 landscape30 secondsits last scene{"header":[]}cinematic
socialadSocial ad: Vertical, fast, made to stop the scroll. Made for TikTok, Reels, YouTube Shorts, Stories.9:16 vertical30 secondsits last scene{"header":[],"captions":"highlight","safeZone":"all"}energetic
appadApp or software ad: Show the screens, the features, the price. Made for Websites, product pages, LinkedIn, app stores.16:9 landscape1 minuteits last scene{"header":[]}corporate
localadLocal business ad: Be the one they call. Made for Facebook, Instagram, Google, WhatsApp, shop screens.16:9 landscape1 minuteits last scene{"header":[]}uplifting
eventadEvent ad: Save the date, fill the room. Made for Instagram, Facebook, WhatsApp, screens at the venue.9:16 vertical30 secondsits last scene{"header":[],"captions":"highlight","safeZone":"all"}energetic
trainingTraining: Onboarding, policies, safety. Made for Intranets, onboarding, compliance.16:9 landscape5 minutesrecap{"header":["title"],"progress":"bar"}corporate
updateUpdate: What's new, in order. Made for Team updates, news, newsletters.16:9 landscape3 minutesits last scene{"header":["title","brand"]}tense
pitchPitch: Win over a room. Made for Meetings, investors, proposals.16:9 landscape3 minutescta{"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.

FieldTypeRequiredDescription
imageobjectnoA picture behind or beside this scene.
image.srcstringyesAddress of the picture: one made or uploaded in the editor (/api/assets/<id>), or an http(s) link.
image.altstringnoWhat the picture shows. Limits: 1–150 characters.
image.modeenumnobackdrop (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.sideenumnoWhich side a cutout or card sits on. Default right. Ignored for a backdrop. Allowed: left, right.
image.motionenumnoHow 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.promptstringnoWhat the AI was asked to paint. Kept so the picture can be made again; it is not shown. Limits: 1–600 characters.
modeWhat it doesmotionWithout `motion`
backdropFills the frame behind the scene, softened and darkened so the text stays easy to read. The default.zoom-in, zoom-out, pan, stillzoom-in and zoom-out, alternating from scene to scene
cutoutA picture with a transparent background that floats beside the content, on the side you choose (right by default).float, sway, spin, turn, pulse, bounce, stillfloat
cardA framed photo, slightly tilted, beside the content, on the same side. It works with any picture.float, sway, spin, turn, pulse, bounce, stillfloat

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.

json
{
  "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.logo and the pictures of picture scenes) must match ^(https?:\/\/|data:image\/|\/) (case-insensitive): an http(s) link, a data: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.
  • thumbnail is 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 an http(s) link, never an inline data: 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 by clip.

Pictures with the AI

  • POST /api/images paints 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".
  • chips are up to 4 pills (each up to 24 characters) above the title on the title card. emoji floats in a bubble beside the host on the title card; leave it out for no bubble.
  • topic says what the video is about; it is not shown. With title it is used to guess the domain (and so the look) when domain is not set; when nothing clearly matches, the neutral general look is used.
  • followUps are up to 3 cards beside the recap of an outro scene (a hands-on task, what to watch next): kicker (up to 24), title (up to 48) and an optional tone.
  • The top bar (host, title, kicker, brand name) shows on every scene except the title card, and the progress indicator is off unless style.progress is set; both are covered in the styles skill, and a scene can hide or show either one with header and progress.

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 a brandreveal scene shows under the logo when the scene gives none of its own.
  • brand.logo is a picture address (PNG, SVG or JPEG) shown in a corner of every scene; brand.logoPosition picks the corner, and brand.logoPlate puts a rounded plate behind it (light for a dark logo, dark for 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.captions and their place style.captionPosition (styles skill). Exports burn them in unless the export sets captions: 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).

FieldTypeRequiredDescription
guideobjectnoFor a guide made of screenshots: what its screencast scenes share, the window the screenshots are shown in and how their steps are counted.
guide.frameenumnoThe 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.numberingenumnoHow 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. phone is a tall screen for a mobile app; mac or windows the window of a desktop app; none for screenshots that already have a frame. A screencast can choose its own.
  • numbering: scene, continuous. scene starts at 1 in each screencast; continuous counts on through the whole video, so a long guide split over several screencasts reads "11 / 23", not "1 / 5" again.
  • A screencast holds up to 10 steps, so a longer task is split over several screencasts (then set numbering to continuous). A walkthrough has 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.

FieldTypeRequiredDescription
musicobjectno
music.srcstringyesAddress 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.namestringnoThe name of the file, shown in the editor. Limits: 1–120 characters.
music.volumenumbernoLoudness of the music, 0 to 1, where the narration is 1. Default 0.18. Limits: 0–1.
music.duckbooleannoLower 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.

FieldTypeRequiredDescription
soundobjectnoSound 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.effectsenumnoHow 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.bedenumnoA 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.bedVolumenumbernoHow loud the bed is under the narrator, 0 to 1. Default 0.4. Limits: 0–1.
sound.effectsVolumenumbernoHow loud the sound effects are, 0 to 1, where the narrator is 1. Default 0.6. Limits: 0–1.
sound.effectsWhat you hear
offOff. No sound effects.
softSoft. Gentle swooshes on the cuts and small pops for text. Calm and unobtrusive.
punchyPunchy. Whooshes, hits on hard cuts, risers into the reveal and a sparkle on the offer. The default for ads.
cinematicCinematic. Long whooshes, deep impacts and big risers in a roomy space, with hardly any small sounds. Launches and trailers.
sound.bedWhat it is
ambientAmbient. Slow, airy pads and a few soft bells. Beauty, wellness, luxury and anything that should feel calm. 72 to 96 beats a minute.
pulsePulse. A steady modern beat with a plucked line. Tech, apps, lifestyle and most products. 98 to 118 beats a minute.
driveDrive. Four-on-the-floor and a rolling bass. Sales, sport, streetwear, events and launches that should feel big. 118 to 132 beats a minute.
offNo 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).

FieldTypeRequiredDescription
audioobject[]noRecordings 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[].kindenumyesvoice: a recording, as loud as the narrator. music: lowered under the narrator. Allowed: voice, music.
audio[].srcstringyesAddress of the uploaded audio (/api/assets/<id>).
audio[].namestringnoThe name of the file, shown in the editor. Limits: 1–120 characters.
audio[].durationnumberyesLength of the whole file in seconds. Limits: 0.2–3600.
audio[].startnumberyesWhere the clip begins, in seconds from the start of the video. Limits: 0–3600.
audio[].offsetnumbernoSeconds cut from the beginning of the file. Default 0. Limits: 0–3600.
audio[].lengthnumberyesSeconds 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.

LimitValue
Characters of the video title (and of a section title)80
Characters of a scene heading60
Characters of the video subtitle220
Characters of the kicker in the top bar48
Characters of one chip, and of the kicker of a follow-up card24
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 cell48
Characters of one narration line (say, lead, outro)500
Characters of a big number such as +27%14
Scenes in one video40
Items (cards, steps, rows…) in one scene, unless the kind says otherwise8
Characters of one line of a code scene64
Lines of a code scene12
Chips on the title card4
Bullets in the recap of an outro6
Characters of brand.name32
Characters of brand.tagline60

Other limits of the envelope:

LimitValue
Seconds a scene may hold after its narration60
Characters of a scene delivery (premium voice)120
Characters of narration.premium.style160
Characters of narration.premium.accent40
Entries in narration.pronunciations50
Phrases in narration.foreign, all languages together200
Seconds of any one pause10
Seconds of narration.voiceover0.5 to 3600
Clips in audio24
Characters of a picture prompt600
Words in one narrated sentence before the validator warns45

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.

  1. Structure: right fields, right types, within the limits. When there is any structure error, the other two steps do not run (warnings is empty and stats is null), so fix these first.
  2. 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.
  3. 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

json
{
  "title": "Demo",
  "subtitel": "A typo in a field name",
  "style": {
    "palette": "oceann"
  },
  "scenes": [
    {
      "kind": "intro",
      "say": [
        "Hello there."
      ]
    },
    {
      "kind": "fireworks"
    }
  ]
}

The validator answers:

json
{
  "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

json
{
  "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."
    }
  ]
}
json
{
  "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:

WhereLevelMessageFix
A value that is not one of the allowed oneserror"<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 existerrorUnknown scene kind "<kind>".Hint: the closest kinds, then the allowed ones.
A component of a compose scene without a valid typeerrorA component needs a `type`. or Unknown component type "<type>".Hint: the closest types, then the allowed ones.
A field that does not exist thereerrorUnknown 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 missingerrorRequired field is missing.
A value of the wrong typeerrorExpected <type>, got <type>.
Text that is empty, too long or too shorterrorText 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 itemserrorHas <n> items, at most <max> allowed. or Has <n> items, at least <min> allowed.
A number out of rangeerrorexpected number to be <=<max> or expected number to be >=<min>
A bad address or colourerrorUse 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 kinderror`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:

WhereLevelMessageFix
table, at rows[i].cellserrorHas <n> cells but the table has <m> columns.Every row needs one cell per column (use "" for an empty one).
chart with chart: donuterrorA donut needs at least one value above zero.
chart with chart: line or areaerrorA line chart needs at least 2 points. or An area chart needs at least 2 points.
chart with chart: radarerrorA radar chart needs at least 3 items, one per axis.
chart with chart: ringserrorRings fit at most 5 items, got <n>. or Ring values are percentages (0 to 100), got <v>.
compareerrorHas <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.
quizerrorAnswer <n> does not exist: there are <m> options (counting from 0).
quizwarningTwo options are identical. Compared without case.
termerrorHas <n> lines but only <m> things to reveal. 2 things without an example, 3 with one.Add an example or remove the last line.
calendarerrorDay <d> does not exist: that month has <n> days.
calendarwarningTwo events fall on the same day; only one label can be shown there.
cards with layout: flowwarningA flow of <n> steps is cramped; use at most 6.
versuswarningNo point belongs to the left side. or No point belongs to the right side.
worldmap, journey, berlinmap, at the placeerrorThe 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).
journeywarningThe 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.
timetravelwarningSame year as the event before (<year>), so the counter does not travel.Give each event its own year, or merge the two.
screencastwarningThe 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]errorThis 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, composeerror or warningThe 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.brandColorwarningBoth `palette` and `brandColor` are set; `brandColor` wins and the palette is ignored.Keep one of them.
narration.voiceoverwarningThe video is silent, so the recording is not used.Remove narration.silent, or remove the recording.
narration.voiceoverwarningThe 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.langwarningThere 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].deliverywarningThe standard voice cannot be directed, so this delivery is ignored.Set narration.engine to "premium" to use it.
scenes[i]warningThe tag <name> is not one the voice performs, so it is dropped.Use a tag from the list under Premium voice.
scenes[i]errorA narration passage has only tags and no words.Write the words the voice should say; a tag goes next to them.

Quality warnings

WhereLevelMessageFix
scenes[0]warningThe 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.
sceneswarningThere is more than one title card. or There is more than one recap. More than one intro, or more than one outro.
scenes[i]warning3 "<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.
sceneswarningThe video is only about <n> seconds long. Under 15 seconds.
sceneswarningThe video is about <n> minutes long; exporting it will take a while. Over 10 minutes.
audio[i].startwarningThis 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]warningA sentence is <n> words long (over 45): "<start of the sentence>...".Split it into shorter sentences; they are easier to follow.
scenes[i]warningNarration contains markup or emoji, which the captions will show: "<start of the sentence>". Markup is **, ==, a backtick or __.Keep narration plain text.
scenes[i]warningDigits 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.textColorwarningThis colour is hard to read on the backdrops and was replaced.Pick a colour with more contrast, or leave it out.
style.accentwarningAn 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 say string 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 backticks for code.

Craft

  • Open with an intro scene (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: no outro scene unless the instructions allow it, and a cta only 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.transition that fits the mood (fade, rise, blur or a push for calm and serious topics; zoom-in, whip, blur-zoom, bounce or flash for energetic ones) and use a different one on a few scenes where the story turns (set transition on that scene, ideally a section or the scene after it). Do not change it on every scene. The camera already moves slowly during every scene, so leave style.camera alone.
  • 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.header to [] (or ["brand"] when the user gave a brand) and leave style.progress out. Keep them for lessons, tutorials and reports of 5 minutes or more: style.header of ["title"] or ["host", "title"], and style.progress of bar or dots. Set "header": false on 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 screencast and walkthrough only when the user attached screenshots of an app, website, chart or document to guide through, and set every screenshot to the exact address of a picture they attached. Screenshots that follow each other in a task (a click on one opens the next) make ONE screencast: screenshot is the first page, and each later page goes on the step that opens it (steps[].screenshot, with a page name). Every step has generous focus rectangles (wide enough to contain the whole control or block), a click rectangle on whatever is pressed to reach the next page, and say narration about what is visible. A step that enters text has a click on the field and type with exactly the text to enter; a step that presses a shortcut or a key has keys (["Ctrl", "S"]): write them only for what the screenshots or the user's details show, and say in say what to enter. A website needs no guide; set guide.frame to "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 several screencast scenes: then set guide.numbering to "continuous" so the step cards count on through the whole video. Never write redact: the author hides what is private in the editor. A single screen, or screens that do not lead to each other, get one walkthrough scene per picture: a lead that says what the screen is, and one step per highlight with a focus and say narration for each.
  • Do not use media scenes (they need image addresses you do not have), unless the user supplied some. The same goes for hero, hotspots and device: 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 kinetic for the hook (a short question that names the viewer's problem), brandreveal for the brand, cards, steps or compare for what it offers, trust for proof, offer for a deal and one endcard as the last scene. Only put in trust and offer the 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 image field 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 an image keeps 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 line or area chart needs at least 2 points; radar needs 3 or more; rings has at most 5. matrix has exactly 4 quadrants, venn 2 or 3 sets, pyramid 3 to 6 levels and mindmap 3 to 6 branches. columns has 2 or 3 columns of up to 5 items, compare 2 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), tags 3 to 14 tags, flashcards 2 to 6 cards, steps 2 to 6, schedule 2 to 7 rows, calendar 1 to 6 events on days that exist in that month, timer 2 to 6 phases of 1 to 3600 seconds, storyboard 2 to 4 panels, tree 2 to 4 branches of up to 3 children, receipt 2 to 7 lines, email 1 to 4 paragraphs and up to 3 attachments, search 1 to 4 results, shortcuts 2 to 6 shortcuts of 1 to 4 keys, checklist 2 to 8 rows, ticket 2 to 6 details, podium exactly 3 places (listed first to third, spoken third place first), scoreboard 1 to 5 moments, bracket 2 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), rating 2 to 5 aspects scored 0 to 5, forecast 2 to 5 days, playlist 2 to 6 rows, decision 2 or 3 answers. Table rows must have exactly as many cells as the table has columns.
  • Keep each say under 35 words; split long ideas into several items or sentences.
  • Pick a domain that fits the topic. Add a style only to improve on it (e.g. a theme, 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 say strings (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:

LengthEnding
30 secondsfinish on the last real scene. No outro recap and no closing summary.
1 minutefinish on the last real scene. No outro recap and no closing summary.
3 minutesfinish on the last real scene. No outro recap and no closing summary.
5 minutesfinish 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 minutesfinish 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 short outro recap of the two or three points to remember.
  • quiz, short, tips, invite, promo, demo, offer, casestudy, pitch: finish with a cta scene that asks the viewer to do the one thing this video is for.

Shape

What the writer is told about each shape:

aspectNote
16:9No note: a wide shape uses the landscape layout.
4:3No note: a wide shape uses the landscape layout.
1:11: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:54: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:43: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:169: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 say string 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 intro and end on your strongest scene: a statement, a number or a picture. Add an outro recap only to a long lesson, and a cta only 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.header set 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 .json file; 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 clip scene 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, and bana.js brings 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 / .vtt subtitles.
  • 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, default http://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_KEY and OPENROUTER_CHAT_MODEL power the AI and the premium voice; OPENROUTER_IMAGE_MODEL paints pictures; DATA_DIR must 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
{
  "json.schemas": [
    {
      "fileMatch": [
        "*.video.json"
      ],
      "url": "https://videobana.vercel.app/api/schema"
    }
  ]
}

Check a document from the command line:

bash
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.
Next skillScenes →