New Project

Inpainter with Stable Diffusion

Next.js application for inpainting with Stable Diffusion using the Replicate API.

DeployView Demo

šŸŽØ 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 [blocked] 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=<your-token-here>

Then install dependencies and run the server:

npm install
npm run dev

Open http://localhost:3000

GitHub Reporeplicate/inpainter
LicenseView License
Use Cases
AI
Stack
Next.js
Tailwind

Related Templates

Alt Text Generator

Generate descriptions for your images using AI.
Alt Text Generator thumbnail

Dall-E 2 AI Art Generator

Dall-E 2 frontend using Upstash for message queue + Redis.
Dall-E 2 AI Art Generator thumbnail
This template is unavailable