ImagenSafetyFilterLevel

@PublicPreviewAPI
class ImagenSafetyFilterLevel


Used for safety filtering.

Summary

Public companion properties

ImagenSafetyFilterLevel

Strongest filtering level, most strict blocking.

ImagenSafetyFilterLevel

Block some problematic prompts and responses.

ImagenSafetyFilterLevel

Turns off all optional safety filters.

ImagenSafetyFilterLevel

Reduces the number of requests blocked due to safety filters.

Public companion properties

BLOCK_LOW_AND_ABOVE

val BLOCK_LOW_AND_ABOVEImagenSafetyFilterLevel

Strongest filtering level, most strict blocking.

BLOCK_MEDIUM_AND_ABOVE

val BLOCK_MEDIUM_AND_ABOVEImagenSafetyFilterLevel

Block some problematic prompts and responses.

BLOCK_NONE

val BLOCK_NONEImagenSafetyFilterLevel

Turns off all optional safety filters.

BLOCK_ONLY_HIGH

val BLOCK_ONLY_HIGHImagenSafetyFilterLevel

Reduces the number of requests blocked due to safety filters. May increase objectionable content generated by the Imagen model.