OptionalCancellationOptional signal for cancelling the request. The driver is responsible for honoring it: it
should refuse the call when the signal is already aborted and hand it to the provider's HTTP
client, so an abort tears the request down. A call the signal ends resolves with
success: false and an errorInfo that classifies a caller cancellation as Cancelled,
which is never failed over (see BaseImageGenerator.CancelledResult).
The original image to edit. Can be a Buffer, base64 string, or URL.
OptionalmaskMask image indicating which areas to edit. Transparent/white areas will be regenerated. Can be a Buffer, base64 string, or URL.
OptionalmodelModel name/ID to use for editing
OptionalnNumber of edited images to generate
OptionalnegativeNegative prompt - things to avoid
OptionaloutputHow the result should be returned
Text prompt describing the edit to make
OptionalproviderProvider-specific additional parameters
OptionalsizeSize of the output image(s)
Parameters for image editing/inpainting