Edit request with source image buffer and prompt.
Generation result containing the edited image(s).
When the provider is not initialised.
When the API returns an HTTP error status.
https://platform.openai.com/docs/api-reference/images/createEdit
Creates visual variations of an image using the OpenAI /v1/images/variations endpoint.
The variance field in the request is not natively supported by OpenAI's
variations API (there is no strength parameter), so it is currently ignored.
Every call produces images with the model's default level of variation.
Variation request with the source image buffer.
Generation result containing the variation image(s).
When the provider is not initialised.
When the API returns an HTTP error status.
https://platform.openai.com/docs/api-reference/images/createVariation
Readonly providerOptional default
Edits an image using the OpenAI
/v1/images/editsendpoint.Supports both img2img (prompt-guided transformation) and inpainting (mask-guided regional editing). The endpoint expects multipart form data with the source image and an optional mask.