GenerateSpeechOptions
Options for generateSpeech.
Extends
Section titled “Extends”SpeechCommonOptions
Properties
Section titled “Properties”authContextRef?
Section titled “authContextRef?”
optionalauthContextRef?:string
Secure-storage slot for provider credentials. Never a raw secret.
Inherited from
Section titled “Inherited from”SpeechCommonOptions.authContextRef
destinationRef?
Section titled “destinationRef?”
optionaldestinationRef?:string
Opaque application destination, resolved by the host. Never a path or URL.
execution?
Section titled “execution?”
optionalexecution?:TextExecutionOptions
Inherited from
Section titled “Inherited from”SpeechCommonOptions.execution
locale
Section titled “locale”locale:
string
BCP 47 tag, e.g. "de-AT".
Inherited from
Section titled “Inherited from”SpeechCommonOptions.locale
localeMatch?
Section titled “localeMatch?”
optionallocaleMatch?:LocaleMatch
"language" (default) requires the language and prefers the region, so de-AT may be
served by de-DE. "exact" requires the whole tag.
Inherited from
Section titled “Inherited from”SpeechCommonOptions.localeMatch
mediaTypes?
Section titled “mediaTypes?”
optionalmediaTypes?:string[]
Acceptable media types; always a hard requirement. Absent lets the provider choose.
model?
Section titled “model?”
optionalmodel?:string
Model profile to route within, as configured on the engine. Omitted or "auto" routes
across every registered target. Never a vendor model or voice id.
Inherited from
Section titled “Inherited from”SpeechCommonOptions.model
requestId?
Section titled “requestId?”
optionalrequestId?:string
Fixes the run id, for correlation.
Inherited from
Section titled “Inherited from”SpeechCommonOptions.requestId
telemetry?
Section titled “telemetry?”
optionaltelemetry?:Telemetry
Inherited from
Section titled “Inherited from”SpeechCommonOptions.telemetry
text:
string
The text to speak. Plain text; markup such as SSML is out of scope.
Inherited from
Section titled “Inherited from”SpeechCommonOptions.text
voice?
Section titled “voice?”
optionalvoice?:SpeechVoice|SpeechVoiceInfo&Pick<SpeechVoice,"requirement">
The voice: an entry from listVoices, or provider-neutral traits. A voice left
"preferred" falls back to its traits when it is gone or another provider serves the run;
a "required" one never relaxes silently.
Inherited from
Section titled “Inherited from”SpeechCommonOptions.voice
IndeRun — open-source AI execution for cross-platform apps. Built and maintained by Independo GmbH (opens in new tab), supported by netidee (opens in new tab).
MIT-licensed SDK · No SDK usage telemetry.
© 2025–2026 Independo GmbH