starry
starry copied to clipboard
Turn your ideas into Van Gogh's Starry Night - Powered by Vercel, AuthKit and Replicate 💫
Turn your ideas into Van Gogh's Starry Night
How it works
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.
🎥 Walkthrough videos
- Video explanation on how I built this application
- Launch demo video
Powered by
- 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
How to run on your own machine
1. Install Bun for compilation
2. Install ngrok to listen to Replicate's webhook events while developing locally
2. Cloning the repository
git clone
3. Sign up for the services mentioned in the Powered by section
4. Storing API keys in .env file.
Copy the .env.example
file and update with your own API keys.
5. Installing the dependencies.
bun install
6. Running the application.
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.
Author
- Laura Beatris (@lauradotjs)