Skip to content

hkurma/ai-api-playground

Repository files navigation

AI API Playground

Playground app for OpenAI API's and more. Use your own API Key, it is stored and used only from the browser.

API's

These OpenAI API's are currently supported in the playground.

  • Text Generation
  • Vision
  • Image Generation
  • Assistants
  • Moderations

OpenAI API Reference

OpenAI Docs

Tokenizer

Tool to help you understand how text is tokenized by a model and the total count of tokens.

Tokenizer uses gpt-tokenizer npm package, which is a port of OpenAI's tiktoken.

Run locally

Follow these steps to run the app locally.

  • Install dependencies
npm install
  • Start development server
npm run dev

You can access the app on http://localhost:3000

Build

Run the following script to build the app.

npm run build

Contributors

Languages