****Hi! My name is Sebastian and I run Growthpod. This is one of the many tools we use to help brands scale their meta spend with ad creative. Reach out if you’re looking to scale on Meta.

What You Need

  1. Claude Code — Download at claude.ai/download. It's a terminal app. You type prompts, it does the work.
  2. A Gemini API key (free) — Only needed for video ads. Claude Code handles images on its own.
  3. The video-analyzer.js file — Included with this guide. This is what lets Claude Code analyze video.
  4. Ads saved to your computer — Screenshots, screen recordings, downloaded videos.

Step 1: Get Your Gemini API Key

Skip this if you're only analyzing image ads — no key needed for images.

  1. Go to aistudio.google.com/apikey
  2. Click Create API key
  3. Copy the key — you'll paste it in the next step

The free tier gives you plenty of usage for ad analysis.


Step 2: Set Up the Tool

Save the video-analyzer.js file somewhere on your computer (Desktop is fine).

Open Claude Code and paste this prompt — swap in your actual file path and API key:

I want to set up a video ad analyzer tool. Here's what I need you to do:

1. Create a new folder called "ad-repurposer" in my current project directory
2. Copy the file at [PATH TO YOUR video-analyzer.js FILE] into that folder
3. Run "npm install @google/generative-ai dotenv" inside the ad-repurposer folder to install the dependencies
4. Create a .env file in the ad-repurposer folder with this line: GEMINI_API_KEY=[YOUR_API_KEY]
5. Confirm the setup is complete

Replace [PATH TO YOUR video-analyzer.js FILE] with the actual path (e.g., ~/Desktop/video-analyzer.js) and [YOUR_API_KEY] with your Gemini key from Step 1.

Test It