ImagenPersonFilterLevel

@PublicPreviewAPI
class ImagenPersonFilterLevel


A filter used to prevent images from containing depictions of children or people.

Summary

Public companion properties

ImagenPersonFilterLevel

Allow generation of images containing adults only; images of children are filtered out.

ImagenPersonFilterLevel

Allow generation of images containing people of all ages.

ImagenPersonFilterLevel

Disallow generation of images containing people or faces; images of people are filtered out.

Public companion properties

ALLOW_ADULT

val ALLOW_ADULTImagenPersonFilterLevel

Allow generation of images containing adults only; images of children are filtered out.

Important: Generation of images containing people or faces may require your use case to be reviewed and approved by Cloud support; see the Responsible AI and usage guidelines for more details.

ALLOW_ALL

val ALLOW_ALLImagenPersonFilterLevel

Allow generation of images containing people of all ages.

Important: Generation of images containing people or faces may require your use case to be reviewed and approved by Cloud support; see the Responsible AI and usage guidelines for more details.

BLOCK_ALL

val BLOCK_ALLImagenPersonFilterLevel

Disallow generation of images containing people or faces; images of people are filtered out.