# I made an AI ad and an 18-shot film with Claude Code and Google's tools. Here's what broke.

An AI ad and an 18-shot film made with Claude Code, Antigravity and Google's tools on AI Pro: where each broke, and the checks that keep every shot consistent.

Author: Varun Pratap Bhardwaj
Published: 2026-12-05
Tags: AI Video, Claude Code, Google Antigravity, Google Flow, AI Reliability Engineering, Open Source
URL: https://qualixar.com/research/blog/two-ai-films-claude-code-google-what-broke

---

*What two films taught me about AI video creation: where each one broke, and the checks I use now so every shot agrees with the others. Made on Google AI Pro.*

*Varun Pratap Bhardwaj · AI Reliability Engineering · 5 December 2026*

![Two real frames: the KAIRO ad on a rainy platform with the black bag, and the 18-shot film Rural Ragnarok in a village wrestling pit](https://qualixar.com/images/blog/two-ai-films-claude-code-google-what-broke/01-cover.png)

KAIRO is a 60-second ad I made for a bag. In one shot, made in Flow, an old couple sits together, and the bag with them is a totally different bag. It was not stable anywhere else either. Pomelli's version differed, and Stitch picked yet another bag as the hero of the web page it designed. The ad had one job, which was to sell one bag. You can watch the mismatch happen in the tutorial I recorded for it.

I directed this piece and wrote the notes it comes from; an AI model helped me draft it, and I checked every fact against my own records and the project's code. I am an engineer and also a lawyer, and the bag is a useful problem because it has a definite answer. You and I could argue for an hour about whether the light in a shot is good. Nobody can argue that two different bags are the same bag. Once a mistake can be shown side by side, you can tell an agent which shot to remake and what it has to keep.

This is an account of two films I made with Claude Code, Antigravity and Google's creative tools, the ad and an 18-shot short called *Rural Ragnarok*: what went wrong in each, and the method for AI video creation that came out of it. The method works with plain Google tools. I also wrote it into a free tool, and I will say plainly what that tool does and what it cannot do.

## Where my credits went

Before I tried Google's tools on their own, I went to an aggregator. I paid $45 for a discounted Higgsfield plan because I wanted many image and video models behind one login. The credits ran out in less than two weeks of work.

My transaction history shows where they went. A Seedance 2.0 generation cost between 18 and 72 credits, and on 22 June 2026 I ran five of them at 45 credits each. Kling v3.0 cost 6.25 to 8.75 credits a run. A Nano Banana Pro image cost 2 credits and a GPT Image 2.0 image cost 7. I cancelled the subscription on 5 August 2026.

Most of the balance went on switching from model to model and getting confused by the choice. The lesson I took is narrower than "that site is expensive." Someone who is not technical has no way to know in advance which model will keep a label steady through a camera move, so they test, and testing on premium video models costs real credits. Changing models makes sense when the same prompt and the same approved reference keep producing the same defect. If the prompt and the reference are changing too, a new model gives you another clip and very little evidence about what fixed it.

## One stack, many windows

So I gave Google's own tools a serious try. Gemini, Flow, Flow Music, Pomelli, Stitch, NotebookLM, Genie, the Gemini app and Antigravity between them cover thinking and writing, research, product images, interface design, video and score. My plan, Google AI Pro, reaches several of them, and each comes with its own limits and credits. Both films here were made on it.

The tools were there. What I lacked was a way to carry a decision from one of them to the next. The usual route is to write the script, the scene descriptions and the image and video prompts in GPT or Claude, paste them into Flow one at a time, carry the result back, and paste again. A non-technical person often has it worse: a video model from one subscription, an image model from another, a writing model from a third, glued together in Claude Code or GPT. Each window knows only what you pasted into it. My own earlier work ran across many windows like that, and the copy-paste is why I was using a fraction of what I paid for. It's a problem of productivity.

Why did one window become workable now? I can only answer from my own use, and this is an opinion, not a benchmark. Google's newest Gemini models can carry the thinking, the images and the video, and Google owns every layer of that stack. The missing piece was an orchestrator, something that holds the whole job in one conversation. Antigravity's agent harness was not strong enough for that when I first tried it. It now has an orchestrator mode, and with it I could keep the concept, the story, the prompts and the generation in one running chat. Antigravity Studio, a free, MIT-licensed project, is where I wrote that way of working down.

![Many windows and separate credit meters on the left; one chat with the Google tools and two judges on the right](https://qualixar.com/images/blog/two-ai-films-claude-code-google-what-broke/02-d1-scattered-vs-one-chat.png)
## KAIRO: four things the ad taught me

The whole KAIRO run is recorded as a tutorial, [Episode 1 on YouTube](https://youtu.be/DeZQVBWT-8I). Four problems in it changed how I work.

[![Watch Episode 1: the KAIRO ad made with Google's tools](https://qualixar.com/images/blog/two-ai-films-claude-code-google-what-broke/05-watch-episode-1.jpg)](https://youtu.be/DeZQVBWT-8I)

The first was the agent's manner. At the start, the agent (Antigravity or Claude Code) did not behave like an operator working for a director. It drove the browser, wrote prompts on its own and sent them. The fix was a human in every loop. Every image, every story beat and every scene is now discussed in chat before it is made. The agent shows what it plans to make and waits for my answer.

The second came from the lane I could not see. The studio can work through the browser, with Flow on screen, or with a Google AI Studio API key and no browser at all. Browserless hid what was happening. I found the wrong tool being called, the wrong prompt being sent, and prompts the agent had chosen for itself. So the prompt is now reviewed before any image is generated, as well as the output after. Changing a line of text in chat is cheap. A generation you did not want costs credits and a remake.

The third was the bag. Text-to-video invents the product again each time unless something holds it. The fix was to reverse the order of work: make one hero image of the product first (mine came from Pomelli), approve it, and work outward from that single file into the storefront, every scene still, every video shot and every other angle. If you work in Flow by hand, save that approved image under a name you will recognise and attach it everywhere the product appears. Make a still of the bag in the scene before you ask it to move. Check the still against the hero image, then use the approved still as the starting frame for the clip.

![One approved hero image feeds the storefront and every scene still; each approved still starts a Flow take; a rejected take loops back to its own shot](https://qualixar.com/images/blog/two-ai-films-claude-code-google-what-broke/03-d2-hero-image-flow.png)
The fourth was the judging. I was already using an AI model to judge each shot, and the judges I used looked at two to four frames from a whole clip or scene. They passed shots I could see were wrong. The drift happened when the camera angle changed, somewhere between the frames they sampled. A handful of frames from an eight-second camera move can miss everything that happens between them. The fix had two parts: look at many more frames, and put two judges on every output, an LLM judge and a human one. The model points at a frame and says what changed. I decide whether the shot goes in.

## Rural Ragnarok: eighteen shots and a stray gladiator

An ad has one hero, the product. A film has several, and they have faces. *Rural Ragnarok* is set in an Indian village: a sweet-shop cook turns into a green giant, a hammer-wielding villager calls down lightning, the two fight in a mud wrestling pit, and at the end they share tea and jalebi. [Episode 2 on YouTube](https://www.youtube.com/watch?v=FXMymsgAOsU) builds it shot by shot as a tutorial.

[![Watch Episode 2: the 18-shot film, built shot by shot](https://qualixar.com/images/blog/two-ai-films-claude-code-google-what-broke/06-watch-episode-2.jpg)](https://www.youtube.com/watch?v=FXMymsgAOsU)

I gave the models reference images for the characters, and they drifted anyway. A stray Roman gladiator walked into one clip, in a film about village wrestlers. One hero's look changed completely between shots. The green giant's look changed in the last scene. References reduce drift. They do not end it. Models make mistakes, and the work is to find each mistake and remake that shot before it reaches the edit.

The record from the film is plain. Across ten keyframe reports, the vision judge failed five, on style, location or wardrobe. The face check passed none on its own: I had never calibrated it for this cast, so it marked every face UNSCORABLE and sent it to a person instead of guessing. The gladiator was caught in frame review and the shot was reshot.

The film also fixed my order of work. Each shot now starts as a still image, made from the approved pictures of the characters, the outfit, the product and the location in that shot, plus the same written description of each character's look. A still can be chained from the previous shot's last frame so a scene flows. I approve the storyboard of stills before any video is made, and the video starts from the approved still. Stills are cheap to redo. Video is not.

Every attempt is kept as its own take, with its own file, its own SHA-256 fingerprint and its own check results, and one take is marked as the chosen one. When a take fails, I reshoot that shot and the rest stay where they are. That holds when the defect belongs to one shot. If I change a character reference, every shot that used it is back in question.

The other change was the window count. Earlier, this kind of work meant moving between many windows. For this film, the discussion, the images, the video and the content all happened in one window, in Claude Code or Antigravity, with each decision saved in the project folder as it was made.

With all of that, including both judges and the remakes, the 18-shot film took me about an hour to an hour and a half, two hours at most. Earlier, the same work took me far longer. That is my own timing on this film; I never put a stopwatch on the old way, so treat the comparison as experience and not a measurement.

## How the checking works

For a creator, the short version is this. Every take is checked frame by frame: a vision judge looks at a frame every two seconds, and a face check looks at six more frames spread across the clip.

For a developer, here is the mechanism. The vision judge looks at fixed times in every take: half a second in, then two, four and six seconds, and the last frame. On a standard eight-second clip that is a frame every two seconds. It compares those frames with the approved references and answers separate questions about wardrobe, product, location and style, and it runs a check for strangers in the frame. Separately, the studio samples up to two frames a second, at most 12, spread across the whole clip. Six of those go to the local face check. All twelve go into a saved evidence grid beside the references and feed the watermark and end-frame checks. The vision judge does not receive that grid.

Face, wardrobe, product, location and style are five separate verdicts, and the worst one decides. A stable face can share a frame with the wrong coat, and the report has to say so.

The face check runs on your own machine. YuNet finds the face, and SFace turns it into numbers that can be compared with the character's approved faces by cosine similarity. The threshold never goes below 0.363, OpenCV's published SFace threshold. You can raise it for your cast by calibrating on at least 20 same-person and 20 different-person samples, and the calibration only counts if it reaches zero false accepts and at least 95 percent recall. A face also has to be clearly closer to its own character than to the nearest other one, so the check can flag two characters that have started to look alike. Until calibration succeeds, or when no usable face is found, the answer is UNSCORABLE. UNSCORABLE never counts as a pass. It means a person looks.

The film-wide continuity check, Gate 2, is a different thing. It checks each shot's file receipt, pulls three keyframes per shot, and measures brightness, histogram continuity and palette against the references. It does not recognise faces, and I keep the two apart in my head because a palette match says nothing about whose face is in the frame.

![An eight-second take: the vision judge looks at 0.5, 2, 4 and 6 seconds and the last frame; six more frames go to the local face check; the worst of five verdicts wins](https://qualixar.com/images/blog/two-ai-films-claude-code-google-what-broke/04-d3-frame-checks.png)
## Sound and rights

I listen to every cut with the music in it, because a line you worked hard on can disappear under a score. In the studio's mix, the speech track drives a compressor on the music, so the music drops when someone speaks. Impacts get their own treatment: the mixer finds onsets in the effects where the level rises by 9 dB or more over the previous 200 milliseconds, skips any inside a spoken line, and dips the music 5.5 dB for a hit or 7.5 dB for a boom, high-passed at 95 Hz during the dip so the low end of the impact comes through. Then the master is normalised in two passes to minus 14 LUFS for long-form, with a true-peak ceiling of minus 1 dBTP. By hand, FFmpeg's loudnorm filter can do the same two-pass measurement. A film can meet both numbers and still bury its dialogue, so the last check is always listening.

The copyright check is where my two professions ask different questions. The studio scans prompts, titles, dialogue and the other project text for franchise names, including ones with a hidden zero-width character inside them, and checks that every music file declares an allowed source. That catches things you can fix before export. It is a mechanical pre-flight check, it is not legal advice, and it is not YouTube's Content ID. Rights clearance depends on what the film shows and what permission you have to use it. A text scan never sees the picture, and a stray figure can walk into a frame through a perfectly ordinary prompt, as my gladiator did. Watch the images and the cut as well as reading the words.

Before the studio calls a cut finished, seven checks run against the files on disk, from the shot list and continuity through seams, loudness, duration, an evidence sheet of every shot, and that copyright scan. Change an input and the old report goes stale. The rule I hold to in AI reliability engineering applies here too: the agent never grades its own homework.

## Why skills matter

One lesson came from outside the films. Models copy references. Without reference work and a way of thinking about the task, a strong model still produces average work. Claude Code is very strong at motion graphics, but it has no image or video model of its own, and without a skill to guide it, it did not perform for me. With brief2mp4, a skill that gives an agent a method for turning a written brief into a finished MP4, it did. Its companion, brief2motion, does the same for motion on the web. On 5 December, brief2mp4 had 101 stars on GitHub and brief2motion had 11.

The studio leans on the same idea. Its ideas and its conceptualisation come from skills, and the skills plus the harness around them are what make the agent useful to someone directing a film.

## The method, without my software

If you never install anything, this is the part to keep. It works with a Google AI Pro plan, a folder and your own eyes.

1. Write the story, the scene list and every prompt in conversation first, and read each prompt before it is sent.
2. Approve one reference for everything that must not change: one hero image for the product; for each character, front, three-quarter and profile views, a face close-up, one image per outfit and a short written description of the look.
3. Attach those references to every shot that needs them, and reuse the same written description in each prompt.
4. Make and approve a still for each shot before you animate it, and start the clip from the approved still.
5. Put two judges on every take: a vision model and yourself.
6. Look at a frame at least every two seconds across the whole clip, and ask separately about face, clothes, product, place and style. Let the worst answer decide.
7. Name every take by shot and number, keep the rejects, and reshoot one shot at a time.
8. Listen to the cut with the music in, then measure the loudness of the export.
9. Search every title, prompt and line of dialogue for franchise names, keep the source of every audio file with it, and watch the final cut for anything a text search cannot see.

## The objections I would raise against myself

The first is obvious: I built a tool, and this article describes it. That is why the method comes first and stands without it. Everything in that list works in Flow with a folder and a notebook beside you, though an automated vision judge does need access to a capable model. The studio is where I wrote the method down so that I stop skipping steps when I am tired, and so that an agent cannot skip them for me.

The second is time. Stopping to review each step sounds like extra work because it is. It also gives me a chance to stop a mistake while it is still a line in a prompt or a detail in one still, before it becomes a clip I paid for. My hour to an hour and a half for eighteen shots included that review.

The third is the evidence. Two films and one person's timing are thin grounds for a general rule, and I would not accept them in a courtroom as proof. What they do show is the specific failures, with the receipts and the tutorials to check them against, and a method that caught each one.

## What it still cannot do

Antigravity Studio does not make a video model draw faces correctly. It makes bad results visible and cheap to redo. A face check can miss a subtle change, which is why, by default, I approve the reference pack, the storyboard and the final cut myself, and why an uncalibrated face check refuses to pass anything on its own. The wardrobe, product, location and style judgements need a Google AI Studio key; without one they come back UNSCORABLE and wait for a person.

It does not generate video either. Flow, Flow Music, Genie and Pomelli have no public API today, so the studio never scrapes them and never touches a login. By default, you press Generate in Flow yourself, under your own account and plan, and the studio prepares the prompts, takes in the downloaded files, fingerprints them, runs the judges, mixes the sound and checks the result. It runs in Antigravity and Claude Code, and in the Gemini app on a Mac in Task mode; as of December 2026 the Windows Gemini app does not offer the local connector, so Windows users run it from Antigravity or Claude Code.

In the chat, each artifact is shown with one question, and each file is recorded with its SHA-256 fingerprint, so a later change to an approved file is visible. That is the KAIRO lesson in code form. The bag I approve is the bag the rest of the film is checked against.

The code and the documentation are at https://github.com/qualixar/antigravity-studio
