You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirm this is a Node library issue and not an underlying OpenAI API issue
This is an issue with the Node library
Describe the bug
Since yesterday, a call to the "openai.images.edit" API throws an error: BadRequestError: 400 Invalid file 'image': unsupported mimetype ('application/octet-stream'). Supported file formats are 'image/png'.
The same API call worked for that last year without this error.
To Reproduce
Provide to images, and set the filenames to patchFn and maskFn, both files are PNGs.
Call the openai.images.edit API with the following code