ImagenControlType

public final classImagenControlType


Represents a control type for controlled Imagen generation/editing

Summary

Nested types

public static classImagenControlType.Companion

Public fields

static final @NonNullImagenControlType

Use edge detection to ensure the new image follows the same outlines as the reference image.

static final @NonNullImagenControlType

Use color superpixels to ensure that the new image is similar in shape and color to the reference image.

static final @NonNullImagenControlType

Use face mesh control to ensure that the new image has the same facial expressions as the reference image.

static final @NonNullImagenControlType

Use enhanced edge detection to ensure the new image follows the same outlines as the reference image.

Public fields

CANNY

public static final @NonNullImagenControlType CANNY

Use edge detection to ensure the new image follows the same outlines as the reference image.

COLOR_SUPERPIXEL

public static final @NonNullImagenControlType COLOR_SUPERPIXEL

Use color superpixels to ensure that the new image is similar in shape and color to the reference image.

FACE_MESH

public static final @NonNullImagenControlType FACE_MESH

Use face mesh control to ensure that the new image has the same facial expressions as the reference image.

SCRIBBLE

public static final @NonNullImagenControlType SCRIBBLE

Use enhanced edge detection to ensure the new image follows the same outlines as the reference image.

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.