Genkit JS API reference
Preparing search index...
@genkit-ai/compat-oai
ImageGenerationCommonConfigSchema
Variable ImageGenerationCommonConfigSchema
Const
ImageGenerationCommonConfigSchema
:
z
.
ZodObject
<
{
n
:
z
.
ZodDefault
<
z
.
ZodNumber
>
;
quality
:
z
.
ZodOptional
<
z
.
ZodEnum
<
[
"standard"
,
"hd"
]
>
>
;
response_format
:
z
.
ZodOptional
<
z
.
ZodDefault
<
z
.
ZodEnum
<
[
"b64_json"
,
"url"
]
>
>
,
>
;
size
:
z
.
ZodOptional
<
z
.
ZodEnum
<
[
"1024x1024"
,
"1792x1024"
,
"1024x1792"
]
>
>
;
style
:
z
.
ZodOptional
<
z
.
ZodEnum
<
[
"vivid"
,
"natural"
]
>
>
;
user
:
z
.
ZodOptional
<
z
.
ZodString
>
;
}
,
"strip"
,
z
.
ZodTypeAny
,
{
n
:
number
;
quality
?:
"standard"
|
"hd"
;
response_format
?:
"url"
|
"b64_json"
;
size
?:
"1024x1024"
|
"1792x1024"
|
"1024x1792"
;
style
?:
"vivid"
|
"natural"
;
user
?:
string
;
}
,
{
n
?:
number
;
quality
?:
"standard"
|
"hd"
;
response_format
?:
"url"
|
"b64_json"
;
size
?:
"1024x1024"
|
"1792x1024"
|
"1024x1792"
;
style
?:
"vivid"
|
"natural"
;
user
?:
string
;
}
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Genkit JS API reference
Loading...