Struct openai_api_rust::apis::images::ImagesEditBody
source · pub struct ImagesEditBody {
pub image: File,
pub mask: Option<File>,
pub images_body: ImagesBody,
}
Fields§
§image: File
The image to edit. Must be a valid PNG file, less than 4MB, and square. If mask is not provided, image must have transparency, which will be used as the mask.
mask: Option<File>
An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where image should be edited. Must be a valid PNG file, less than 4MB, and have the same dimensions as image.
images_body: ImagesBody