progrmoiz / scribble-diffusion

Turn your rough sketch into a refined image using AI

Home Page:https://scribblediffusion.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

๐Ÿ–๏ธ 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=<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!

About

Turn your rough sketch into a refined image using AI

https://scribblediffusion.com

License:MIT License


Languages

Language:JavaScript 99.5%Language:CSS 0.3%Language:Shell 0.2%