Environment Variables
Studio reads a handful of environment variables for storage roots, plugin locations, and behavior.
At a glance
- Storage roots and base directory.
- Plugin and plugin-data locations.
- Engine env, ports, and test-mode flags.
Common variables
| Variable | Purpose |
|---|---|
AUDIOBOOK_BASE_DIR | Base directory for storage roots. |
PLUGINS_DIR / PLUGIN_DATA_DIR | Where engines and their data live. |
XTTS_ENV_DIR | Location of the engine environment. |
TTS_API_PRIORITY | Gateway vs Studio scheduling mode. |
Note: Ports and test-mode flags are also configurable; see the app config for the full list.