Generating a new image based on a given prompt and/or an input
Creating an edited or extended image given an original image and a prompt.
The modifications to the code provide two new features for image manipulation to OpenAI API users. They allow the generation of new images based on a given prompt and/or an input image and the creation of edited or extended images given an original image and a prompt. The new code is modular, with each feature defined in a separate struct and associated functions. The code is also tested and documented, making it easier for users to understand and use the new features.
In my pull request, I just added:
The modifications to the code provide two new features for image manipulation to OpenAI API users. They allow the generation of new images based on a given prompt and/or an input image and the creation of edited or extended images given an original image and a prompt. The new code is modular, with each feature defined in a separate struct and associated functions. The code is also tested and documented, making it easier for users to understand and use the new features.