openreader/docs-site/docs/configure/tts-provider-guides/openai.md
Richard R dae97b2afc docs(admin,config,tts): document admin panel for runtime TTS provider and feature config
Add a dedicated Admin Panel documentation page detailing management of shared TTS providers and site features via the admin UI. Update all TTS provider guides, environment variable references, and deployment docs to clarify the new runtime configuration model: environment variables serve as first-boot seeds only, with ongoing management handled through the admin interface. Revise sidebars and cross-links to include the new admin panel docs and clarify the distinction between legacy env-based and admin-managed configuration.
2026-05-12 22:39:37 -06:00

1.1 KiB

title
OpenAI

Use the OpenAI TTS API as your provider.

Setup

Recommended (auth + admin): Settings → Admin → Shared providers

  1. Add a shared provider with type openai.
  2. Keep base URL as https://api.openai.com/v1.
  3. Enter your API key.
  4. Set your preferred default model/voice.

Legacy bootstrap seed (optional, first boot only):

API_BASE=https://api.openai.com/v1
API_KEY=sk-...

Per-user Settings → TTS Provider (only when restrictUserApiKeys=false):

  1. Set provider to OpenAI.
  2. The base URL is pre-filled, no changes needed.
  3. Enter your API_KEY.
  4. Choose a model and voice.

See TTS Providers for admin-shared vs per-user behavior.

Notes

  • Models: tts-1, tts-1-hd, gpt-4o-mini-tts
  • TTS requests are sent from the server, not the browser. The API key is never exposed to clients.

References