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.
0-to-1 Playbook Blueprint
- 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
| Project | Description | Launch Date | Scale / Outcome | Core Growth Mechanism |
|---|---|---|---|---|
| Vercel DevRel | Developer Advocate at Vercel | 2021 to 2023 | Educated thousands of Next.js developers | Technical tutorials & YouTube videos |
| RestorePhotos.io | AI Old Photo Restorer | Jan 2023 | 1,000,000+ users in 14 days | Viral Twitter post & open source repo |
| RoomGPT Weekend MVP | AI Interior Room Remodeler | March 2023 | $10,000 in revenue in first 10 days | TikTok & Instagram viral interior trends |
| RoomGPT Scale | Monetized credit model & B2B APIs | 2023 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:
- Frontend: Next.js App Router with Tailwind CSS and pre-built Tailwind UI components.
- AI Inference: Replicate API hosting a ControlNet M-LSD (line segment detection) pipeline paired with Stable Diffusion.
- Database & Auth: Supabase Auth with Google OAuth and PostgreSQL to store user generations.
- 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.
| Package | Price | Credits Included | Cost per Image | Target User |
|---|---|---|---|---|
| Starter Pack | $9 | 30 Room Generations | $0.30 / image | Curious homeowner redesigning a single room |
| Popular Pack | $19 | 100 Room Generations | $0.19 / image | Couples buying a new house or renovating |
| Pro Pack | $29 | 200 Room Generations | $0.14 / image | Real estate agents & staging professionals |
| Enterprise / Commercial | $79/mo | Unlimited + Commercial License | Negligible | Boutique 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.
| Layer | Tool / Technology | Why The Founder Chose It |
|---|---|---|
| Frontend Framework | Next.js 15 & React | Blazing-fast static assets, edge API routes, and seamless Vercel integration |
| AI Inference Host | Replicate API | Serverless GPU scaling; pays only for exact milliseconds of model execution |
| Database & Auth | Supabase | Instant PostgreSQL database, Row Level Security, and frictionless Google login |
| Styling | Tailwind CSS | Rapid visual design without CSS bundle bloat |
| Payments | Stripe Checkout | One-click Apple Pay and credit card checkout with zero friction |
| Hosting & Edge | Vercel | Global 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:
- Use serverless API providers like Replicate to keep fixed costs at zero while maintaining 85%+ gross profit margins.
- Maximize your cloud runway by claiming up to $100,000 in AWS & Google Cloud credits via the Startupbricks Founder Perks Catalog.
- Need expert full-stack engineers to build your production MVP? Discover our 30-Day MVP Engineering & Fractional CTO Services.
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.
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.