mhmdircham / draw-it

Home Page:https://drawit.art/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DrawIt - Sketch to AI-Generated Image

DrawIt App Banner DrawIt App Interface Deploy with Vercel License: MIT ESLint Next.js TypeScript

DrawIt is a web application designed to convert user sketches into AI-generated images. It utilizes Next.js 13, Chakra UI, and the Leap Remix API to provide this functionality..

Live Demo

You can try out DrawIt with the live demo at drawit.art.

Leap API

Leap is an AI platform that offers a wide range of AI APIs, including the Remix API, which is used in the DrawIt app. To get started, sign up for an API key at Leap. After registering, access the Leap Dashboard and retrieve your API key.

To find out more about the Leap Remix API, check out the Leap Remix API reference.

Getting Started

Follow these steps to set up DrawIt in your local development environment:

  1. Clone the repository:
git clone https://github.com/leap-api/draw-it.git
  1. Move into the draw-it directory:
cd draw-it
  1. Install dependencies:

    For npm:

    npm install
    

    For yarn:

    yarn
    
  2. Create a .env file in the root directory and replace your_api_key with your actual Leap API key:

LEAP_API_KEY=your_api_key
  1. Run the development server:

    For npm:

    npm run dev
    

    For yarn:

    yarn dev
    
  2. Open your browser and visit http://localhost:3000 to see the running app.

For additional guidance and instructions, refer to the full guide.

Note

DrawIt uses Next.js 13 for its app routing. If you would like to use a prior version of Next.js, please be aware that code modifications may be required.

Contributing

We welcome contributions and pull requests. For major changes, please open an issue first to discuss the proposed updates.

Resources

License

The DrawIt app is licensed under the MIT License.

About

https://drawit.art/


Languages

Language:TypeScript 99.6%Language:JavaScript 0.4%