https://github.com/replicate/inpainter
A web GUI built with Next.js for inpainting with Stable Diffusion using the Replicate API.
https://github.com/replicate/inpainter
Last synced: 9 months ago
JSON representation
A web GUI built with Next.js for inpainting with Stable Diffusion using the Replicate API.
- Host: GitHub
- URL: https://github.com/replicate/inpainter
- Owner: replicate
- License: mit
- Created: 2022-08-31T20:17:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-24T00:53:48.000Z (9 months ago)
- Last Synced: 2025-05-08T07:13:01.291Z (9 months ago)
- Language: JavaScript
- Homepage: https://inpainter.app
- Size: 1.49 MB
- Stars: 422
- Watchers: 23
- Forks: 91
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🎨 Inpainter
A web GUI for inpainting with [Ideogram v2](https://replicate.com/ideogram-ai/ideogram-v2) and [Ideogram v2 Turbo](https://replicate.com/ideogram-ai/ideogram-v2-turbo) using the Replicate API.
Try it out at [inpainter.app](https://inpainter.app)
https://user-images.githubusercontent.com/2289/188992670-3dc9db47-fb8e-45c1-85ee-afc850009c48.mp4
## How it works
🐢🚀 This is a Node.js app! It's powered by:
- [Replicate](https://replicate.com/), a platform for running machine learning models in the cloud.
- [Ideogram v2](https://replicate.com/ideogram-ai/ideogram-v2) and [Ideogram v2 Turbo](https://replicate.com/ideogram-ai/ideogram-v2-turbo), advanced text-to-image generation models.
- Next.js [server-side API routes](pages/api) for talking to the Replicate API
- Next.js React components for the inpainting GUI
- [Tailwind CSS](https://tailwindcss.com/) for styling
- [Lucide](https://lucide.dev/) for Icons
## Development
Prerequisites:
1. Recent version of Node.js
2. [Replicate API token](https://replicate.com/account/api-tokens)
Set your Replicate API token in your environment:
```
REPLICATE_API_TOKEN=
```
Then install dependencies and run the server:
```sh
npm install
npm run dev
```
Open [http://localhost:3000](http://localhost:3000)