chore: set image raw size to form

This commit is contained in:
jialin
2025-01-18 16:03:48 +08:00
parent 47ced11e03
commit 82e8c01b95
5 changed files with 99 additions and 22 deletions
+5 -4
View File
@@ -367,14 +367,15 @@ export const ImageAdvancedParamsConfig: ParamsSchema[] = [
]
},
{
type: 'Input',
type: 'TextArea',
name: 'negative_prompt', // e.g. ng_deepnegative_v1_75t,(badhandv4:1.2),EasyNegative,(worst quality:2),
label: {
text: 'playground.image.params.negativePrompt',
isLocalized: true
},
attrs: {
trim: false
trim: false,
autoSize: { minRows: 2, maxRows: 2 }
},
rules: [
{
@@ -450,7 +451,7 @@ export const ImageCustomSizeConfig: ParamsSchema[] = [
min: 256,
max: 3200,
step: 64,
inputnumber: false
inputnumber: true
},
rules: [
{
@@ -470,7 +471,7 @@ export const ImageCustomSizeConfig: ParamsSchema[] = [
min: 256,
max: 3200,
step: 64,
inputnumber: false
inputnumber: true
},
rules: [
{