Documentation
¶
Overview ¶
Package tts provides text-to-speech tools for Overkill.
Supported providers:
- edge: Microsoft Edge TTS (free, no API key, via edge-tts CLI)
- kittentts: Local KittenTTS (free, via Python + ffmpeg)
- openai: OpenAI TTS API
- elevenlabs: ElevenLabs TTS API
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpeakInput ¶
type SpeakInput struct {
Text string `json:"text"`
Provider string `json:"provider"` // "edge" | "kittentts" | "openai" | "elevenlabs"
Voice string `json:"voice"` // optional per-call voice override
}
SpeakInput is the JSON input for the tts.speak tool.
type SpeakOutput ¶
type SpeakOutput struct {
AudioPath string `json:"audio_path"`
Format string `json:"format"` // "mp3" | "ogg"
DurationMs int `json:"duration_ms"`
Provider string `json:"provider"`
}
SpeakOutput is the JSON output from the tts.speak tool.
Click to show internal directories.
Click to hide internal directories.