Room Generator - Create your unique rooms using AI
This is a simple room generator application powered by AI. I am using Replicate for the API and stability-ai/sdxl model. This application uses Convex as a backend service and I built this as a fun project.
git clone https://github.com/musabdev/roomgenerator
CONVEX_DEPLOYMENT="" # Required for development
CONVEX_DEPLOY_KEY="" # Required for production
NEXT_PUBLIC_CONVEX_URL=""
npm install
You have to add Replicate API key as an environment variable in the Convex dashboard. You can check their guide at https://docs.convex.dev/production/environment-variables
REPLICATE_API_TOKEN=""
First, run the development server for Next.js:
npm run dev
Then, run the development server for Convex:
npx run convex
You can change the configuration in src/config/site.ts
file. The 'enable' feature is the most important option that ensures whether the app will work or not.
Open https://localhost:3000 with your browser to see the result. Finally, you have successfully set up the project on your local machine.