ImagenEditMode

public final class ImagenEditMode


Represents the edit mode for Imagen

Summary

Nested types

public static class ImagenEditMode.Companion

Public fields

static final @NonNull ImagenEditMode

Inserts a new element into an image

static final @NonNull ImagenEditMode

Removes an element from an image

static final @NonNull ImagenEditMode

Extends the borders of an image outwards

Public fields

INPAINT_INSERTION

public static final @NonNull ImagenEditMode INPAINT_INSERTION

Inserts a new element into an image

INPAINT_REMOVAL

public static final @NonNull ImagenEditMode INPAINT_REMOVAL

Removes an element from an image

OUTPAINT

public static final @NonNull ImagenEditMode OUTPAINT

Extends the borders of an image outwards