codecompany
All case studies

Sabr Intelligence: 30+ story videos made from a script, with no shoot

Sabr Intelligence wanted to produce story-format videos without a shoot. We built an AI pipeline that takes a script and produces a finished vertical video. It has generated more than 3,000 clips and assembled over 30 finished videos across a dozen stories from Indian history.

A one-minute video that tells a piece of history, with characters, voices and moving shots, normally needs a writer, an illustrator, voice artists, an animator and an editor. Sabr Intelligence wanted to make these in volume, in Hindi, starting from nothing but a script.

We built the pipeline that does it. This page walks through how it works, with real output from it at every step.

A finished episode thumbnail, generated by the pipeline: “Kautilya ka Hathiyaar”, on Chanakya and Chandragupta. A finished episode thumbnail, generated by the pipeline: “Kautilya ka Hathiyaar”, on Chanakya and Chandragupta.

The result so far

  • 3,100+ video clips generated
  • 2,500+ images generated
  • 30+ finished videos assembled, averaging about 1 minute 45 seconds
  • A dozen stories, from Champaran in 1917 to the Chola dynasty, Kautilya and Magadh

The problem with “just ask AI to make a video”

AI can generate a striking four-second clip. Ask it for sixty seconds and three things go wrong.

  • The hero changes face. The model has no memory of what a character looked like in the last shot.
  • Shots do not connect. Each clip is a new picture, so the video feels like a slideshow.
  • Costs run away. Every image and every second of video is paid for, and a bad take is paid for twice.

The pipeline exists to solve those three problems. Everything below is in service of them.

The six stages. Each one saves its output, so a weak scene can be redone on its own. The six stages. Each one saves its output, so a weak scene can be redone on its own.

Step 1: Plan the whole video before generating anything

The script goes in first, and nothing is generated yet. A planning stage breaks it into scenes of about eight seconds each, because that is the length video models handle well.

For every scene the plan records the line of narration, the type of shot, what the camera does, and which characters appear. One episode, “Kautilya ka Hathiyaar”, came out as 58 scenes.

Why it matters: planning on paper costs almost nothing. Finding out a scene does not work after generating it costs money and time. The plan is also checked against rules before anything is spent, for example that every scene has enough words to fill its eight seconds.

Step 2: Cast the characters once

Each character is extracted from the script and given a reference sheet: the same person from six angles, in costume, on a plain background.

The reference sheet for Chanakya. Every later scene with him is generated against this. The reference sheet for Chanakya. Every later scene with him is generated against this.

Chandragupta, as an adult. The script also has him as a boy, so he gets a second sheet. Chandragupta, as an adult. The script also has him as a boy, so he gets a second sheet.

Why it matters: this is what keeps a face the same from scene one to scene fifty-eight. Without it, the model invents a new Chanakya every time.

Step 3: Record the voice

Narration and dialogue are generated next, in Hindi, with pronunciation guidance for names and old words that a voice model would otherwise get wrong.

Why it matters: the voice sets the length of every scene. Generating it before the pictures means the visuals are cut to fit the words, and not the other way round.

Step 4: Generate the first frame of every scene

For each scene, the pipeline generates one still image: the opening frame. Scenes with a character are generated against that character’s reference sheet.

Opening frames from five consecutive scenes of the same episode. The characters, costume and light stay consistent. Opening frames from five consecutive scenes of the same episode. The characters, costume and light stay consistent.

Why it matters: a still image is far cheaper than video. Getting the frame right first means the expensive step starts from something already approved.

Step 5: Turn frames into motion

Each first frame becomes a video clip. Scenes where a character speaks go to one video model, tuned for faces and lip movement. Scenes that are pure visuals, a city at dusk or an army on the march, go to another that is better at movement.

Frames from another story, the march to Panipat, generated in a different visual style. Frames from another story, the march to Panipat, generated in a different visual style.

Why it matters: no single model is best at everything. Routing each scene to the right one improves quality and avoids paying for a capability the scene does not need.

Step 6: Assemble

The clips, the voice track and a title card are stitched together into one vertical video, ready for Reels and Shorts.

What made it hard

  • Consistency across dozens of scenes. Solved by the reference sheets, and by reusing frames wherever a scene continues the last one.
  • Continuity. Each scene is written as the next panel of the same comic, so motion carries from one shot into the next.
  • Cost control. Every request is logged with what it cost. A scene can be regenerated alone, without redoing the video.
  • Hindi. Names, titles and period vocabulary needed their own handling in both the voice and the on-screen text.

What this means for Sabr Intelligence

A story that would have needed a small production team can now go from a written script to a finished video without a shoot, an illustrator or an edit suite. The team’s time goes into choosing stories and writing them well, which is the part only people can do.

More case studies
Get in touch