T1ckbase commited on
Commit
3fdf66a
·
1 Parent(s): 290493f
Files changed (1) hide show
  1. main.ts +1 -1
main.ts CHANGED
@@ -80,7 +80,7 @@ app.post('/v1/images/generations', async (c) => {
80
  const { width = 1024, height = 1024 } = parseResolution(params.size as string);
81
 
82
  const requestBody: any = {
83
- input: params.prompt,
84
  parameters: {
85
  width,
86
  height,
 
80
  const { width = 1024, height = 1024 } = parseResolution(params.size as string);
81
 
82
  const requestBody: any = {
83
+ inputs: params.prompt,
84
  parameters: {
85
  width,
86
  height,