Skip to content
Indie Hacker Atlas Generative AI 13 min read

Hassan El Mghari: How Hassan El Mghari Built RoomGPT to $30,000/mo

How Hassan El Mghari built RoomGPT over a single weekend into a viral AI interior design sensation generating $360K ARR with millions of visitors.

Hassan El Mghari Hassan El Mghari
β€’ Solo Founder & Engineer β€’ San Francisco, California, USA β€’ @nutlope
$30,000/mo
Verified MRR
$360,000
Annual Run Rate (ARR)
1 (Solo Founder)
Operating Team
1 month
Time to $10K MRR
⚑

0-to-1 Playbook Blueprint

Verified Metrics: $30,000/mo
How Hassan El Mghari built RoomGPT over a single weekend into a viral AI interior design sensation generating $360K ARR with millions of visitors.
Current Flagship
RoomGPT β†—
Generative AI Β· Bootstrapped Solo
Speed to PMF
1 month
First 100 users: 24 hours
Previous Ventures & Experiments
  • Developer Advocate at Vercel
  • Creator of RestorePhotos.io (1M+ users in two weeks)

Hassan El Mghari is one of the most prolific builders in the generative artificial intelligence ecosystem. Operating as a solo engineer from San Francisco, Hassan built RoomGPT into a viral international phenomenon that has served over 3 million registered users and generated $360,000 in annual recurring revenue ($30,000 monthly) with zero outside capital, zero employees, and an MVP that was built over a single weekend.

While deep-pocketed venture capital firms spent millions trying to build complex 3D interior design software, Hassan combined open-source computer vision models with an intuitive one-click user interface. Homeowners could take a photo of their cluttered living room, choose a style (like Minimalist, Modern, or Scandinavian), and receive a photorealistic redesigned room in under 10 seconds.

Here is the deep tactical story of how Hassan El Mghari captured global consumer attention and turned open-source AI models into a cash-flow printing machine.


The Venture Scorecard: Hassan El Mghari’s Trajectory

ProjectDescriptionLaunch DateScale / OutcomeCore Growth Mechanism
Vercel DevRelDeveloper Advocate at Vercel2021 to 2023Educated thousands of Next.js developersTechnical tutorials & YouTube videos
RestorePhotos.ioAI Old Photo RestorerJan 20231,000,000+ users in 14 daysViral Twitter post & open source repo
RoomGPT Weekend MVPAI Interior Room RemodelerMarch 2023$10,000 in revenue in first 10 daysTikTok & Instagram viral interior trends
RoomGPT ScaleMonetized credit model & B2B APIs2023 to 2026$360,000 ARR ($30K/mo)Perpetual organic search & social discovery

1. The Precursor: The Explosion of RestorePhotos.io

In early 2023, open-source generative AI was undergoing a seismic explosion. Open-source models for image upscaling and facial restoration were circulating on Hugging Face, but using them required installing complex Python environments, CUDA drivers, and running command-line scripts.

Hassan saw an opportunity to bridge the gap between cutting-edge AI research and normal human beings. Over a weekend in January 2023, he wrapped an open-source face-restoration model (GFPGAN) in a clean Next.js frontend and launched RestorePhotos.io.

The result was staggering:

  • Over 1 million people restored blurry family portraits within two weeks.
  • The project went massively viral on Twitter and Reddit.
  • However, RestorePhotos had one major flaw: Hassan made it completely free. As hosting and GPU inference bills mounted, he realized that free consumer utility apps without monetization are financial liabilities.

He resolved that his next project would charge users from minute one.


2. Building RoomGPT in a Single Weekend

In March 2023, the open-source community released ControlNet, a neural network structure that allowed Stable Diffusion to generate images while strictly adhering to geometric spatial contours, edges, and room boundaries.

Hassan immediately realized the consumer application: if ControlNet could preserve the exact structural walls, doors, and windows of a photograph, it could completely re-imagine interior design without breaking the room’s physical layout.

On a Friday evening, Hassan opened his IDE:

  1. Frontend: Next.js App Router with Tailwind CSS and pre-built Tailwind UI components.
  2. AI Inference: Replicate API hosting a ControlNet M-LSD (line segment detection) pipeline paired with Stable Diffusion.
  3. Database & Auth: Supabase Auth with Google OAuth and PostgreSQL to store user generations.
  4. Monetization: Pre-configured Stripe Checkout with credit packages.

By Sunday evening, RoomGPT.io was live.

The Viral Tsunami

Hassan posted a 15-second video on Twitter showing a photo of an empty, dull bedroom transforming into a gorgeous Scandinavian master suite in 8 seconds.

The tweet exploded:

  • Within 24 hours, over 100,000 people visited the site.
  • Interior design influencers on TikTok and Instagram picked up the tool, creating split-screen transformation videos that garnered tens of millions of views.
  • Because Hassan gave users 3 free room redesigns before requiring them to buy credits, conversion was instantaneous.

In its first 10 days, RoomGPT generated over $10,000 in revenue. Within 30 days, revenue passed $30,000.


3. Product Economics & Pricing Strategy

Unlike traditional enterprise SaaS which relies on monthly recurring contracts, RoomGPT adopted an impulse-buy credit pack model optimized for consumer psychology.

PackagePriceCredits IncludedCost per ImageTarget User
Starter Pack$930 Room Generations$0.30 / imageCurious homeowner redesigning a single room
Popular Pack$19100 Room Generations$0.19 / imageCouples buying a new house or renovating
Pro Pack$29200 Room Generations$0.14 / imageReal estate agents & staging professionals
Enterprise / Commercial$79/moUnlimited + Commercial LicenseNegligibleBoutique interior design firms and staging brokers

The GPU Inference Arbitrage

Because Hassan utilized serverless GPU inference via Replicate:

  • Each ControlNet image generation cost Hassan approximately $0.015 to $0.02 in API fees.
  • Selling generations at $0.19 to $0.30 created a staggering 85% to 90% gross profit margin.

4. Hassan El Mghari’s Exact Tech Stack

Hassan designed RoomGPT to handle sudden million-visitor traffic spikes without crashing and without requiring dedicated server maintenance.

LayerTool / TechnologyWhy The Founder Chose It
Frontend FrameworkNext.js 15 & ReactBlazing-fast static assets, edge API routes, and seamless Vercel integration
AI Inference HostReplicate APIServerless GPU scaling; pays only for exact milliseconds of model execution
Database & AuthSupabaseInstant PostgreSQL database, Row Level Security, and frictionless Google login
StylingTailwind CSSRapid visual design without CSS bundle bloat
PaymentsStripe CheckoutOne-click Apple Pay and credit card checkout with zero friction
Hosting & EdgeVercelGlobal CDN caching with instant automatic autoscaling during viral traffic spikes

5. The 3 Tactical Rules for Generative AI Builders

Rule 1: Build the UI Wrapper Normal People Can Actually Use

The greatest value in generative AI is not training proprietary models from scratch; it is taking complex open-source research and packaging it into an intuitive, one-click interface that a grandmother or real estate broker can use on their iPhone.

Rule 2: Offer a Generous Free Taste, Then Charge Upfront

Giving users 3 free high-resolution generations allows them to experience the β€œmagic moment” with zero friction. Once they see their own living room transformed, swiping their card for $9 to unlock 30 more renders feels like an incredible bargain.

Rule 3: Leverage TikTok and Visual Formats for Consumer AI

Generative AI tools are inherently visual and dramatic. Before-and-after transformations are algorithmic gold on TikTok, Instagram Reels, and YouTube Shorts. Design your product so that the output itself is shareable on social media.


Startupbricks Growth Takeaway

Action Step for Founders: If you are building an AI-powered SaaS:

  1. Use serverless API providers like Replicate to keep fixed costs at zero while maintaining 85%+ gross profit margins.
  2. Maximize your cloud runway by claiming up to $100,000 in AWS & Google Cloud credits via the Startupbricks Founder Perks Catalog.
  3. Need expert full-stack engineers to build your production MVP? Discover our 30-Day MVP Engineering & Fractional CTO Services.
Founder Growth Ecosystem β€’ Free Tools & Credits

Building an early-stage startup? Boost your runway.

Unlock over $12.1M in founder perks from AWS, Stripe & 340+ SaaS tools, or explore 900+ indie hackers in our global directory.

Interactive Estimator

Calculate your exact project timeline & budget

Configure your MVP tech stack, team scope, and marketing channels for an instant 2026 cost breakdown in 30 seconds.

Core Tech Stack
Next.js 15 & React (App Router & Tailwind CSS) Replicate API (ControlNet & Stable Diffusion models) Supabase (PostgreSQL & Storage) Vercel Edge Network Stripe Billing
Distribution Channels
Viral TikTok & Instagram Reels Demonstrations Building in Public on X (Twitter) Open Source GitHub Repositories (10,000+ stars) Mainstream Press & Influencer Discovery
Explore More Journeys

More 0-to-1 Indie Hacker Playbooks

View all 900+ makers on World Map β†’
Maker Community SaaS $10,000/mo

Marc Kohlbrugge

How Marc Kohlbrugge built BetaList and WIP.co into a $120K ARR pioneer of maker communities over 14 years with zero full-time staff.

Marc Kohlbrugge
Marc Kohlbrugge Β· BetaList
Social Media SaaS $167,000/mo

Francesco Di Lorenzo

How Francesco Di Lorenzo and Fabrizio Rinaldi built Typefully into a $2.0M ARR creator publishing suite via distraction-free UX and viral watermarks.

Francesco Di Lorenzo
Francesco Di Lorenzo Β· Typefully
Creative Software $200,000/mo

Ivan Kutskir

How solo developer Ivan Kutskir built Photopea into a $2.4M ARR browser-based Photoshop alternative with zero employees and client-side code.

Ivan Kutskir
Ivan Kutskir Β· Photopea

Stop guessing your way to growth. Start building a brand that wins.

Startupbricks replaces four to five different vendors with one integrated growth partner. Brand strategy, digital marketing, SEO, and AI products: all moving together.

  • Brand strategy and visual identity that commands premium pricing
  • Content marketing and SEO that builds long-term organic traffic
  • Performance marketing on Meta, Google, and LinkedIn
  • AI-powered products built in weeks, not months
  • Full pipeline visibility: from awareness to revenue

Hire us as your growth team. Not just another agency.

We support early-stage startups and growing brands alike. Book a free 30-minute strategy call: we'll tell you exactly what's holding your brand back and build a plan around where you are right now.

Early-stage? We offer flexible pricing. No commitment, no pressure.

WhatsApp Get in Touch