IDIR: I turned three Gemini clips into a French noir series
This afternoon I gave Claude three short video clips I had made with Gemini. In all three, the same bald man with a beard and a trench coat moves through a city in black and white. He walks in the rain with headphones on. He drives a red convertible. He pushes open a bar door and drinks a beer the barman pours for him. Each clip is 20 seconds, 16:9, 720p. The man has my face.
By evening, those clips had become a vertical reel, a series bible, a ten-episode season plan and a first episode of 2 minutes 45 seconds in French, with three voices. The series is called IDIR — Les nuits de Cendrebourg. This post is about how it was built, and about the one thing I had to correct along the way.


The rule: everything is black and white, except red
The look comes from graphic-novel noir: hard contrast, deep blacks, steady rain, steam from the drains. The series bible sets one rule for colour. Everything is black and white, and only one colour may exist: deep red. Red always belongs to Lina. It is her car, her scarf, the matchbox someone leaves at the bar, the umbrella at the end of the dock.
Idir was a sound engineer for the Cendrebourg police. He placed the microphones and he listened to the wiretaps. He heard something he should not have heard, and that same night the woman he loved died on the docks. Three years later he drives her car and listens to the city. We never see Lina's face. That is a story choice, and it is also a practical one: it is one less face to keep consistent from one generation to the next.

First attempt: a motion comic, and why it failed
The first version of episode 1 lasted 56 seconds. It was made mostly of generated stills with slow zooms and a voice-over. Each image was fine. The result was not a series. My feedback was direct: too many photos, it does not look like a series, and 56 seconds does not deserve a YouTube video.
The second version uses only moving images. The approved stills became the first frames of image-to-video shots of 5 to 8 seconds. In those shots the rain falls, the matchbox slides along the counter, the wipers sweep and the woman with the umbrella turns her head. Together with my three clips, the episode has 41 shots.
What made it alive was the acting
When I watched version 2, I loved it. Claude then suggested that my clips were optional for the next episodes. I disagreed. The moments that make it a series are all in my clips: Idir pushing the bar door through the smoke, the barman pouring the beer and the two men looking at each other, the first sip, Idir at the wheel with his headphones, staring into the distance. In those shots a character acts, interacts and stays on screen long enough for you to believe him.


That correction became the method for the rest of the season. My clips of 10 to 20 seconds, where the character acts and talks to someone, are the backbone: three or four per episode. Generated shots are the glue: a hand, an object, a set, a flashback, a few seconds of atmosphere. Claude does the voices, the sound and the edit.

How the episode is assembled
The edit is a HyperFrames project. HyperFrames renders HTML to video by seeking a paused timeline frame by frame. Nobody edited 41 shots by hand. A Node script holds one shot table and writes every composition from it. Each row gives the source, the in-point, the duration, the framing, the voice lines and the sound effects, with offsets relative to the shot. The start times come from the order. When I move a shot, every cue follows it.
{ id: "porte", kind: "bar", ms: 1.5, d: 1.5, cx: [0, -40] },
{ id: "elio-dos", kind: "gen", src: "13-elio-dos.mp4", d: 4,
v: [["elio-1.wav", 0.6]] },
{ id: "horloge", kind: "gen", src: "24-horloge.mp4", d: 6,
s: [["cloche", 0.8, 0.7], ["cloche", 2.5, 0.7], ["cloche", 4.2, 0.7]] },
Three details mattered more than I expected:
- The clips hide cuts. Each 20-second Gemini clip contains six to nine internal cuts. An in-point chosen by eye showed the wrong shot, or the same close-up twice.
ffmpegscene detection withselect='gt(scene,0.1)'found the exact boundaries. The common threshold of 0.3 missed most of them. - Vertical from horizontal. The 16:9 clips are reframed for 9:16 with a scale and a pan per shot. One clip is letterboxed, so it needs a larger scale to hide the black bars.
- Ambience as slices. The rain and the bar noise are long seamless beds. Each scene takes a slice at its own volume. When the edit changes, the sound does not jump.
The voices are HeyGen French text-to-speech. Tanguy is Idir, the narrator, in every episode. Gaston is Elio, who speaks only off-screen or from behind, so there is no lip-sync to fake. Solange is Lina, heard only through a phone filter on an old answering-machine message. The render takes about two minutes for 165 seconds at 24 fps, and a two-pass loudnorm to −14 LUFS finishes it for YouTube.
What is next
Episode 1 still has small defects. In one shot the headphones are on his ears, while the bar clip has them around his neck. One shot has an orange tint in the headlights. And the episode is 2:45, not the 3:00 I wanted. The season plan has ten episodes, one mystery and only two new faces. The episodes are in French because the audience is Benelux; Dutch subtitles come later.
For episode 2 the order is reversed. First I write the scenes where Idir acts and talks to someone, and I generate those clips. Then the inserts fill the gaps around them. The tools can make a beautiful frame. A series needs a character who moves, and someone has to decide what he does.