Skip to content

cdpath/gemini-codrawing-vercel

Repository files navigation

title emoji colorFrom colorTo sdk pinned license app_port short_description
Gemini Co-Drawing
✏️
blue
purple
docker
false
apache-2.0
3000
Gemini 2.0 native image generation co-doodling

Gemini Co-Drawing (Vercel Version)

A collaborative drawing application powered by Google's Gemini 2.0 API for image generation. This app allows users to create drawings and have Gemini enhance or add to them based on text prompts.

Features

  • Interactive canvas for drawing
  • Color picker for customizing your drawings
  • Text prompt interface to instruct Gemini on what to add
  • Real-time image generation using Gemini 2.0

Technology Stack

This is a Next.js project that uses:

  • Next.js for the frontend and API routes
  • Google's Gemini 2.0 API for image generation
  • Canvas API for drawing functionality

Deploying to Vercel

This app can be easily deployed to Vercel:

  1. Fork or clone this repository to your GitHub account
  2. Connect your GitHub repository to Vercel
  3. Deploy the application
  4. No environment variables are required as users will input their own API key

Deploy with Vercel

Getting Started

  1. Obtain a Gemini API key from Google AI Studio
  2. When you first access the application, you'll be prompted to enter your API key
  3. Your API key will be stored in your browser's local storage for future use
  4. You can update your API key anytime by clicking the key icon in the toolbar