Voice first, picture second
Generate the voice before recording, hold each scene until its last syllable, never pay twice for unchanged text, and time subtitles without transcription.
In a demo, people forgive a plain picture. They don't forgive a voice talking about a button while the screen already shows something else. Or a frozen picture while the voice keeps going, like a video that crashed.
That is exactly what our prototype did.
The prototype's flaw
The first video, made by hand, followed the natural order: record the app, then lay the voice over it. When a scene's voice ran longer than the recorded clip, the edit froze the last frame until the sentence ended. Technically clean. On screen, you notice it right away.
The problem was the order. If you record first, you don't know how long each screen has to stay up. You find out in the edit that you are a few seconds short, and it's too late to record them.
Flip the order
Today, each scene's voice is generated before anything is recorded. So we know its exact length before the first gesture.
The driver plays the scene's gestures, then holds the screen until the voice ends. The picture stays alive the whole time: the page is there, the cursor rests, the animation finishes. Freezing a frame is now only a fallback, for the day a take comes out shorter than expected.
A direct consequence: the voice is the only source of timing. The pace setting, concise, normal or slow, changes the length of the lines and the time left between gestures. Nobody sets a duration by hand.
Two margins that change everything
A scene doesn't last exactly as long as its voice. It lasts the voice, plus two margins.
- 0.35 s lead-in. The voice starts a third of a second after the picture. The eye arrives before the ear: you see the screen, then you hear what it shows. And the cut never swallows the first syllable.
- 0.9 s tail. After the last word, the picture stays for almost a second. It's the breath that gives you time to read the result before the next scene.
Both values come from the prototype, and we kept them. You can find them all the way into the subtitles: the first sentence of a video starts at 0.35 s.
Never pay twice for the same text
A generated voice is billed per character. At eroq, the turbo voice costs 2 credits per 100 characters. The one voice costs 3, and it is the one that performs tags like [warmly] or [laughs]. We use turbo for drafts and one for the final render.
But scripts get edited. You change a word in scene 3, drop scene 5, run it again. Regenerating the whole voice every time would be a waste.
So each voice file is stored under a fingerprint of four things: the provider, the model, the voice and the text. Same fingerprint, same file: it's read from disk, not regenerated. Changing a word only pays again for the scene it's in. Unchanged text is never paid for twice, even across videos.
For a real order of magnitude: the Qelka video, 1 min 17, cost 26 turbo voice credits.
Subtitles without transcription
The usual way to subtitle a generated voice is to transcribe it: send the audio to a model that returns the words with their timings. It works, it costs money (1 credit per minute at eroq), and it's a bit absurd when you wrote the text yourself.
We have each scene's text. We know how long its voice lasts and when it starts. All that's left is to split the text into sentences and share that duration between them, by length. A sentence twice as long stays on screen twice as long.
The start of a subtitle file for a video narrated in French, built this way:
1
00:00:00,350 --> 00:00:01,132
Salut Floran !
2
00:00:01,132 --> 00:00:03,310
J'ai codé le mode blessé, je te montre.
It's not timed to the word, but to the sentence, and that's how people read. The same file feeds the player on the share page, which follows the current sentence and lets you jump to any passage. Transcription stays in reserve, for the day this timing is no longer enough.
Why it matters
A narrated demo hangs by a thread: what you hear has to match what you see, at the moment you see it. Putting the voice first turns the problem around. The edit no longer has to catch up with the voice; the recording follows it.
And that is what makes the rest possible. A video that rebuilds when the script changes, without paying again for what didn't move. Subtitles that are right from the first version. And a voice that never talks about a screen you haven't seen yet.