SwiftOpenAI icon indicating copy to clipboard operation
SwiftOpenAI copied to clipboard

Fix `mask` parameter for `ImageEdit` request

Open glyuck opened this issue 6 months ago • 2 comments

mask parameter should be sent as a file (instead of a string). It can also be nil, so don't throw an assertion error in that case.

glyuck avatar Apr 09 '25 17:04 glyuck