ImagenControlType

classImagenControlType


Represents a control type for controlled Imagen generation/editing

Summary

Public companion properties

ImagenControlType

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

ImagenControlType

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

ImagenControlType

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

ImagenControlType

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

Public companion properties

CANNY

val CANNYImagenControlType

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

COLOR_SUPERPIXEL

val COLOR_SUPERPIXELImagenControlType

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

FACE_MESH

val FACE_MESHImagenControlType

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

SCRIBBLE

val SCRIBBLEImagenControlType

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.