George Evans Portfolio

All 12 pieces Piece 02

AI video ad line with a quality gate: 13 of 13 spec ads passed

Spec work
  • AI Marketing
  • AI Automation

A pipeline that turns a business's own site into short vertical ads and blocks any ad that fails a hard QA gate. 13 of 13 spec ads passed.

Built with: Python, ffmpeg and ffprobe, Pillow, Kokoro text-to-speech, faster-whisper, Claude Code subagents, Google Drive. Built with AI assistance (Claude) under my direction.
Skills shown: Short-form video ads, Prompt design, Python, ffmpeg, Speech-to-text QA, Fact checking, Multi-agent review

Status: Spec work. 13 finished, unpaid ads for real Dallas-area businesses sit in Google Drive with a drafted email to each. None has been sent, so this page names no business. Sample ads for three fictional businesses are public on biglife360.com/ads.

In 60 seconds

  • Problem: Local businesses need short video ads but often lack an agency budget. AI can make an ad in minutes, but a fast ad with a made-up price or a muffled voice does more harm than no ad.
  • What I built: A production line. A brief and a script come from the business's own site, the video renders with an AI voice and captions, then an automated gate and an independent AI reviewer decide whether it ships.
  • Proof: qa.py measures loudness, true peak, black frames, codecs and duration with ffmpeg, then transcribes the voice with faster-whisper and fails the ad if more than 10% of the words differ from the script. Each ad gets a 10-point scorecard, saved as JSON.
  • Result: 13 of 13 ads passed, in two formats each. The independent reviewer caught 2 problems the first pass missed (an unconfirmed holiday line and a bad face crop), and fact checks removed 3 claims that the businesses' sites did not support. 10 ads scored 10/10 and 3 scored 9/10, because those businesses show no reviews on their sites to quote.

The business problem

A bakery or med spa owner needs a steady flow of short vertical videos for TikTok, Reels and Shorts. A videographer for every short ad is hard to justify. Generic AI video tools are cheap, but they fail in ways that cost the owner money and trust:

  • Wrong facts. A model "remembers" a price, an opening time or a holiday special that the business does not offer.
  • Weak first second. A hook that loads late or a silent opening invites a skip.
  • Bad audio. Voices that are too quiet, clipped or mispronounced make the business look careless.

I sell this as a service (first sample free, then $50 for one ad, $140 for three, $230 for five), so the quality bar had to be built into the pipeline, not left to my eye at 2 a.m.

What I built

  1. Researchread the business's own site, save every usable fact with its source
  2. Briefoffer, audience, hook, scenes, one call to action
  3. Scripthook of 10 words or fewer, voice lines per scene, captions
  4. Render9x16 and 4x5 files, Kokoro voice, burned-in captions
  5. Gateqa.py hard checks, exit 1 on any failure
  6. Score10-point short-form scorecard per ad, saved as JSON
  7. Skeptica second AI agent re-checks every claim and frame
  8. Fixfailed ads go back with the reason, then through the gate again
  9. Deliverupload to Drive, check every link signed out, draft the email

The automated gate (qa.py). Hard limits live in one line of code: duration 15 to 25 seconds, loudness -14 LUFS plus or minus 1, true peak at or below -1 dBTP, no more than 0.25 seconds of black frames, and a voice word error rate (WER) of 10% or less. It checks both formats for H.264, 30 fps and 48 kHz AAC, and confirms the file streams before it finishes downloading ("faststart"). The WER check normalizes the text first: numbers are spelled out, compound words are merged and a sound-alike spelling of a business name is not counted as an error. The script exits 0 only if every hard check passes for every ad, so an agent cannot quietly ship a failure.

The scorecard. Ten short-form ad rules, each recorded true or false per ad: hook fully readable on frame 1; hook of 10 words or fewer; sound in the first 0.5 seconds; a visual change at least every 2.6 seconds; big captions that follow the voice; clear voice (WER 10% or less); -14 LUFS with peak at -1 or lower; offer and call to action in the last 4 seconds; every claim checked on the live site; social proof from a real source.

The skeptic. On my laptop, Claude Code ran one subagent per ad, three at a time, then sent each finished ad to a separate agent whose only job was to find problems. Facts that could not be confirmed on the business's live site were cut, not reworded.

Proof you can check

  • Scorecard entry (one ad, December 1, 2026): every item true except "social proof from a real source": false, with the note "No customer review on the site to quote, so no social proof card." The gate recorded the miss instead of inventing a review.
  • Build log (November 30, 23:20 UTC): "all 13 ads through Part B (13 pass qa; skeptic refuted [one ad's] holiday line and [another's] face crop)". At 23:35 UTC: "13/13 spec ads READY ... all claims re-confirmed live."
  • Fact checks (December 1): two catering price ranges and one star rating were removed because they were not on the businesses' sites.
  • Delivery check: "13/13 links 200 signed out, public downloads md5-match", so every link opens for someone who is not me and serves the exact file that passed the gate.
  • Excerpts are in evidence/02-ad-qa-gate-excerpts.md. I can show the ads and the gate running in an interview.

Outcome

Measured

  • 13 of 13 ads passed the hard gate, in 2 formats each (26 files).
  • 10 ads scored 10/10 and 3 scored 9/10. Each of the 3 missed only the social proof item, because I would not quote a review that does not exist.
  • The independent reviewer caught 2 defects the first pass missed, and fact checks removed 3 unsupported claims, all before anything reached a client.

Projected

  • None yet. The ads have not been sent, so there is no reply or sales data. Piece 10 models what the outreach would need to pay off, and piece 11 is the outreach playbook.

What I would do next

  • Send the drafts once I decide how to approach each business, then track replies in the sheet from piece 11.
  • Add an automatic check for text inside the TikTok and Reels interface zones. Today the contact sheet draws those lines and a person or agent reviews it.
  • Turn the scorecard into a client-facing quality report that ships with every paid ad.

Files you can open

Everything this piece points to. Scripts run with Python 3; see each piece for the exact command.