https://github.com/replicate/replicate-sam-2-clicker
SAM-2 image/video segmentation clicker app.
https://github.com/replicate/replicate-sam-2-clicker
Last synced: 7 months ago
JSON representation
SAM-2 image/video segmentation clicker app.
- Host: GitHub
- URL: https://github.com/replicate/replicate-sam-2-clicker
- Owner: replicate
- Created: 2024-08-13T12:58:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-14T14:37:04.000Z (over 1 year ago)
- Last Synced: 2025-07-05T09:05:03.930Z (7 months ago)
- Language: Vue
- Homepage: https://replicate-sam-2-clicker.vercel.app
- Size: 104 KB
- Stars: 9
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🖱️ SAM-2 Clicker
Try it out at [replicate-sam-2-clicker.vercel.app](https://replicate-sam-2-clicker.vercel.app)
## How it works
This app is powered by:
🚀 [Replicate](https://replicate.com/?utm_source=project&utm_campaign=sam-2-clicker), a platform for running machine learning models in the cloud.
🖍️ [SAM-2](https://replicate.com/meta/sam-2?utm_source=project&utm_campaign=sam-2-clicker), an open-source machine learning model that segments images and video.
▲ [Vercel](https://vercel.com/), a platform for running web apps.
⚡️ Nuxt.js [server-side API routes](server/api), for talking to the Replicate API.
🍃 [Tailwind CSS](https://tailwindcss.com/), for styles.
## Development
1. Install a recent version of [Node.js](https://nodejs.org/)
2. Copy your [Replicate API token](https://replicate.com/account?utm_source=project&utm_campaign=scribblediffusion) and set it in your environment:
```
echo "REPLICATE_API_TOKEN=" > .env.local
```
3. Install dependencies and run the server:
```
npm install
npm run dev
```
4. Open [localhost:3000](http://localhost:3000) in your browser. That's it!