ImagenEditMode

classImagenEditMode


Represents the edit mode for Imagen

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

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-28 UTC.