Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/linqlover/simple-openai-tts-playground

Try out the OpenAI Text to Speech API in your browser.
https://github.com/linqlover/simple-openai-tts-playground

openai openai-api openai-tts playground tts tts-api

Last synced: 2 months ago
JSON representation

Try out the OpenAI Text to Speech API in your browser.

Awesome Lists containing this project

README

        

# Simple OpenAI TTS Playground

> Try out the [OpenAI Text to Speech API](https://platform.openai.com/docs/api-reference/audio) in your browser.

Minimal yet working prototype. Feel free to propose features and contribute PRs!

**Visit the playground here: **

## Current Features

- Select different voices and models
- Automatic division of long textes
- Price display
- Caching of audio files (in local browser storage)

## Development

To run the playground locally:

1. Check out the repository
2. Host a web server using `python3 -m http.server` (or using node analogously)
3. Open the playground on `http://localhost:8000/` (NOT `http://0.0.0.0/` because browsers might treat it as insecure context)