replicate/scribble-diffusion
JavaScript
Captured source
source ↗replicate/scribble-diffusion
Description: Turn your rough sketch into a refined image using AI
Language: JavaScript
License: MIT
Stars: 2982
Forks: 594
Open issues: 29
Created: 2023-02-13T20:05:58Z
Pushed: 2025-08-28T16:13:01Z
Default branch: main
Fork: no
Archived: no
README:
🖍️ 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](pages/api), 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 1. Copy your Replicate API token and set it in your environment:
echo "REPLICATE_API_TOKEN=" > .env.local
1. Install dependencies and run the server:
npm install npm run dev
1. Open localhost:3000 in your browser. That's it!