fix: set response_format as b64_json

This commit is contained in:
jialin
2025-11-12 19:18:10 +08:00
parent b7656d65e7
commit e8eea9573e
2 changed files with 18 additions and 0 deletions
@@ -191,6 +191,23 @@ export const ImageSizeConfig: ParamsSchema[] = [
required: false
}
]
},
{
type: 'Select',
name: 'response_format',
formItemAttrs: {
hidden: true
},
options: [{ label: 'b64_json', value: 'b64_json' }],
label: {
text: 'Response Format',
isLocalized: false
},
rules: [
{
required: false
}
]
}
];
+1
View File
@@ -70,6 +70,7 @@ export const openaiCompatibleFieldsDefaultValus = {
export const imgInitialValues = {
n: 1,
size: '512x512',
response_format: 'b64_json',
width: 512,
height: 512
};