← 开源
replicate

scribble-diffusion

Turn your rough sketch into a refined image using AI

ApplicationsContent creationJavaScript
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
2.97k
Star
595
Fork
+-2
本周
8
贡献者
创建于 2023-02-13 · 更新于 2026-10-06 · 今日第 8117 名
主要开发者
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, 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=" > .env.local
    
  3. Install dependencies and run the server:
    npm install
    npm run dev
    
  4. Open localhost:3000 in your browser. That's it!