@@ -1005,9 +1005,22 @@ export interface RealtimeResponse {
1005
1005
1006
1006
/**
1007
1007
* The voice the model used to respond. Current voice options are `alloy`, `ash`,
1008
- * `ballad`, `coral`, `echo` `sage`, `shimmer` and `verse`.
1009
- */
1010
- voice ?: 'alloy' | 'ash' | 'ballad' | 'coral' | 'echo' | 'sage' | 'shimmer' | 'verse' ;
1008
+ * `ballad`, `coral`, `echo`, `fable`, `onyx`, `nova`, `sage`, `shimmer`, and
1009
+ * `verse`.
1010
+ */
1011
+ voice ?:
1012
+ | ( string & { } )
1013
+ | 'alloy'
1014
+ | 'ash'
1015
+ | 'ballad'
1016
+ | 'coral'
1017
+ | 'echo'
1018
+ | 'fable'
1019
+ | 'onyx'
1020
+ | 'nova'
1021
+ | 'sage'
1022
+ | 'shimmer'
1023
+ | 'verse' ;
1011
1024
}
1012
1025
1013
1026
/**
@@ -1620,9 +1633,22 @@ export namespace ResponseCreateEvent {
1620
1633
/**
1621
1634
* The voice the model uses to respond. Voice cannot be changed during the session
1622
1635
* once the model has responded with audio at least once. Current voice options are
1623
- * `alloy`, `ash`, `ballad`, `coral`, `echo` `sage`, `shimmer` and `verse`.
1624
- */
1625
- voice ?: 'alloy' | 'ash' | 'ballad' | 'coral' | 'echo' | 'sage' | 'shimmer' | 'verse' ;
1636
+ * `alloy`, `ash`, `ballad`, `coral`, `echo`, `fable`, `onyx`, `nova`, `sage`,
1637
+ * `shimmer`, and `verse`.
1638
+ */
1639
+ voice ?:
1640
+ | ( string & { } )
1641
+ | 'alloy'
1642
+ | 'ash'
1643
+ | 'ballad'
1644
+ | 'coral'
1645
+ | 'echo'
1646
+ | 'fable'
1647
+ | 'onyx'
1648
+ | 'nova'
1649
+ | 'sage'
1650
+ | 'shimmer'
1651
+ | 'verse' ;
1626
1652
}
1627
1653
1628
1654
export namespace Response {
@@ -2078,9 +2104,22 @@ export namespace SessionUpdateEvent {
2078
2104
/**
2079
2105
* The voice the model uses to respond. Voice cannot be changed during the session
2080
2106
* once the model has responded with audio at least once. Current voice options are
2081
- * `alloy`, `ash`, `ballad`, `coral`, `echo` `sage`, `shimmer` and `verse`.
2082
- */
2083
- voice ?: 'alloy' | 'ash' | 'ballad' | 'coral' | 'echo' | 'sage' | 'shimmer' | 'verse' ;
2107
+ * `alloy`, `ash`, `ballad`, `coral`, `echo`, `fable`, `onyx`, `nova`, `sage`,
2108
+ * `shimmer`, and `verse`.
2109
+ */
2110
+ voice ?:
2111
+ | ( string & { } )
2112
+ | 'alloy'
2113
+ | 'ash'
2114
+ | 'ballad'
2115
+ | 'coral'
2116
+ | 'echo'
2117
+ | 'fable'
2118
+ | 'onyx'
2119
+ | 'nova'
2120
+ | 'sage'
2121
+ | 'shimmer'
2122
+ | 'verse' ;
2084
2123
}
2085
2124
2086
2125
export namespace Session {
@@ -2376,7 +2415,7 @@ export namespace TranscriptionSessionUpdate {
2376
2415
export interface TurnDetection {
2377
2416
/**
2378
2417
* Whether or not to automatically generate a response when a VAD stop event
2379
- * occurs.
2418
+ * occurs. Not available for transcription sessions.
2380
2419
*/
2381
2420
create_response ?: boolean ;
2382
2421
@@ -2390,7 +2429,7 @@ export namespace TranscriptionSessionUpdate {
2390
2429
/**
2391
2430
* Whether or not to automatically interrupt any ongoing response with output to
2392
2431
* the default conversation (i.e. `conversation` of `auto`) when a VAD start event
2393
- * occurs.
2432
+ * occurs. Not available for transcription sessions.
2394
2433
*/
2395
2434
interrupt_response ?: boolean ;
2396
2435
0 commit comments