Skip to main content
Version: Next

Interface: TextToSpeechProps

Defined in: packages/react-native-executorch/src/types/tts.ts:77

Props for the useTextToSpeech hook.

Extends

Properties

model

model: KokoroConfig

Defined in: packages/react-native-executorch/src/types/tts.ts:65

a selected T2S model

Inherited from

TextToSpeechConfig.model


preventLoad?

optional preventLoad: boolean

Defined in: packages/react-native-executorch/src/types/tts.ts:78

Boolean that can prevent automatic model loading (and downloading the data if you load it for the first time) after running the hook.


voice

voice: VoiceConfig

Defined in: packages/react-native-executorch/src/types/tts.ts:66

a selected speaker's voice

Inherited from

TextToSpeechConfig.voice