New Project

Scribble Diffusion

Turn your rough sketch into a refined image using AI. Powered by Replicate and ControlNet.

DeployView Demo

🖍️ Scribble Diffusion

Try it out at scribblediffusion.com

How it works

This app is powered by:

🚀 Replicate, a platform for running machine learning models in the cloud.

🖍️ ControlNet, an open-source machine learning model that generates images from text and scribbles.

▲ Vercel, a platform for running web apps.

⚡️ Next.js server-side API routes [blocked], for talking to the Replicate API.

👀 Next.js React components, for the browser UI.

🍃 Tailwind CSS, for styles.

Development

  1. Install a recent version of Node.js
  2. Copy your Replicate API token and set it in your environment:
    echo "REPLICATE_API_TOKEN=<your-token-here>" > .env.local
  3. Install dependencies and run the server:
    npm install
    npm run dev
  4. Open localhost:3000 in your browser. That's it!
GitHub Reporeplicate/scribble-diffusion
LicenseView License
Use Cases
AI
Stack
Next.js
Tailwind

Related Templates

Inpainter with Stable Diffusion

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

Paint by Text

Edit your photos by chatting with a generative AI model (InstructPix2Pix), powered by Replicate.
Paint by Text thumbnail

Extrapolate – AI Aging App

Age transformation AI app powered by Next.js, Replicate, Upstash, and Cloudflare R2 + Workers.
Extrapolate – AI Aging App thumbnail
DeployView Demo