Turn your ideas into Van Gogh's Starry Night
This application leverages an AI model, specifically Stable Diffusion hosted on Replicate, to transform your images into art inspired by Van Gogh's Starry Night. Simply enter a prompt, and it will be processed through this AI model via a Next.js server action and an API route that listens to Replicate's webhook.
- Bun for compilation
- Replicate for AI API
- Vercel
- Next.js App Router
- Next.js Server Actions
- Vercel Blob for image storage
- Vercel KV for redis
- WorkOS
- AuthKit for user management
1. Install Bun for compilation
2. Install ngrok to listen to Replicate's webhook events while developing locally
git clone
3. Sign up for the services mentioned in the Powered by section
Copy the .env.example
file and update with your own API keys.
bun install
Then, run the application in the command line and it will be available at http://localhost:3000
.
bun run dev
Also, run ngrok http 3000
to create a tunnel to listen to Replicate's webhook events.
- Laura Beatris (@lauradotjs)