Build a product demo video pipeline yourself
An AI writes the script, a scripted browser records it, a video encoder cuts it. The pipeline, the order that works, and the traps that cost hours.
You can build a demo-video pipeline yourself in an afternoon. Getting it to produce videos you would publish takes longer. This is the shape that works, and the traps you will hit along the way.
The pipeline
- Read the page. Open the URL in a scripted browser and collect the heading and the visible buttons and links with their exact labels.
- Write the script. Give a language model the page facts and ask for four to seven spoken lines, each optionally tied to one control from that list. Ask for structured output so the reply is data you can validate, and reject any control that is not on the page.
- Voice every line. Generate one audio file per line with a text-to-speech service and measure its length.
- Record. For each line, show the caption, wait about a third of the line, click the control, then hold until the line's audio would end.
- Cut. Place each line's audio at the moment its caption appeared, trim the page load from the start, and encode H.264.
Trap 1: recording first, voicing second
If you record first and fit the voice afterwards, every slow page load squeezes a line. You end up speeding audio up or cutting it off. Voice first, then let the recording wait for the voice.
Trap 2: long default waits after navigation
After a click that navigates, the old element is gone. Most browser automation tools wait out a long default timeout before a later call on that element fails, often half a minute. That shows up as dead air after every navigation. Pass an explicit short timeout to every call made after a click.
Trap 3: a higher pixel ratio does not sharpen the recording
Raising the device pixel ratio does not give you a sharper 1080p recording; many recorders capture at the viewport's CSS size and pad the rest. Record a 1600×900 viewport and scale it to 1080p when you encode.
Trap 4: controls that repeat
Pages repeat their main call to action in the hero and the footer. If the script uses the same label twice, the second click often lands on a page where it no longer exists. Use each label once, and go back to the start page when a control is missing.
Trap 5: the model invents buttons
Even with the list in the prompt, a model will sometimes name a control that is not there. Check every control against the page's own list and drop the ones that do not match.
When to stop building
The pipeline above makes a decent one-minute demo. Logins with one-time codes, cookie banners, pages that render late, background music, zoom on clicks and social formats each add another week. If you would rather paste a URL, that is what Get Product Demo AI does.