Open
Description
Describe the bug
Per https://platform.openai.com/docs/api-reference/images/createEdit#images-createedit-image, the image edit endpoint supports either a string or an array of files for multiple image edit.
It looks like it currently only supports a string.
https://github.com/alexrudall/ruby-openai/blob/f020cbd5b69d39d24d8ff1b502ad3bb3dae9425c/lib/openai/images.rb#L22C7-L22C74
To Reproduce
Steps to reproduce the behavior:
- Hit the image edit endpoint with an array
Expected behavior
The image edit endpoint should accept and process multiple files
Additional context
Passing an array raises:
TypeError (no implicit conversion of Array into String)
Metadata
Metadata
Assignees
Labels
No labels