RepoReplicateReplicatepublished Aug 31, 2022seen 5d

replicate/inpainter

JavaScript

Open original ↗

Captured source

source ↗
published Aug 31, 2022seen 5dcaptured 13hhttp 200method plain

replicate/inpainter

Description: A web GUI built with Next.js for inpainting with AI models using Replicate's API

Language: JavaScript

License: MIT

Stars: 428

Forks: 95

Open issues: 13

Created: 2022-08-31T20:17:26Z

Pushed: 2025-12-16T00:07:03Z

Default branch: main

Fork: no

Archived: no

README:

🎨 Inpainter

A web GUI for inpainting with Ideogram v2 and Ideogram v2 Turbo using the Replicate API.

Try it out at 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, a platform for running machine learning models in the cloud.
  • Ideogram v2 and 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 for styling
  • Lucide for Icons

Development

Prerequisites:

1. Recent version of Node.js 2. Replicate API token

Set your Replicate API token in your environment:

REPLICATE_API_TOKEN=

Then install dependencies and run the server:

npm install
npm run dev

Open http://localhost:3000