Git Product home page Git Product logo

admineral / gpt4-vision-react-starter Goto Github PK

View Code? Open in Web Editor NEW
62.0 2.0 41.0 262 KB

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

Home Page: https://gpt-4-vision-react-starter.vercel.app

CSS 4.75% JavaScript 6.85% TypeScript 88.39%
gpt4 gpt4-api gpt4v openai openaiapi ai chatgpt-api gpt-4-vision-preview openai-api gpt4-vision

gpt4-vision-react-starter's Introduction

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

gpt4-vision-react-starter's People

Contributors

admineral avatar

Stargazers

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

Watchers

 avatar  avatar

gpt4-vision-react-starter's Issues

the api key

I found that after deployment, it is possible to retrieve your API key from the website frontend through the console. It should be encrypted for security reasons.

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.