AI Interior Design lets you upload a room photo, select a room type and style, and generate an interior-design variation. The result can be compared with the original image and downloaded.
Live site: https://interiordesgn.com/
- The Next.js app accepts JPG and PNG room photos.
- A server route sends the selected room, style, and image input to Replicate.
- The optional Upstash Redis limiter is enabled only when both Upstash environment variables are set.
- The upload route writes files under
public/uploads; the runtime must make that directory writable. This is not durable upload storage.
Create .env.local with the required Replicate key and, only if rate limiting is wanted, the optional Upstash values:
REPLICATE_API_KEY=your_replicate_key
UPSTASH_REDIS_REST_URL=your_upstash_url
UPSTASH_REDIS_REST_TOKEN=your_upstash_tokenThen install and run the app:
npm install --legacy-peer-deps
npm run devBuild a production bundle with:
npm run build
npm start