Open History to see the last commit
1---
2id: TTSTurn
3title: TTSTurn
4---
5
6Defined in: [packages/ai/src/types.ts:2505](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L2505)
7
8One turn of a multi-voice dialogue request.
9
10Providers that expose a dedicated dialogue endpoint (ElevenLabs
11`textToDialogue`, Gemini multi-speaker) take these natively instead of a
12single `text` + `voice` pair.
13
14## Properties
15
16### text
17
18```ts
19text: string;
20```
21
22Defined in: [packages/ai/src/types.ts:2507](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L2507)
23
24The text this voice speaks.
25
26***
27
28### voice
29
30```ts
31voice: string;
32```
33
34Defined in: [packages/ai/src/types.ts:2509](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L2509)
35
36Provider voice id (ElevenLabs) or voice name (Gemini) for this turn.