EMAX Studio Blog
AI Ad Creative Generation: From One Brief to 30 Tested Variants in a Claude Code Workflow
Manuel Mrosek · 2026-06-18 · — views
AI Ad Creative Generation: From One Brief to 30 Tested Variants in a Claude Code Workflow
AI ad creative generation at scale means giving a Claude Code workflow your brand brief, audience, and offer, having it produce 30 ranked hook variants with image prompts and video scripts, then piping the top 10 through your image and video stack and pushing the best 5 to Meta as drafts for a human to approve. The whole cycle, from "we need new creatives this week" to "5 ads are live in the ad set," should take about 90 minutes of human time instead of two days.
This is the second half of the loop we covered in the overview piece on AI Facebook ads with AI agents and the daily Meta ads health check. The agent pauses losers every morning. This post is about the other half: how the agent fills the pipeline with new fighters so the ad set never goes hungry.
The Real Bottleneck in Meta Ads Isn't Targeting Anymore. It's Creative Throughput.
If you've run Meta ads in the last 18 months you already know targeting is mostly out of your hands. Advantage+ Audience picks who sees the ad. iOS attribution is a probabilistic guess. Lookalike audiences quietly got demoted into "interest hints." The lever the platform left you is creative: the image, the hook, the first 1.5 seconds of the video, the CTA copy.
And here is the math nobody wants to do out loud. To find a real winner inside a single audience, you need 20 to 30 variants. Not three. Not five. Twenty to thirty, because most ads die at frequency 4, and the platform's algorithm needs raw material to find what the actual audience clicks. A small business owner producing creatives by hand can ship maybe 3 to 5 a week if they have a freelance designer on speed dial. Math says they will never out-iterate a competitor running 25 variants a week through an AI pipeline.
This is not a "AI is the future" pitch. This is a throughput-vs-throughput fight, and you are losing it if your creatives come out of a Tuesday afternoon Canva session.
What an AI Creative Pipeline Actually Does
Strip away the marketing language and an AI creative pipeline does six things in sequence. One brief in, five tested ads out.
- You feed it your brand brief (voice, colors, no-go list), your target audience, the current offer, and any hook constraints (legal, banned claims, must-mentions).
- The AI generates 30 hook variants, ranked by archetype (curiosity, contrast, pain, aspiration, social proof). Each hook is one line, optimized for the first 1.5 seconds of a Meta feed.
- The AI picks its top 10 by archetype mix, never letting one archetype dominate. For each, it generates an image prompt and a 12-second video script.
- Your designer or operator reviews the 10. Approves 5 to actually produce. Kills the rest.
- The 5 approved variants get rendered: Nano Banana / Gemini for photorealistic backgrounds, a composite renderer for hook text overlay, ElevenLabs voice plus auto-captions for the reels.
- The 5 finished ads get pushed to Meta as drafts via the Marketing API. A human flips them live. The daily health check pauses losers within 100 impressions. Winners get 5 more variants generated in their style next week.
That last step is the part most people skip and it's the part that compounds. The winners teach the AI what works for this audience. Next batch is better. Next batch after that is better again. Six weeks in, your CPL is half what it was, and the only thing that changed is the creative pipeline kept turning.
The Claude Code Workflow Step-by-Step
Here is what this actually looks like as a Claude Code workflow. Not theoretical. The exact prompt structure we use.
Step 1: Load the Brand Brief
Claude needs to know your voice, your colors, your forbidden words, your offer, and the audience persona. This is roughly 600 to 1200 words of context, loaded once. In a Claude Code project this lives in a brand-brief.md file the agent reads at the start of every creative session. If you skip this step, you get generic ad copy that smells like ChatGPT.
Step 2: Generate 30 Hooks Ranked by Archetype
The prompt is structured: "Generate 30 ad hooks for [audience] selling [offer]. Distribute across five archetypes: 6 curiosity, 6 contrast, 6 pain-first, 6 aspiration, 6 social proof. Each hook must be under 12 words, scannable in 1.5 seconds, and avoid these phrases: [no-go list]." Claude will produce all 30 in one pass with the archetype tag inline.
The trick that matters here: never generate hooks one at a time. The variance across a batch of 30 is where the gold lives. Generate them together, rank them together.
Step 3: For Each Top Hook, Generate Image Prompt + Video Script
You don't ship all 30. The agent picks 10 (two per archetype, balanced) and for each writes a Nano Banana image prompt and a 12-second video script with a clear first-frame hook overlay. The script uses one of four copywriting frameworks (PASTOR, AIDA, PAS, BAB) the agent picks per industry. Coaches get PASTOR. E-commerce gets AIDA. Local services get PAS.
Step 4: Render Backgrounds via Nano Banana / Gemini
The image prompts go to Gemini's image generation (Nano Banana pipeline). Each prompt is run with brand color anchoring so the violet, the green, the red stays consistent. Claude Vision then scores each output 0 to 100 for photo-realism and brand fit. Below 60, it retries. This is the same image pipeline running inside EMAX Studio for every campaign.
Step 5: Composite the Hook Onto the Image
A Playwright-based composite renderer overlays the hook text on the photo background. Dynamic font sizing means the hook never gets cut off, and a gradient ensures readability on light or dark photos. The output is a production-ready ad creative PNG, not a "we'll polish it in Canva later" draft.
Step 6: Push to Meta as Drafts via the Marketing API
The 5 finished creatives plus their body copy and CTAs get pushed to Meta Marketing API as draft ads inside your test ad set. They sit there with status PAUSED until a human reviews them in Ads Manager.
Step 7: Human Review, Then Ship
A human (you, your VA, your designer) opens Ads Manager, scrolls through the 10 candidates if you generated more, picks the 5 to actually flip live. This is the most important step. The AI does not get to ship without you. Five minutes of human judgment kills the 90% of AI output that would have made you cringe in two weeks.
Total wall-clock time for steps 1 through 6: about 25 minutes of compute. Total human time: about 90 minutes including the brief load, the topic decision, the review. Compared to a designer producing 5 ads from scratch: you just saved 8 to 12 hours.
This same one-brief-to-many-assets pattern is the entire point of our piece on content repurposing with AI. Ad creatives are just another output channel for the same underlying engine.
Hook Archetypes: When Each One Wins
Not every archetype works for every audience. Here is the cheat sheet we use.
| Archetype | Pattern | When It Wins | When It Bombs |
|---|---|---|---|
| Curiosity | "What I learned after X..." | New audience, cold traffic, info products | Direct-response e-commerce |
| Contrast | "Most people do X. The pros do Y." | Coaches, experts, premium services | Generic commodity products |
| Pain | "If your X still does Y, here's why..." | Problem-aware audiences, B2B SaaS | Aspirational lifestyle brands |
| Aspiration | "Imagine X. Now imagine it in 30 days." | Fitness, beauty, lifestyle, dreams | Practical B2B, accounting, ops |
| Social proof | "237 [audience] used this last month..." | Late-funnel, retargeting, warm audiences | Cold traffic with no brand recognition |
The single biggest mistake in AI ad creative generation is letting the model dump 30 curiosity hooks because curiosity is what trains data is biased toward. Force the archetype distribution. Six per bucket. Test the spread. The data tells you which archetype your audience responds to, then you weight the next batch toward the winners.
The Creative Variant Output Format
Once the pipeline runs, here is what you actually look at in your review screen. One row per variant. Five rows ready to ship.
| # | Image (Nano Banana) | Hook | Body | CTA | Audience | Status |
|---|---|---|---|---|---|---|
| 1 | Warm-toned coffee shop, person on laptop | "Three things I stopped doing in 2026 to triple my month" | PASTOR body, 4 sentences, signs off with offer | Learn more | Coaches 28-45 | Draft |
| 2 | High-contrast workout floor, no faces | "Most coaches charge by the session. The good ones don't." | PAS body, 3 sentences, contrast frame | Sign up | Coaches 28-45 | Draft |
| 3 | Soft sunrise window, tea, journal | "If you're still emailing leads at 11pm, read this." | PAS body, pain-first, ends with relief | Learn more | Coaches 28-45 | Draft |
| 4 | Bright outdoor stadium, jersey blur | "Imagine signing 4 new clients before July." | AIDA body, aspirational close | Sign up | Coaches 28-45 | Draft |
| 5 | Group of women laughing, cafe table | "237 coaches used this playbook last quarter." | BAB body, social proof close | Learn more | Coaches 28-45 | Draft |
You ship all 5. The daily health check pauses any with CTR below 0.5% after 100 impressions. After 5 days, you have one to two winners. You feed those winners back into the prompt as "these are working, generate 5 more in this style," and the cycle keeps grinding.
Pitfalls: What Will Actually Break This Workflow
I have watched this workflow blow up enough times to have a short list. None of these are theoretical.
Do not ship all 30 variants. The variance across 30 hooks is signal noise. Ten is the cap before you are diluting your own data. Five is the cap before you can't tell what worked. Force the funnel down.
Do not reuse winners on the same audience past frequency 4. Meta will keep serving them and your CTR will collapse. When a winner hits frequency 4, kill it and generate 5 fresh variants in its style. The audience needs a new face every week.
Do not fake testimonials. AI can write a glowing five-star testimonial in three seconds. Do not. FTC endorsement guidelines require testimonials to be from real, identifiable people. Meta has gotten aggressive about removing ads with synthetic testimonials and banning accounts that repeat the offense.
Do not generate before-and-after weight-loss visuals or other body-transformation imagery with AI. Meta's ad policy explicitly rejects AI-generated body transformation ads. You will get an ad rejection, possibly an ad account flag. Use real client photos with consent or don't run that creative angle.
Do not skip the human review step. Even with the best brand brief, roughly 30% of AI output is off-tone, off-brand, or factually wrong about your offer. A five-minute human pass catches it. Without that pass, you ship an ad that promises 30-day results when your real offer is 90 days, and you waste $400 of budget on a creative that converts but creates refund requests.
Do not let the AI write your hero brand statement. The hook is fine. The CTA is fine. The "who you are" line buyers read on your landing page is not. Use AI to clean the grammar. Do not let it invent the story.
Frequently Asked Questions
How much does AI ad creative generation actually cost per month?
For a small business running one to two ad sets, the AI stack itself runs roughly $50 to $100 per month. EMAX Studio's Pro plan at $49 per month covers about 120 credits, which is enough for around 120 post-image variants plus some video reels. Compare that to outsourcing 25 creatives at $40 to $80 each from a freelance designer and the math works after the first batch.
Can I do this with ChatGPT or do I really need a Claude Code workflow?
You can generate hooks and copy with either Claude or GPT. The difference is what happens after the text. A Claude Code workflow ties the text generation to image rendering, video script generation, composite overlay, and the Meta Marketing API push, all in one pipeline. ChatGPT gives you the text. Then you copy, paste, render, overlay, upload by hand. That's where the 8-hour-vs-90-minute gap lives.
Can I generate video ads with image-to-video for Meta?
Yes, and this is one of the highest-leverage uses of the workflow. Take a static AI background, animate it with image-to-video (Veo, Wan, or similar), add the hook overlay and ElevenLabs voice with auto-captions, and you have a 12 to 15 second reel ready for Meta. Video creatives outperform static images on Meta by 30 to 60% on CTR for most audiences in 2026. The reel pipeline costs more credits per asset but the return is usually worth it for any audience under 50.
How do I generate ad creative in multiple languages for international audiences?
The same pipeline runs in all 12 supported languages. Generate the hook in English first, validate the archetype, then translate the top performers with native-quality voice and captions. The Nano Banana image stays the same. The hook overlay re-renders in the target language. The reel voice swaps to a native speaker. This is how a single brief becomes 25 creatives across 4 languages in roughly 45 minutes of compute.
How many hooks should I actually test per audience?
Five live at any time, picked from a generated pool of 30. Less than five and you can't tell which archetype is winning. More than five and your daily budget can't give each ad enough impressions to learn. The 30-pool gives the AI room to explore archetypes. The 5-live keeps each ad above the impression threshold needed to read its signal.
What happens to my CPL when this loop is running for 8 weeks?
In our own EMAX Studio ads and the agency clients we run this loop for, the typical curve is CPL high in week 1 (you're learning), drops 30 to 50% by week 4, and stabilizes at 50 to 70% of starting CPL by week 8. Past week 8, gains get smaller, but the loop keeps the floor under your CPL because creative fatigue can't catch up to a pipeline that refreshes weekly.
The Honest Bottom Line
AI ad creative generation does not replace a strategist. It does not replace the human who reads the brand voice document and decides what the offer actually is. It does not replace the five minutes of judgment that kills the variants the AI gets wrong.
What it does replace is the slowest, most expensive, most boring part of the loop. The "design 25 ad variants by hand" part. The "wait three days for the freelancer" part. The "we only have one creative this month because we ran out of budget" part. Those three bottlenecks are gone for anyone who runs a Claude Code workflow with the steps above.
The small business owners and agencies winning Meta ads in 2026 are not better marketers than they were in 2024. They are out-iterating their competition 5 to 10 times per week with a pipeline that costs less than one freelance designer used to. The gap is going to widen. The math is the math.
If you want to see this loop running on a single platform without writing your own Claude Code agent, that is exactly what we built EMAX Studio for. Free 15 credits to start, no card required, and you can have your first batch of 30 ad creatives generated in about 25 minutes at emax.studio.
Ready to create your own AI video reels?
5 free credits. No credit card required.
Start Creating for Free