One prompt. 4 sub-projects. A live app at makethumbs. Every step, every error, every decision. Even the features I've added after the build.

By Gencay

Published: 2026-05-01

URL: https://www.learnwithmeai.com/p/claude-code-build-ship-repeat-1-i


2 weeks ago, I promised you a new series. Claude Code: Build. Ship. Repeat.

I was excited. I was also scared.

What if you don’t care? What if nobody reads it? What if I build 7 apps and the series dies at #2?

I’ll take that bet.

Because here’s what I believe.

If AI is as powerful as everyone says it is, as I said, it should be able to help one person build a real product.

A product that people pay for.

If it can’t do that, then what are we all doing here?


Then something happened I didn’t expect.

After the manifesto post, professionals reached out.

They wanted to contribute to this series.

So here’s how this works.

I’ll write two posts per month.

The first post, this one, is the build.

How I made it. Every prompt, every decision, every error.

The second post comes at the end of the month. May 31, 2026.

That’s the “After Ship” post.

How I promoted the app. What the numbers say. What real users think. And whether I keep it or kill it.

The professionals who reached out?

They’re joining that second post. Real feedback from real people on a real product.

If you want to contribute, reach out to me via DM, especially marketing specialist.

What We’re Building

\Reference\

This is makethumbs.com.

Here how the entire website is working.

And here is one of the use case.

This is live.

Here is the link.

How I Picked the First App

I have too many ideas. I discuss all of them with my wife, .

She has the best intuition of anyone I’ve met.

That’s why I listen to her.

On one of our daily walks, she reminded me that two potential clients had already asked me to build this.

A thumbnail generator. People wanted it before I even started.

Earlier this week, I built a prototype with Codex and ChatGPT Image 2.0. 29 minutes. 3 errors. One working app.

My original plan was a different app for the series.

But Yevheniya saw the prototype and said this is the one.

I pushed back. When it comes to business decisions, I can be stubborn.

But she was right. She’s usually right.

So I started working on it.

What’s next?

Now I know what you want.

The one prompt that builds the whole thing.

I’ll give it to you.

But first, you need to understand what happens before and after that prompt. Because building the app is 30% of the work. Making it live, making people find it, making them pay, that’s the other 70%.

Let me show you how I planned this.

Before Building: The Planning

I know the product. A thumbnail generator. But the first version won’t be perfect. That’s hard for me. When I commit to something, I want it to be the best.

First step, find a name. I need a domain.

I asked Claude for suggestions. Every single name was taken.

All parked. All building the same thing I planned to build.

So I did what any reasonable person would do. I visited all of them. Took screenshots. Studied their UI, their pricing, their features.

Call it research. Call it intel.

Either way, knowing what the market expects before you build saves you from guessing later.

Before Building: Our Stack

Before building, let me introduce you to the stack.

The Avengers.

1. GitHub

This is where your code lives.

Go to GitHub. Sign up. Create a new repo.

Then go to Settings > Developer Settings > Personal access tokens > Classic.

Generate a new token. Select “repo” and “workflow” scopes.

And click on generate.

Save that token. You’ll give it to Claude Code so it can push your code.


After finishing Building: Q&A, you have to upload the file from your Claude using the token with this prompt:

Here is my github : < >
Here is my token : < >
Put everything to this github using this token and save this token to the .env

And done.

2. Vercel - This is where your code runs

Vercel is the place where your code runs.

Vercel is free and powerful.

Sign up, connect your GitHub repo, and every push deploys automatically.


After finishing Building: Q&A, you need to connect Vercel with GitHub like this.

(Click on Project)

Here is the Git repo I have to select.

And started.

PS: Don’t forget to add your .env variables here once you get them, such as API keys. For more info, check your .env file or ask Claude to help with the .env credentials.

And here it is.

Here your app is ready.

Now let’s add the domain to it.

(I already got my domain in the next step, 3.)

Go to domains, paste your domain and click on add existing.

And save it.

Here they are, the looks invalid because we have to add these to AWS.

All you need to do is click “Learn more”, get the values from here and save them to AWS.

Let me show you how in the next step.


3. AWS - This is the domain of your website

This is your custom domain.

I tested 3-4 registrars. AWS Route 53 is fast and clean.

I like how AWS is working.

You can reach everything inside it very fast from Route 53

Go here: Route 53 > Registered Domains > Register Domain

And paste the name you want. Here is the one I chose: makethumbs.com

(After conversation with Claude)

Let’s buy.

And here.

Now we have our custom domain.


Now let’s add clerk values to here, by clicking on the “Hosted zones” on the aws at first, and your domain next.

Next, click on create record.

And add A and CName you copied from Vercel.

Go back to vercel and click on “Refresh.”

Done and done!

4. Clerk

This is how people sign in.

Steps you must follow

  1. Go here and sign up for free.
  2. Create a new project.
  3. Choose the sign-in options.
  • In v1, I don’t add Google sign-in, because this needs one more step inside google console.

  1. Click on Create application.

And your project is ready!

Next, to take your credentials, click on configure.

And API keys.

Copy your api key by clicking here.

And paste it to the Q3 above.


After finishing Building: Q&A, you need to go to Production server, from here.

Click on “Create production instance” and clone from development.

After development will created, get new keys and make sure adding those keys to;

  • Local .env file
  • Vercel (environment variables)

Next, head to the Domains once again and click on DNS configuration.

And add those new Cnames to the AWS.

And click verify configuration and here you go.

5. Supabase

This is where your data lives.

1- Go here and sign up.

2- Click on “Create organization.”

3- Click on Create New Project.

Now your DB is ready, but you are not finished.

5- Click on SQL editor.

And copy this code.

create table users (
id text primary key,
email text,
credits integer default 20,
credits_expire_at timestamp default (now() + interval ‘30 days’),
created_at timestamp default now()
);
alter table users enable row level security;
create policy “Users can read own data”
on users for select
using (auth.jwt() ->> ‘sub’ = id);

6- Click on run.

This means your DB is ready now.

The code above creates the DB with the field needed.

7- Go to Project Settings/API Keys

And copy all the publishable and secret API keys, plus the legacy anon and service\_role API keys.

When you want to extend your database, you can do it via Claude Code after giving it the credentials.

8- Get the project URL.


But what about getting payments?

Let’s use Stripe for this.

6. Stripe

This is how people pay.

Sign up for Stripe. Go to Settings > Developers > API Keys. Copy your publishable and secret keys.

Click on API keys.

Take your secret and publishable key.

Next, go to webhooks.

Here are the specs.

Now save your webhook and API keys.

Next, create your products.

I have three products.

Take the price ID for each of these products and save.

PS: I created this app for another project in January and later adapted it for this one, which is why the Ultimate and Pro plans were set up back then.


While testing, take test keys by switching to test mode first.

Before Building: Claude Code Project Setup (CLAUDE.md)

I created a new folder. Named it “Thumbnail.” I still don’t have a final name for the app. That comes later.

Opened it in VS Code.

If you don't know how to set up Claude Code in VS Code, I wrote a detailed guide here.

Now the important part. Every Claude Code project needs a brain. That brain is CLAUDE.md.

This is the file that tells Claude Code everything about your project. The tech stack, the features, the file structure, the database schema, the API routes. Everything.

Here’s mine.

# CLAUDE.md — Thumbnail Generator App
## What This Is
AI-powered thumbnail generator for YouTube, LinkedIn, and X. Users upload a face image, optionally add a reference YouTube video or logo, pick a mood and style, and get AI-generated thumbnails.
Part of the "Claude Code: Build. Ship. Repeat." series on LearnAIWithMe Substack.
## Tech Stack

- \*\*Frontend:\*\* Next.js + TypeScript + Tailwind CSS

- \*\*Backend:\*\* Next.js API routes

- \*\*Auth:\*\* Clerk

- \*\*Database:\*\* Supabase (user data, generation history, credits)

- \*\*Payments:\*\* Stripe (subscription + credit packs)

- \*\*Image Generation:\*\* OpenAI gpt-image-2 (ChatGPT Image 2.0)

- \*\*Reference Analysis:\*\* Google Gemini 2.5 Pro API (analyze YouTube thumbnails, extract style/layout/colors)

- \*\*Hosting:\*\* Vercel

- \*\*Domain:\*\* AWS Route 53

- \*\*Repo:\*\* GitHub
## Features
### Core Flow
1. User uploads face image (required)
2. User enters reference YouTube URL (optional). Gemini API fetches the video thumbnail and analyzes it (layout, colors, text placement, style, mood)
3. User optionally picks from popular YouTuber styles as reference (see Creator Presets below)
4. User optionally uploads logo for branding
5. User enters title text (optional)
6. User selects platform (YouTube / LinkedIn / X)
7. User selects mood (Funny, Emotional, Educational, Inspirational, Tech, Review, Tutorial, Storytime, High Energy, Luxury, Calm, Controversial)
8. User optionally picks color theme / brand colors (primary, accent, highlight hex values)
9. User optionally picks design style (Modern, Minimalist, Bold, Cinematic, Neon, Clean, Retro)
10. User selects image model (Fast = 3 credits, ~30-60s / Premium = 6 credits, ~60-120s)
11. User clicks Generate → 3 thumbnail variants out
12. User downloads as PNG
### How the Two APIs Work Together
\*\*Gemini 2.5 Pro (Reference Analysis)\*\*

- Input: YouTube URL or creator preset

- Process: Fetches thumbnail image from YouTube URL → sends to Gemini Vision API → extracts structured analysis (layout, text position, face position, color palette, style, mood, what makes it clickable)

- Output: JSON style guide that feeds into the image generation prompt
\*\*ChatGPT Image 2.0 / gpt-image-2 (Thumbnail Generation)\*\*

- Input: Face image + Gemini style analysis + user selections (mood, colors, title, style)

- Process: Builds a detailed prompt from all inputs → sends face image + prompt to gpt-image-2

- Output: 3 thumbnail variants as PNG
### Creator Presets (Popular YouTuber Styles)
Pre-analyzed styles from top creators. User picks one as a starting point instead of providing a URL.

- MrBeast (bold text, bright colors, exaggerated expressions)

- MKBHD (clean, minimal, red accents, tech aesthetic)

- Ali Abdaal (warm tones, friendly, educational)

- Fireship (dark background, code aesthetic, sharp text)

- Linus Tech Tips (blue/orange, product-focused, bold)

- Custom (user provides their own YouTube URL)
These presets are pre-built Gemini analysis JSONs stored in the codebase. No API call needed when a preset is selected.
### Branding

- User can set brand colors (primary, accent, highlight) as hex values

- Optional logo upload (placed in corner of generated thumbnails)

- Brand colors override mood-based color suggestions when set
### Platform Sizes

- YouTube → 1280x720 (16:9)

- LinkedIn → 1200x627 (1.91:1)

- X (Twitter) → 1600x900 (16:9)
### Auth (Clerk)

- Sign up / Sign in

- Google OAuth + email

- User profile
### Credits System (Supabase + Stripe)

- Free tier: 20 credits on signup, 30 days expiry

- Fast generation: 3 credits

- Premium generation: 6 credits

- Paid plans via Stripe (TBD pricing)
### User Dashboard

- Generation history (last 20)

- Credits remaining

- Download past thumbnails
## Design References

- SnapThumb (snapthumb.me) — brand personality, color themes, polished dark UI

- ThumbForge (thumbforge.io) — video upload, mood selector, forge concept

- ThumbSmith (thumbsmith.com) — simple approach
We take: dark mode UI, mood selector, platform selector, credit-based model, simple onboarding.
We skip: brand personality archetype quiz, multi-step onboarding, video upload (we do image + URL only).
## File Structure

/

├── app/

│ ├── page.tsx # Landing / Generate page

│ ├── layout.tsx

│ ├── sign-in/[[...sign-in]]/

│ ├── sign-up/[[...sign-up]]/

│ ├── dashboard/

│ │ └── page.tsx # History + credits

│ └── api/

│ ├── generate/route.ts # POST — generate thumbnails

│ ├── analyze/route.ts # POST — Gemini analyzes YouTube thumbnail

│ ├── webhooks/stripe/route.ts

│ └── webhooks/clerk/route.ts

├── components/

│ ├── PlatformSelector.tsx

│ ├── FaceUpload.tsx

│ ├── ReferenceUpload.tsx

│ ├── CreatorPresets.tsx # Popular YouTuber style picker

│ ├── MoodSelector.tsx

│ ├── StyleSelector.tsx

│ ├── ColorPicker.tsx

│ ├── BrandingPanel.tsx # Brand colors + logo upload

│ ├── TitleInput.tsx

│ ├── ModelSelector.tsx

│ ├── GenerateButton.tsx

│ ├── VariantGrid.tsx

│ └── CreditsBadge.tsx

├── lib/

│ ├── supabase.ts

│ ├── stripe.ts

│ ├── openai.ts

│ ├── gemini.ts # Gemini Vision API for thumbnail analysis

│ ├── youtube.ts # Extract thumbnail URL from YouTube video URL

│ ├── prompts.ts

│ └── creator-presets.ts # Pre-built Gemini analysis JSONs for popular creators

├── types/

│ └── index.ts

├── public/

├── .env.local

├── package.json

├── tailwind.config.ts

└── README.md


## Environment Variables

NEXT\PUBLIC\CLERK\PUBLISHABLE\KEY=

CLERK\SECRET\KEY=

NEXT\PUBLIC\CLERK\SIGN\IN\_URL=/sign-in

NEXT\PUBLIC\CLERK\SIGN\UP\_URL=/sign-up

NEXT\PUBLIC\SUPABASE\_URL=

NEXT\PUBLIC\SUPABASE\ANON\KEY=

SUPABASE\SERVICE\ROLE\_KEY=

STRIPE\SECRET\KEY=

STRIPE\WEBHOOK\SECRET=

NEXT\PUBLIC\STRIPE\PUBLISHABLE\KEY=

OPENAI\API\KEY=

GEMINI\API\KEY=

NEXT\PUBLIC\APP\_URL=


## Supabase Tables

-- Users (synced from Clerk webhook)

create table users (

id text primary key,

email text,

credits integer default 20,

credits\expire\at timestamp,

created\_at timestamp default now()

);

-- Generations

create table generations (

id uuid primary key default gen\random\uuid(),

user\_id text references users(id),

platform text,

mood text,

style text,

color\_theme text,

reference\_url text,

reference\_analysis jsonb,

creator\_preset text,

title\_text text,

model text,

credits\_used integer,

variants jsonb,

created\_at timestamp default now()

);

-- Payments

create table payments (

id uuid primary key default gen\random\uuid(),

user\_id text references users(id),

stripe\session\id text,

amount integer,

credits\_added integer,

created\_at timestamp default now()

);


## Build Order
1. Next.js scaffold + Tailwind + Clerk auth
2. Supabase tables + connection
3. Landing page UI (dark mode, all selectors, creator presets)
4. Gemini API integration (YouTube URL → thumbnail fetch → style analysis)
5. OpenAI gpt-image-2 integration (/api/generate) using Gemini analysis as prompt input
6. Variant grid + download
7. Credits system (deduct on generate, show remaining)
8. Stripe integration (checkout + webhook)
9. Branding panel (brand colors + logo)
10. Dashboard (history + credits)
11. Vercel deploy + custom domain
12. Polish (loading states, error handling, responsive)
## Constraints

- OpenAI Node SDK, not raw HTTP

- Google Generative AI SDK for Gemini

- All API keys from .env.local

- Validate images: PNG/JPG only, max 10MB

- Handle OpenAI safety filter errors gracefully

- Handle Gemini API errors gracefully (fall back to mood-only generation if analysis fails)

- Mobile responsive

- No unnecessary dependencies

Yes, it’s long. Here’s why.

I didn’t write this myself. I used claude.ai to brainstorm it. I sent it screenshots of the competitors. I told it my tech stack. I explained what the market looks like. We went back and forth.

Then I told Claude to turn our entire conversation into a CLAUDE.md file.

Why this approach instead of prompting Claude Code directly?

Two reasons.

First, if something breaks mid-build and you need to start a new chat, CLAUDE.md carries your context forward. Nothing is lost.

Second, Claude Code reads this file every time it starts. It remembers your decisions without you repeating them.

Here’s the prompt to create it.

Add following to the Claude.MD for this project ;
<Paste the Claude.md above>

It will ask for your approval.

Approve it.

Prerequirements

Two API keys before we start.

Once you have both, paste this into Claude Code.

Save these keys to .env

Claude Code will create a .gitignore file automatically. Your keys stay local. They never touch GitHub.

Hint: Add spending limit to your keys anyway for extra precautions.

Now we build.

The Design Skill (awesome-design-md)

Before building the app, let’s get some help.

I am not a frontend developer and never have been, so the app I am going to create will probably be for really beginners.

But to surpass this, we’ll use this skill: https://github.com/VoltAgent/awesome-design-md

This will help us.

How to build it?

Use this prompt.

Build this skill : https://github.com/VoltAgent/awesome-design-md

Since I already have another skill, named Superpowers, it helps me to build it as I want.

Read this to learn more about Superpowers.

After answering its answers, the skills is ready.

After installing the design skill, tell your app to update the Claude.MD, so the project knows where this skill lays.

Update the claude.md by specifying where the skills are located. Also, when I ask to use the design skill, it should be able to find it.

Now we need a prompt, right, to build this app?

Let me give you this.

Also, I have to say, I am also building with you right now; nothing is ready, so this might be the most real setup you’ll ever see.


The One Prompt

Now it is time to set up this app.

Here is the prompt.

# Build Prompt — Thumbnail Generator App
Paste this into Claude Code. One shot.
---
Read CLAUDE.md first. That's your spec.
Now build the entire app from scratch. Here's what I need.
## Step 0: Design System
Use the design skill already configured in this project. Follow the DESIGN.md for all styling decisions. Every component you build follows this design system.
## Step 1: Scaffold
Create a Next.js 14+ app with App Router. TypeScript. Tailwind CSS. Install these dependencies:

- @clerk/nextjs (auth)

- @supabase/supabase-js (database)

- stripe (payments)

- openai (image generation)

- @google/generative-ai (Gemini for thumbnail analysis)
Set up the file structure exactly as defined in CLAUDE.md.
Create .env.local with all the environment variable placeholders from CLAUDE.md. I'll fill in the values.
## Step 2: Landing Page
Build the main landing page with these sections:
### Hero

- Headline: "AI Thumbnails That Get Clicks"

- Subheadline: "Upload your face. Pick a style. Get 3 thumbnails in 60 seconds. YouTube, LinkedIn, X."

- CTA button: "Generate Your First Thumbnail — Free"

- Show a grid of 3 example thumbnails (use placeholder images for now)
### How It Works
Three steps, horizontal on desktop, vertical on mobile:
1. "Upload & Choose" — Upload your face, pick a mood and style
2. "AI Generates" — Gemini analyzes your reference, ChatGPT Image 2.0 creates variants
3. "Download & Post" — Pick your favorite, download as PNG, post it
### Pricing
Two tiers, card layout:
\*\*Free\*\*

- 20 credits on signup

- Fast model (3 credits per generation)

- 3 variants per generation

- Community support

- CTA: "Start Free"
\*\*Pro — $9/month\*\*

- 200 credits per month

- Fast + Premium model access

- 3 variants per generation

- Priority generation queue

- Brand colors and logo

- Generation history

- CTA: "Go Pro"
\*\*Credit Pack — $5 one-time\*\*

- 50 extra credits

- Works with any plan

- Never expires

- CTA: "Buy Credits"
### FAQ
Collapsible accordion. Questions:

- "What AI models do you use?" — "Gemini 2.5 Pro analyzes reference thumbnails for style and layout. ChatGPT Image 2.0 (gpt-image-2) generates the final thumbnails with your face and preferences."

- "What's the difference between Fast and Premium?" — "Fast uses 3 credits and takes 30-60 seconds. Great image quality with smart creative direction. Premium uses 6 credits and takes 60-120 seconds. Best results on the market with maximum image quality."

- "Can I use my own branding?" — "Yes. Pro subscribers can set brand colors (primary, accent, highlight) and upload a logo. These are applied to every thumbnail you generate."

- "What platforms are supported?" — "YouTube (1280x720), LinkedIn (1200x627), and X/Twitter (1600x900). Each platform gets the correct aspect ratio automatically."

- "Do credits expire?" — "Free credits expire after 30 days. Monthly Pro credits refresh each billing cycle. Purchased credit packs never expire."

- "Can I clone someone's thumbnail style?" — "Yes. Paste a YouTube URL and our AI analyzes the thumbnail's layout, colors, and style. Then it generates new thumbnails in that style with your face and title."
### Footer

- Links: Home, Pricing, FAQ, Terms, Privacy

- "Built with Claude Code" badge

- "Part of Build. Ship. Repeat. series on LearnAIWithMe"
## Step 3: Auth
Set up Clerk with:

- Sign in page at /sign-in

- Sign up page at /sign-up

- Google OAuth + email sign up

- Middleware protecting /generate and /dashboard routes

- Clerk webhook at /api/webhooks/clerk that creates user in Supabase with 20 free credits and 30-day expiry
## Step 4: Generator Page (/generate)
This is the main app. Left panel inputs, right panel results. Dark mode.
Left panel (inputs), top to bottom:
1. \*\*Face Upload\*\* — drag and drop or click. Required. Show preview after upload. PNG/JPG, max 10MB.
2. \*\*Reference\*\* — two options in tabs:

- "YouTube URL" tab: paste a YouTube URL. Button: "Analyze Style". Shows loading while Gemini processes. Shows extracted style summary after analysis.

- "Creator Presets" tab: grid of creator cards (MrBeast, MKBHD, Ali Abdaal, Fireship, Linus Tech Tips). Click one to select. Show selected state.
3. \*\*Logo Upload\*\* — optional. Drag and drop. Small preview.
4. \*\*Title\*\* — text input. Optional. Placeholder: "Your thumbnail title..."
5. \*\*Platform\*\* — three buttons: YouTube, LinkedIn, X. Default: YouTube.
6. \*\*Mood\*\* — pill selector, wrapping. Options: Funny, Emotional, Educational, Inspirational, Tech, Review, Tutorial, Storytime, High Energy, Luxury, Calm, Controversial. Default: none.
7. \*\*Design Style\*\* — dropdown. Options: Modern, Minimalist, Bold, Cinematic, Neon, Clean, Retro. Default: Modern.
8. \*\*Brand Colors\*\* — three color pickers (primary, accent, highlight). Optional. Only visible for Pro users.
9. \*\*Model\*\* — two cards side by side:

- Fast: "3 credits • ~30-60s • Great quality"

- Premium: "6 credits • ~60-120s • Best quality" (locked for free users, show upgrade badge)
10. \*\*Generate Button\*\* — "Generate Thumbnails ✦" Full width. Shows credits remaining. Disabled if no face uploaded or insufficient credits.
Right panel (results):

- Before generation: empty state with "Your thumbnails will appear here"

- During generation: skeleton loader with progress message

- After generation: 3 thumbnail variants in a grid. Click to expand fullscreen modal. Download button on each. Correct aspect ratio per platform.
## Step 5: API Routes
### POST /api/analyze

- Receives YouTube URL

- Extracts video ID, fetches thumbnail URL (https://img.youtube.com/vi/{ID}/maxresdefault.jpg)

- Sends thumbnail to Gemini 2.5 Pro Vision with prompt: "Analyze this YouTube thumbnail. Return JSON with: layout (text position, face position, element arrangement), color_palette (array of hex colors used), style (modern/bold/minimal/cinematic/etc), mood (energetic/calm/professional/etc), text_treatment (font style, size impression, effects), what_makes_it_clickable (brief analysis). Be specific and detailed."

- Returns structured analysis JSON
### POST /api/generate

- Receives: face_image, platform, mood, style, color_theme, title, reference_analysis (from Gemini or preset), model_tier, logo (optional)

- Validates inputs and image size

- Checks user credits in Supabase. If insufficient, return 402.

- Builds prompt combining all inputs. Reference analysis from Gemini feeds into the style description.

- Calls OpenAI gpt-image-2 with face image + built prompt. Generates 3 variants.

- Stores generated images in Supabase Storage

- Deducts credits from user

- Saves generation record to Supabase (all metadata + variant URLs)

- Returns variant image URLs
### POST /api/webhooks/stripe

- Handles checkout.session.completed

- Adds credits to user based on price ID (Pro subscription = 200 credits + set plan, Credit pack = 50 credits)
### POST /api/webhooks/clerk

- Handles user.created

- Creates user row in Supabase with 20 credits, 30-day expiry
## Step 6: Supabase
Create all tables from CLAUDE.md. Also set up:

- Supabase Storage bucket "thumbnails" for generated images (public read)

- Row Level Security policies: users can only read their own generations and payments
## Step 7: Stripe

- Create checkout session for Pro plan ($9/month) and Credit Pack ($5 one-time)

- Stripe Customer Portal for subscription management

- Webhook handling for payment confirmation

- Show current plan and credits on dashboard
## Step 8: Dashboard (/dashboard)

- Credits remaining with visual bar

- Current plan (Free / Pro)

- "Buy Credits" and "Upgrade to Pro" buttons

- Generation history: last 20 generations as a grid. Each shows the 3 variants, platform, mood, date. Click to expand and re-download.
## Step 9: Polish

- Loading states everywhere (skeleton loaders, not spinners)

- Error handling with toast notifications

- Mobile responsive (single column on mobile)

- Meta tags and OG image for the landing page

- Favicon

- 404 page
## Important Notes

- Follow the design skill for all styling. Dark mode, precision, elegance.

- Dark mode by default. No light mode toggle needed.

- Use Geist font (from Vercel's design system).

- All API calls must have proper error handling. If Gemini fails, fall back to mood-only generation.

- Creator presets are pre-built JSON objects in lib/creator-presets.ts. No API call needed for presets.

- The Generate button must show remaining credits and be disabled when credits are insufficient.
Build it all. One pass. Let's go.

Let’s paste it and let’s see what will happen.

The superpowers:brainstorming skill activate.

Now we’ll answer its questions.

Building: Q&A + Sub-projects

Now we have everything we need, let’s start building this project.

Sub project-1.

Let’s start with the Sub project 1.

Now the project asked me 15 questions, but I am going to ask you just the most important ones.

### Q1.

Here is my answer;

C)

Let’s finish the v1 first.

Let’s select A.

Q2

IT wants clerk authentication.

We’ll use Clerk, to let people sign-in to our website, which I’ll cover it.
To see it, now go the step 4 from the Our Stack below

And use this;

Here are my keys (paste your keys)

Q3

Supabase is the place where we’ll store all of our information, meaning the DB. It is free and I showed you how to sign-up and insall in Our Stack- 7 below.

Here is the prompt I used.

Here are my keys.
Here is the SQL code that I used to create DB(Our Stack -7)
Here is the project URL.

Since I’ll update the website a lot after, as you probably will, let’s select D.

The questions are finished(asked 8 of them)

Now it wants my approvel about the designs, which I will.

Let’s approve.

Look right.

One caveat: it wants to test the app with Playwright, which is amazing.

I approve, so Claude can go browser and test for me.

Yes add the playwright smoke test

Also, playwright-cli let’s you test the app through Claude Code.

I’ve explained playwright-cli in this one.

After the questions are finished, it creates the tasks and assign sub agents to do it.

There are 24 steps, defined based on our answers.

Let’s approve them all.

And sub project 1 is shipped.

Let’s check the website. Here it is.

Very neat and minimalist.

But only the sub project 1 is ready, let’s see what the sub projects 2, 3, and 4 are.

Sub project-2

Before testing, let’s finish them too.

I want it to start sub-project #2.

And here it started.

And it asked me to create a visual companion md.

I think that’s how we’ll decide how image generation page will look like.

Q1

Let’s select C.

Q2

Now it asks me this, but it also shows what the output will look like.

I selected B.

Now even the testing method has changed.

Q3-4 are not too important questions to show.

But in the Q5, it wants me to run this code inside Supabase.

Q5

It will manipulate the database.

But it can’t do this; it gave me the link, so I visited here and pasted the code.

And done!.

Next, it started writing the implementation plan.(with sub agents.)

It is ready too. Now let’s pass this to the sub agents.(1)

New to-do list.

29 tasks. Let’s wait for it to be implemented.

And it has finished.

We have 2 projects left.

Sub project-3

Next project, new questions.

Let’s start with the Q1.

Q1

It will ask for Stripe keys. You already have them.

Here is the plan after 8 questions.

And it has finished.

Sub project-4

We have one sub-project left, let’s start.

Q1

Let’s select A. We don’t need more sub-projects.

All questions are related to the design choices so I am skipping them.

Here are to-dos.

And done.

The Features I’ve Added

After the four sub-projects shipped, I kept building.

Here’s everything that didn’t make the original spec but ended up in the live app.

3-Mode System (v2 Redesign)

The 4-step wizard was clean. It was also slow.

I scrapped it. Now the generate page is one screen with three modes:

  • Clone: paste a YouTube/LinkedIn/Instagram URL, get the same style with your face
  • Preset: pick from 5 curated styles (Bold Creator, Clean Business, Viral Breakdown, Minimal Premium, Tech Launch)
  • Hybrid: mix a preset with your own overrides (background, expression, framing)

Single gpt-image-2 call. Flat 6 credits per generation. Gemini analysis is gone.

Instagram Replaced X

X was 1600x900. Nobody posts thumbnails on X.

Instagram is 1080x1080 (square). Real demand, real platform.

Apify Scrapers (LinkedIn + Instagram)

This is the one I’m most proud of.

YouTube thumbnails are easy, the URL gives you the image. LinkedIn and Instagram don’t. They block scrapers, hide images behind auth, return empty HTML.

I went to Apify.com, signed up, grabbed an API token.

Then I wired up two actors per platform: a main one and a fallback. If the main fails, the fallback runs.

For LinkedIn, the URL gets parsed for the username and activity ID. Apify scrapes the profile’s recent posts, finds the matching one, returns the image bytes. For Instagram, the post URL goes straight to Apify’s instagram-post-scraper actor.

This is Pro+ only. Free users stick to YouTube URLs.

Why Apify? Because I tried building scrapers myself. LinkedIn’s anti-bot is brutal. Instagram changes their HTML weekly. Apify handles all of it for me. A few cents per scrape. Worth every cent.

Email Confirmations (Resend)

When someone subscribes to Pro, they get a welcome email. Not on monthly renewals, just on the first invoice.

Resend handles it. Free tier covers everything I need right now.

Contact Form

Landing page + dashboard both have a contact form. Resend forwards every message to my inbox with reply-to set to the user’s email. So I just hit reply.

This is how the marketing specialists who reached out will keep reaching out.

Hard Delete Account

User clicks Delete. We cancel their Stripe subscription, delete their Stripe customer, wipe every thumbnail from storage, drop their rows from generations + payments + users, and delete their Clerk account.

You have to type “I want to delete my account” first. No accidents.

Real Before/After on Landing

Used to be a placeholder. Now it’s the actual raw photo I uploaded next to the actual thumbnail the app generated. Orange arrow between them.

Real product, real output. No lies.

Faceless Mode

Face image used to be required. Now it’s optional in Preset mode. Some people want a thumbnail without a face. The app switches from images.edit to images.generate when there’s no face.

What’s Next

This is Build. Ship. Repeat. #1.

The app is live. Next month, I will write the “After Ship” post. Cold outreach. User feedback. Revenue numbers.

The truth about whether anyone actually uses this thing.

App #2 is already in my head. Different problem. Same stack. Same process.

Subscribe to see every build.

Every prompt. Every deployed app.

You learned how to prompt.

Now let’s build.