Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

TTSTurn.md

36 lines793 Bytes

Defined in: packages/ai/src/types.ts:2918

One turn of a multi-voice dialogue request.

Providers that expose a dedicated dialogue endpoint (ElevenLabs textToDialogue, Gemini multi-speaker) take these natively instead of a single text + voice pair.

Properties

text

text: string;

Defined in: packages/ai/src/types.ts:2920

The text this voice speaks.


voice

voice: string;

Defined in: packages/ai/src/types.ts:2922

Provider voice id (ElevenLabs) or voice name (Gemini) for this turn.