Skip to content

Commit 6480079

Browse files
committed
add additional voices
1 parent de01e10 commit 6480079

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

dist/lib/client.d.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* @property {string} [model]
2727
* @property {string[]} [modalities]
2828
* @property {string} [instructions]
29-
* @property {"alloy"|"shimmer"|"echo"} [voice]
29+
* @property {"alloy"|"ash"|"ballad"|"coral"|"echo"|"sage"|"shimmer"|"verse"} [voice]
3030
* @property {AudioFormatType} [input_audio_format]
3131
* @property {AudioFormatType} [output_audio_format]
3232
* @property {AudioTranscriptionType|null} [input_audio_transcription]
@@ -336,7 +336,8 @@ export type SessionResourceType = {
336336
model?: string;
337337
modalities?: string[];
338338
instructions?: string;
339-
voice?: "alloy" | "shimmer" | "echo";
339+
voice?: "alloy"|"ash"|"ballad"|"coral"|"echo"|"sage"|"shimmer"|"verse"
340+
340341
input_audio_format?: AudioFormatType;
341342
output_audio_format?: AudioFormatType;
342343
input_audio_transcription?: AudioTranscriptionType | null;
@@ -456,4 +457,4 @@ export type ResponseResourceType = {
456457
import { RealtimeEventHandler } from './event_handler.js';
457458
import { RealtimeAPI } from './api.js';
458459
import { RealtimeConversation } from './conversation.js';
459-
//# sourceMappingURL=client.d.ts.map
460+
//# sourceMappingURL=client.d.ts.map

lib/client.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import { RealtimeUtils } from './utils.js';
3535
* @property {string} [model]
3636
* @property {string[]} [modalities]
3737
* @property {string} [instructions]
38-
* @property {"alloy"|"shimmer"|"echo"} [voice]
38+
* @property {"alloy"|"ash"|"ballad"|"coral"|"echo"|"sage"|"shimmer"|"verse"} [voice]
3939
* @property {AudioFormatType} [input_audio_format]
4040
* @property {AudioFormatType} [output_audio_format]
4141
* @property {AudioTranscriptionType|null} [input_audio_transcription]

0 commit comments

Comments
 (0)