Open History to see the last commit
1---
2id: CatalogVoice
3title: CatalogVoice
4---
5
6Defined in: packages/ai/src/types.ts:2971
7
8One voice from a provider's catalog.
9
10## Properties
11
12### description?
13
14```ts
15optional description?: string;
16```
17
18Defined in: packages/ai/src/types.ts:2979
19
20Provider description of the voice
21
22***
23
24### labels?
25
26```ts
27optional labels?: Record<string, string>;
28```
29
30Defined in: packages/ai/src/types.ts:2983
31
32Provider labels, such as accent, age, or use case
33
34***
35
36### name?
37
38```ts
39optional name?: string;
40```
41
42Defined in: packages/ai/src/types.ts:2975
43
44Display name, when the provider stores one
45
46***
47
48### origin?
49
50```ts
51optional origin?: VoiceOrigin;
52```
53
54Defined in: packages/ai/src/types.ts:2977
55
56Where the voice came from
57
58***
59
60### previewUrl?
61
62```ts
63optional previewUrl?: string;
64```
65
66Defined in: packages/ai/src/types.ts:2981
67
68URL of a sample, when the provider hosts one
69
70***
71
72### voiceId
73
74```ts
75voiceId: string;
76```
77
78Defined in: packages/ai/src/types.ts:2973
79
80Pass this to `generateSpeech()` as `voice`