explaingit

nutlope/roomgpt

10,653TypeScriptAudience · vibe coderComplexity · 3/5LicenseSetup · moderate

TLDR

RoomGPT is an open-source web app where you upload a photo of a room and receive an AI-generated redesign of the same space in a different style, powered by ControlNet via Replicate.

Mindmap

mindmap
  root((RoomGPT))
    What it does
      Upload room photo
      AI redesign output
      Style transformation
    Tech stack
      Next.js
      Replicate API
      ControlNet model
    Deployment
      Vercel one-click
      Local dev server
    Customization
      Swap AI model
      Add rate limiting
      Change storage
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Clone and deploy your own AI interior design app that shows users their room in a new style.

USE CASE 2

Use RoomGPT as a starter to build a niche redesign app for offices, retail spaces, or outdoor areas.

USE CASE 3

Launch your own copy on Vercel in minutes with the one-click deploy button to experiment with ControlNet image generation.

USE CASE 4

Learn how to integrate Replicate's AI model API and Bytescale file uploads into a Next.js application.

Tech stack

TypeScriptNext.jsReactReplicateBytescale

Getting it running

Difficulty · moderate Time to first run · 30min

Requires a Replicate account and API key, optional Upstash Redis for rate limiting.

Use freely for any purpose including commercial products, as long as you include the MIT license notice.

In plain English

RoomGPT is a web app that lets you upload a photo of a room and receive an AI-generated redesign of that same space. You take a picture of your bedroom, living room, or any other room, and the app returns a new version of it in a different style. Under the hood, the app sends your uploaded photo through a machine learning model called ControlNet, which generates a variation of the room while preserving its basic structure and layout. The model runs on Replicate, a platform for hosting AI models via API. Image files are stored using Bytescale. The web app itself is built with Next.js, a JavaScript framework for building websites. This repository is the original open-source version of RoomGPT, released before the paid SaaS product at roomGPT.io was built. It does not include user accounts, payment processing, or the additional features added to the commercial version. According to the README, it is intentionally simple so that developers can clone it, set it up quickly, and experiment. To run it yourself, you create an account on Replicate to get an API key, add that key to a local environment file, install the dependencies, and start the development server. There is also a one-click deploy button for Vercel, which lets you publish your own copy of the app to the web without setting up a server manually. Optional rate limiting can be added by connecting a Redis database through Upstash. The code is released under the MIT license.

Copy-paste prompts

Prompt 1
I cloned RoomGPT. Show me how to swap the ControlNet model on Replicate for one that produces a minimalist or industrial style.
Prompt 2
Walk me through adding Upstash Redis rate limiting to RoomGPT so each user can only generate three redesigns per day.
Prompt 3
I want to add a style selector dropdown to RoomGPT with options like Modern, Bohemian, and Scandinavian. Write the React component and update the API call.
Prompt 4
Show me how to replace Bytescale with Cloudflare R2 for image storage in the RoomGPT codebase.
Open on GitHub → Explain another repo

← nutlope on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.