A playground for comparing AI image models.
This is a Next.js app. To run it locally, you'll need to install Node.js.
Install dependencies:
npm installThen, copy the .env.example file, name it .env.local, and fill in your credentials.
You'll need a running ngrok server to receive the webhooks from Replicate.
To do this, install ngrok, and run it with ngrok http 3000. You'll see two forwarding addresses. Copy the https URL and enter it as your NGROK_URL
Then, run the development server:
npm run devOpen http://localhost:3000 with your browser.
- Check out
lib/models.jsand add your model to the MODELS array. - Optionally, generate some example predictions by adding some submissions to
lib/seeds.js. - Push your PR!
Alternatively, you can deploy Zoo on Vercel.