ai-openai-api-examples Svelte Themes

Ai Openai Api Examples

Experiments with OpenAI API, Svelte and TypeScript

OpenAI API - Experiments

What's inside

There are three examples that you can test on your own:

  • Completion API (based on GPT-4 model)
  • Image API (based on DALL-E model)
  • Transcription API (based on Whisper model)

Prerequisite

Create openapi.json file in root of the project with the following content:

{
    "openAiApiKey": "YOUR_API_KEY_HERE"
}

Enjoy!

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes