hillaoui / GPT-4-DALL-E-2-Playground

This project allows developers to test their GPT-3 or GPT-4 API key in a rendered chat environment without compromising on the vanilla experience. The current OpenAI Playground only allows 4096 tokens for 8k or 32k models like GPT-4 and DALL-E 2.

Home Page:https://gpt-4-dalle-e-2-playground.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GPT-4 & DALL-E 2 Playground

Welcome to the GPT-4 & DALL-E 2 Playground! If you have recently acquired your GPT-3 or GPT-4 API Key and want to test it out, this project is perfect for you. Our aim is to provide a better developer experience by allowing you to test your API key in a rendered chat environment without compromising on the vanilla experience.

The current OpenAI Playground only allows 4096 tokens for 8k or 32k models like GPT-4 and DALL-E 2, and if you want to test your key in a rendered chat environment, you would have to purchase ChatCPT Plus. Our project fixes both of these issues and provides a link between the playground and ChatGPT.

We take security seriously, and all API keys are encrypted and stored in your browser's local storage. You can use this project without worrying about your API key being stolen.

Demo

ChatGPT & DALL-E 2 Environment

My ChatGPT & DALL-E 2 Environment has most of the critical features, such as conversation history (which is stored locally), prompting, and multiple conversations. This environment is a great way to test out your API key and see how it works!

ChatGpt-4 ChatGPT & DALLE-E 2 Dark Home Page

ChatGpt-4 ChatGPT & DALLE-E 2 Light Home Page

Example of a conversation

List Of Models Supported

ChatGPT-4 and ChatGT-3 Playground Environment

ChatGpt-4 & ChatGPT-4 Playground

DALL-E 2 Playground Environment

DALL-E  2 Playground Environment

DALL-E  2 Playground Example

Running Locally

To run this project locally, you will need to have Node.js installed. Once you have Node.js installed, you can clone this repository and run the following commands:

yarn install
yarn dev

This will start a local server on port 3000. You can then navigate to localhost:3000 to view the project!

Tech Stack

  • Node.js
  • OpenAI API
  • Next js
  • Typescript
  • JavaScript
  • React
  • Tailwind CSS

About

This project allows developers to test their GPT-3 or GPT-4 API key in a rendered chat environment without compromising on the vanilla experience. The current OpenAI Playground only allows 4096 tokens for 8k or 32k models like GPT-4 and DALL-E 2.

https://gpt-4-dalle-e-2-playground.vercel.app

License:MIT License


Languages

Language:TypeScript 92.5%Language:JavaScript 3.8%Language:CSS 3.7%