Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/linqlover/simple-openai-tts-playground
- Owner: LinqLover
- License: other
- Created: 2024-05-11T19:32:20.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-08-07T21:50:24.000Z (5 months ago)
- Last Synced: 2024-10-10T13:29:56.529Z (3 months ago)
- Topics: openai, openai-api, openai-tts, playground, tts, tts-api
- Language: JavaScript
- Homepage: https://linqlover.github.io/simple-openai-tts-playground/
- Size: 22.5 KB
- Stars: 15
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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)