ImagenEditMode

class ImagenEditMode


Represents the edit mode for Imagen

Deprecation Notice: All Imagen models are deprecated and will shut down as early as June 2026. As a replacement, you can migrate your apps to use Gemini Image models (the 'Nano Banana' models)

Summary

Public companion properties

ImagenEditMode

Inserts a new element into an image

ImagenEditMode

Removes an element from an image

ImagenEditMode

Extends the borders of an image outwards

Public companion properties

INPAINT_INSERTION

val INPAINT_INSERTIONImagenEditMode

Inserts a new element into an image

INPAINT_REMOVAL

val INPAINT_REMOVALImagenEditMode

Removes an element from an image

OUTPAINT

val OUTPAINTImagenEditMode

Extends the borders of an image outwards