File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 26
26
* @property {string } [model]
27
27
* @property {string[] } [modalities]
28
28
* @property {string } [instructions]
29
- * @property {"alloy"|"shimmer "|"echo" } [voice]
29
+ * @property {"alloy"|"ash "|"ballad"|"coral"|" echo"|"sage"|"shimmer"|"verse " } [voice]
30
30
* @property {AudioFormatType } [input_audio_format]
31
31
* @property {AudioFormatType } [output_audio_format]
32
32
* @property {AudioTranscriptionType|null } [input_audio_transcription]
@@ -336,7 +336,8 @@ export type SessionResourceType = {
336
336
model ?: string ;
337
337
modalities ?: string [ ] ;
338
338
instructions ?: string ;
339
- voice ?: "alloy" | "shimmer" | "echo" ;
339
+ voice ?: "alloy" | "ash" | "ballad" | "coral" | "echo" | "sage" | "shimmer" | "verse" ;
340
+
340
341
input_audio_format ?: AudioFormatType ;
341
342
output_audio_format ?: AudioFormatType ;
342
343
input_audio_transcription ?: AudioTranscriptionType | null ;
@@ -456,4 +457,4 @@ export type ResponseResourceType = {
456
457
import { RealtimeEventHandler } from './event_handler.js' ;
457
458
import { RealtimeAPI } from './api.js' ;
458
459
import { RealtimeConversation } from './conversation.js' ;
459
- //# sourceMappingURL=client.d.ts.map
460
+ //# sourceMappingURL=client.d.ts.map
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ import { RealtimeUtils } from './utils.js';
35
35
* @property {string } [model]
36
36
* @property {string[] } [modalities]
37
37
* @property {string } [instructions]
38
- * @property {"alloy"|"shimmer "|"echo" } [voice]
38
+ * @property {"alloy"|"ash "|"ballad"|"coral"|" echo"|"sage"|"shimmer"|"verse " } [voice]
39
39
* @property {AudioFormatType } [input_audio_format]
40
40
* @property {AudioFormatType } [output_audio_format]
41
41
* @property {AudioTranscriptionType|null } [input_audio_transcription]
@@ -196,7 +196,7 @@ export class RealtimeClient extends RealtimeEventHandler {
196
196
this . defaultSessionConfig = {
197
197
modalities : [ 'text' , 'audio' ] ,
198
198
instructions : '' ,
199
- voice : 'alloy ' ,
199
+ voice : 'verse ' ,
200
200
input_audio_format : 'pcm16' ,
201
201
output_audio_format : 'pcm16' ,
202
202
input_audio_transcription : null ,
You can’t perform that action at this time.
0 commit comments