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..
You can try out DrawIt with the live demo at drawit.art.
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.
Follow these steps to set up DrawIt in your local development environment:
- Clone the repository:
git clone https://github.com/leap-api/draw-it.git
- Move into the
draw-it
directory:
cd draw-it
-
Install dependencies:
For npm:
npm install
For yarn:
yarn
-
Create a
.env
file in the root directory and replaceyour_api_key
with your actual Leap API key:
LEAP_API_KEY=your_api_key
-
Run the development server:
For npm:
npm run dev
For yarn:
yarn dev
-
Open your browser and visit
http://localhost:3000
to see the running app.
For additional guidance and instructions, refer to the full guide.
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.
We welcome contributions and pull requests. For major changes, please open an issue first to discuss the proposed updates.
- Discord Community: Leap Discord
- Help Email: help@tryleap.ai
The DrawIt app is licensed under the MIT License.