Skip to content

Commit

Permalink
chore(schema): fix text-to-image output instillformat (#1098)
Browse files Browse the repository at this point in the history
Because

- text-to-image output schema has wrong instillformat

This commit

- fix text-to-image output instillformat

resolves INS-6230
  • Loading branch information
heiruwu committed Sep 10, 2024
1 parent 998aa56 commit 2496179
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions schema/ai-tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -900,14 +900,14 @@
]
},
"negative-prompt": {
"title": "Aspect ratio",
"title": "Negative prompt",
"type": "string",
"description": "Keywords of what you do not wish to see in the output image.",
"instillShortDescription": "Keywords of what you do not wish to see in the output image.",
"instillAcceptFormats": [
"string"
],
"default": "1:1"
"default": ""
},
"n": {
"title": "Number of choices",
Expand Down Expand Up @@ -973,7 +973,7 @@
"type": "string",
"description": "The generated image, encoded to base64.",
"instillShortDescription": "The generated image, encoded to base64.",
"instillFormat": "string"
"instillFormat": "image/*"
}
},
"required": [
Expand Down

0 comments on commit 2496179

Please sign in to comment.