# replicate/scribble-diffusion

Turn your rough sketch into a refined image using AI

Repository: https://github.com/replicate/scribble-diffusion
Canonical: https://ross.abutalabs.com/products/scribble-diffusion
Homepage: https://scribblediffusion.com
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2025-08-28T16:13:01+00:00

## Health v2 (maintenance only)
Score: 48/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 39, release rhythm 35, longevity 92
- inputs: {"age_days": 1297, "days_push": 370, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2977, forks 593 (observed 2026-08-28T04:07:33.011521+00:00)

## What it is
Scribble Diffusion is an open-source Next.js web application that turns rough sketches into refined images using the ControlNet scribble model via the Replicate API. It provides a React browser UI for drawing, a server-side API route for model inference, and Tailwind CSS styling.

## Use cases
- turn a rough sketch into a polished image with AI
- self-host a sketch-to-image web app
- build a demo app calling Replicate models from Next.js
- experiment with ControlNet scribble-to-image generation
- learn how to integrate ML models into a web app

## When to choose
- you want a ready-made sketch-to-image web app powered by ControlNet
- you need a reference implementation for calling the Replicate API from Next.js
- you want to self-host a simple generative image demo

## When to avoid
- you need offline/local model inference without a Replicate API token
- you need a production-grade image editing tool rather than a demo
- you want a library or SDK to embed in your own app rather than a standalone application

## Facets
- artifact type: application
- maturity: maintenance
- function: image-processing, machine-learning, web-framework, http-server
- domain: artificial-intelligence, image-processing, web-development, deep-learning
- platform: cross-platform
- tags: controlnet, sketch-to-image, nextjs, replicate-api, generative-ai, tailwindcss, react, nodejs, web-server

## Member repositories
- replicate/scribble-diffusion (main) score 48

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:33.011521+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:47:28.205321+00:00, confidence not recorded.
  - readme: https://github.com/replicate/scribble-diffusion (fetched 2026-08-28T04:07:33.011521+00:00, sha 990e54bcd972)
  - homepage: https://scribblediffusion.com (fetched 2026-08-29T09:46:54.562717+00:00, sha 775f99f6fe31)
- Data as of 2026-08-30T08:39:29.467469+00:00.
