org.llm4s.speech.config.TTSConfig
See theTTSConfig companion object
final case class TTSConfig(provider: String, model: String, voice: String, apiKey: String, baseUrl: String, region: Option[String])
Configuration for a cloud TTS provider, as produced by SpeechConfigLoader.tts.
Value parameters
- apiKey
-
API key for the provider
- baseUrl
-
API base URL, without a trailing path (the endpoint path is added by the client)
- model
-
Model identifier (OpenAI:
tts-1; ElevenLabs: themodel_id; Azure: unused) - provider
-
Provider name: "openai", "elevenlabs", or "azure"
- region
-
Azure Speech region, when the provider is Azure
- voice
-
Voice (OpenAI:
alloy; ElevenLabs: voice id; Azure: voice name)
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article