Skip to content

OpenAI

StartKit.AI works seamlessly on top of OpenAI to provide the following AI services:

  • Chat
  • Images
  • Text
  • Embeddings
  • Speech-to-Text
  • Text-to-Speech
  • Moderation

Creating an API key

For this you will need an OpenAI API key. To get one sign up for an account on the OpenAI website, and then navigate to the API Keys page and click “Create new secret key”.

If you want to create a restricted key, StartKit.AI only requires access to the following resources:

Models
- /v1/models
Model capabilities
- /v1/audio
- /v1/chat/completions
- /v1/embeddings
- /v1/images
- /v1/moderations
Assistants
- /v1/assistants
- /v1/models (required for Assistants)
Threads
- /v1/threads
- /v1/models (required for Threads)
Fine-tuning
- /v1/fine_tuning
Files
- /v1/files

create new key modal

Config .env

Then copy the key into your StartKit.AI .env file:

OPENAI_KEY=
# Organisation ID is optional, used to track in OpenAI
# which organisation is making the requests
OPENAI_ORG_ID=

All done, we should now be able to run StartKit.AI! Lets find out how in the next section.