replicate / zoo

πŸ¦“ Zoo β€” Image Playground

Home Page:https://zoo.replicate.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ¦“ Zoo

A playground for comparing AI image models.

Usage

This is a Next.js app. To run it locally, you'll need to install Node.js.

Install dependencies:

npm install

Then, 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 dev

Open http://localhost:3000 with your browser.

Want to add a model?

  1. Check out lib/models.js and add your model to the MODELS array.
  2. Optionally, generate some example predictions by adding some submissions to lib/seeds.js.
  3. Push your PR!

Deploying on Vercel

Alternatively, you can deploy Zoo on Vercel.

About

πŸ¦“ Zoo β€” Image Playground

https://zoo.replicate.dev

License:Apache License 2.0


Languages

Language:JavaScript 97.8%Language:CSS 1.2%Language:TypeScript 1.0%