TTSConfig

org.llm4s.speech.config.TTSConfig
See theTTSConfig companion class
object TTSConfig

Default values for TTSConfig, one set per cloud provider. SpeechConfigLoader falls back to them when the corresponding setting is absent.

TTSConfig#toString redacts the API key (through Redaction.secret), so a config is safe to log.

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
TTSConfig.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete fields

ElevenLabs: the base URL SpeechConfigLoader.tts uses when llm4s.speech.elevenlabs.baseUrl is not set.

ElevenLabs: the base URL SpeechConfigLoader.tts uses when llm4s.speech.elevenlabs.baseUrl is not set.

Attributes

ElevenLabs: the model_id SpeechConfigLoader.tts uses when llm4s.speech.elevenlabs.modelId is blank.

ElevenLabs: the model_id SpeechConfigLoader.tts uses when llm4s.speech.elevenlabs.modelId is blank.

Attributes

OpenAI: the base URL SpeechConfigLoader.tts uses when llm4s.speech.openai.baseUrl is not set.

OpenAI: the base URL SpeechConfigLoader.tts uses when llm4s.speech.openai.baseUrl is not set.

Attributes

val DEFAULT_OPENAI_MODEL: String

OpenAI: the TTS model name for TTSConfig#model. Not applied by SpeechConfigLoader, which takes the model from the provider/model spec; it is a reference value for callers building a TTSConfig by hand.

OpenAI: the TTS model name for TTSConfig#model. Not applied by SpeechConfigLoader, which takes the model from the provider/model spec; it is a reference value for callers building a TTSConfig by hand.

Attributes

val DEFAULT_OPENAI_VOICE: String

OpenAI: the voice SpeechConfigLoader.tts uses when llm4s.speech.tts.voice is not set.

OpenAI: the voice SpeechConfigLoader.tts uses when llm4s.speech.tts.voice is not set.

Attributes