Rooni commited on
Commit
893b9f5
·
verified ·
1 Parent(s): 0a28211

Update server.js

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