ImageEditRequest
@Serializable
Edits one to sixteen referenced images using the current JSON image API.
Constructors
Link copied to clipboard
constructor(images: List<ImageReference>, prompt: String, model: ModelId? = null, n: Int? = null, size: ImageSize? = null, quality: Quality? = null, inputFidelity: ImageInputFidelity? = null, mask: ImageReference? = null, markup: ImageReference? = null, background: ImageBackground? = null, moderation: ImageModeration? = null, outputCompression: Int? = null, outputFormat: ImageOutputFormat? = null, partialImages: Int? = null, safetyIdentifier: String? = null, user: String? = null)
Properties
Link copied to clipboard
Background transparency.
Link copied to clipboard
Source images, in reference order.
Link copied to clipboard
Fidelity control for supporting models.
Link copied to clipboard
Optional markup overlay; cannot be combined with mask.
Link copied to clipboard
Optional edit mask; cannot be combined with markup.
Link copied to clipboard
Image moderation level.
Link copied to clipboard
JPEG or WebP compression from 0 to 100.
Link copied to clipboard
Encoded image format.
Link copied to clipboard
Number of partial images requested during streaming, from 0 to 3.
Link copied to clipboard
Stable, non-identifying end-user identifier.