speaker-config.yaml file is the central configuration file for speak-mintlify. It defines voice mappings and component settings for your documentation.
File Location
Placespeaker-config.yaml in the root of your documentation directory (the same directory you run speak-mintlify from).
Configuration Structure
Voices
Thevoices section maps Fish Audio voice IDs to friendly display names:
speaker-config.yaml
Voice IDs come from Fish Audio. Each voice ID is a unique identifier for a TTS voice.
Component Settings
Thecomponent section configures the audio player that gets injected into your MDX files:
speaker-config.yaml
import- The import path for your audio player component (relative to your Mintlify docs root)name- The component name used in the MDX import statement
Full Example
speaker-config.yaml
Configuration Priority
speak-mintlify uses the following priority order for configuration:- CLI flags (highest priority)
- Environment variables
- speaker-config.yaml
- Defaults (lowest priority)
CLI Overrides
You can override voice configuration via CLI flags:Next Steps
Environment Variables
Configure API keys and S3 credentials
Audio Component
Customize the audio player component
