Rooni commited on
Commit
0a28211
·
verified ·
1 Parent(s): 153cce7

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +2 -2
server.js CHANGED
@@ -74,8 +74,8 @@ app.post('/gen', upload.single('image'), async (req, res) => {
74
  "text": prompt,
75
  },
76
  {
77
- "type": "image/jpeg",
78
- "image": img,
79
  },
80
  ],
81
  }
 
74
  "text": prompt,
75
  },
76
  {
77
+ "type": "image/png",
78
+ "base64": img,
79
  },
80
  ],
81
  }