OpenAISwift icon indicating copy to clipboard operation
OpenAISwift copied to clipboard

Can we get support for images/create-edit & images/create-variation?

Open LawrenceNorman opened this issue 1 year ago • 2 comments

Just noticed that these APIs were available: https://platform.openai.com/docs/api-reference/images/create-edit https://platform.openai.com/docs/api-reference/images/create-variation

Would be nice to have these added!

LawrenceNorman avatar Apr 12 '23 19:04 LawrenceNorman

Agreed! It's somewhat odd how progress on this project is so seemingly sleepy given the enormity of the power of these OpenAI APIs and how easy it should be to enhance/expand this package through use of GPT-4 itself. I wrapped the salient parts of the ElevenLabs API in 20 minutes yesterday, or rather, GPT-4 did as per my instructions.

Then again, like everyone else I'm too caught up in doing other development work with AI right now to contribute much of anything myself to OpenAISwift.

optera15 avatar Apr 14 '23 07:04 optera15

I have just completed this and hopefully it gets merged quickly.

Because of the different handling of images between iOS and MacOS, you will need to do all the checking prior to sending paramters (dimensions, size, alpha channels).

MarkHoath avatar Jul 16 '23 10:07 MarkHoath