This is a scaffoled Node.js project structure for running AI models with Replicate's API.
To get started, you'll need Node.js 18 or later. The simplest way to install it is using the installer at nodejs.org.
Next, grab a Replicate API token from replicate.com/account and set it as an environment variable:
export REPLICATE_API_TOKEN=...
Then run your app:
npm start