Expand description
Given a prompt and/or an input image, the model will generate a new image.
Modules§
- edit
- Creates an edited or extended image given an original image and a prompt.
- generate
- Creates an image given a prompt.
- variation
- Creates a variation of a given image.
Structs§
- Images
- Result from an images request
Enums§
- Image
Data - Image data
- Image
Response Format - The format in which the generated images are returned.
- Size
- The size of the generated images.
Functions§
- load_
image - Loads the image from
path
and transforms it into a format valid to be sent to an OpenAI endpoint.