Genkit JS API reference
Preparing search index...
@genkit-ai/compat-oai
SpeechConfigSchema
Variable SpeechConfigSchema
Const
SpeechConfigSchema
:
z
.
ZodObject
<
{
response_format
:
z
.
ZodOptional
<
z
.
ZodEnum
<
[
"mp3"
,
"opus"
,
"aac"
,
"flac"
,
"wav"
,
"pcm"
]
>
,
>
;
speed
:
z
.
ZodOptional
<
z
.
ZodNumber
>
;
voice
:
z
.
ZodDefault
<
z
.
ZodEnum
<
[
"alloy"
,
"echo"
,
"fable"
,
"onyx"
,
"nova"
,
"shimmer"
]
>
,
>
;
}
,
"strip"
,
z
.
ZodTypeAny
,
{
response_format
?:
"opus"
|
"wav"
|
"aac"
|
"mp3"
|
"flac"
|
"pcm"
;
speed
?:
number
;
voice
:
"alloy"
|
"echo"
|
"fable"
|
"onyx"
|
"nova"
|
"shimmer"
;
}
,
{
response_format
?:
"opus"
|
"wav"
|
"aac"
|
"mp3"
|
"flac"
|
"pcm"
;
speed
?:
number
;
voice
?:
"alloy"
|
"echo"
|
"fable"
|
"onyx"
|
"nova"
|
"shimmer"
;
}
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Genkit JS API reference
Loading...