Skip to content

@optimalai/react-native / SynthesizeRequest

Interface: SynthesizeRequest ​

Defined in: packages/react-native/src/types.ts:185

Properties ​

maxNewTokens? ​

optional maxNewTokens?: number

Defined in: packages/react-native/src/types.ts:192

Audio8 only: positive integer, clamped to the remaining context.


outputPath? ​

optional outputPath?: string

Defined in: packages/react-native/src/types.ts:188


speed? ​

optional speed?: number

Defined in: packages/react-native/src/types.ts:190

Kokoro only: 0.5–2.0. Audio8 rejects this option.


text ​

text: string

Defined in: packages/react-native/src/types.ts:186


voiceId? ​

optional voiceId?: string

Defined in: packages/react-native/src/types.ts:187