This commit restructures the audiobook generation and serving layer to rely exclusively on S3-compatible blob storage, removing the dependency on local filesystem paths. - Bundle `ffmpeg` and `ffprobe` binaries via npm to ensure portability across environments. - Update API routes to stream audio directly from blob storage instead of local disk. - Remove legacy migration endpoints and filesystem-based indexing logic. - Add startup scripts to facilitate the transition from local to remote storage. BREAKING CHANGE: Audiobook functionality is now strictly dependent on S3 configuration. The previous filesystem-based storage method has been removed.
18 lines
563 B
Markdown
18 lines
563 B
Markdown
---
|
|
title: OpenAI
|
|
---
|
|
|
|
Use OpenAI directly as an OpenAI-compatible TTS provider.
|
|
|
|
## OpenReader setup
|
|
|
|
1. In OpenReader settings, choose provider `OpenAI`.
|
|
2. Leave `API_BASE` unset unless you want to override the default `https://api.openai.com/v1`.
|
|
3. Set `API_KEY` to your OpenAI API key.
|
|
4. Choose model and voice.
|
|
|
|
## Notes
|
|
|
|
- `OpenAI` is a built-in provider in the dropdown, so `API_BASE` is usually not required.
|
|
- OpenReader routes TTS calls through its server API.
|
|
- For variable details, see [Environment Variables](../reference/environment-variables).
|