Skip to content

Early Alpha Release: Chat with Your Image - Leveraging GPT-4 Vision and Function Calls for AI-Powered Image Analysis and Description

Notifications You must be signed in to change notification settings

admineral/GPT4-Vision-React-Starter

Repository files navigation

OpenAI GPT-4 Vision API Image Analyzer

Deploy with Vercel Live Demo

This project is a sleek and user-friendly web application built with React/Nextjs. It utilizes the cutting-edge capabilities of OpenAI's GPT-4 Vision API to analyze images and provide detailed descriptions of their content. With a simple drag-and-drop or file upload interface, users can quickly get insights into their images.

Features

  • Drag and drop or click to upload an image
  • Real-time image preview
  • Secure API interaction with OpenAI's GPT-4 Vision API
  • Responsive and intuitive UI
  • Progress bar for upload status
  • Display of analysis results in a readable format

Getting Started

To run this project locally, follow these steps:

Installation

  1. Clone the repository:
git clone https://github.com/admineral/GPT4-Vision-React-Starter.git
  1. Navigate to the project directory:
cd GPT4-Vision-React-Starter
  1. Install the dependencies:
npm install

or if you're using yarn:

yarn install
  1. Create a .env file in the root directory and add your OpenAI API key:
OPENAI_API_KEY=your_openai_api_key_here
  1. Start the development server:
npm start

or

npm run dev

or with yarn:

yarn start

The application should now be running on http://localhost:3000.

Usage

To analyze an image:

  1. Drag and drop an image into the designated area or click the area to select an image from your device.
  2. The image will be displayed as a preview.
  3. Click the "Analyze Image" button to send the image for analysis.
  4. View the analysis results below the upload area.

Built With

About

Early Alpha Release: Chat with Your Image - Leveraging GPT-4 Vision and Function Calls for AI-Powered Image Analysis and Description

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published