GithubHelp home page GithubHelp logo

haardikk21 / presto Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 2.0 1.37 MB

Presto is an AI-powered tool that can convert hand-drawn scribbles to quality sketches, photos, paintings, and more to help you quickly iterate on ideas.

Home Page: https://presto-mauve.vercel.app

License: MIT License

JavaScript 3.77% TypeScript 94.92% CSS 1.32%
controlnet gpt-3 img2img nextjs openai replicate stable-diffusion tailwind typescript upload

presto's Introduction

Presto - Transform your ideas with AI

Presto is an AI-powered tool that can convert hand-drawn scribbles to quality sketches, photos, paintings, and more to help you quickly iterate on ideas.

Built using Next.js, TypeScript, and Tailwind.

Powered by Vercel, Replicate, and Upload.

Try it yourself!

How it Works

Presto uses an ML model called ControlNet to convert hand-drawn scribbles to photos and sketches. This application provides the ability to draw a scribble, or upload an image of a scribble, along with a 1-3 word description of what you draw which will be converted using ControlNet. The ML model is hosted and run through Replicate. Uploaded scribbles are stored on Upload.

Deploy

Run your own version of Presto by deploying on Vercel.

Deploy with Vercel

Running Locally

Clone the Repository

git clone https://github.com/haardikk21/presto

Install pnpm and dependencies

If you don't already have pnpm, install it by following the guide here - https://pnpm.io/installation

Then, install the dependencies

pnpm install

Get Replicate API Key

  1. Go to Replicate and make an account
  2. Click on Account in the top right and take a note of your API Token

Get Upload.io API Key

  1. Go to Upload and make an account
  2. Click on API Keys in the top right and take a note of your Public API Key

Store API Keys in .env

Copy .env.example to .env and add REPLICATE_API_KEY and NEXT_PUBLIC_UPLOAD_PUBLIC_KEY that you got from the above steps.

  1. Run the application
pnpm dev

The app will now be available at http://localhost:3000.

Contributions

Contributions are open to all. Feel free to open issues and/or pull requests.

Contact

Reach out to me on Twitter @haardikkk if you have any questions, ideas, or suggestions!

Acknowledgements

  • @nutlope for inspiration through RoomGPT

License

This project is licensed under the open source MIT License.

presto's People

Contributors

haardikk21 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.