File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed
firebase-ai/src/main/kotlin/com/google/firebase/ai/type Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,30 @@ package com.google.firebase.ai.type
20
20
@PublicPreviewAPI
21
21
public class ImagenPersonFilterLevel private constructor(internal val internalVal : String ) {
22
22
public companion object {
23
- /* * No filters applied. */
23
+ /* *
24
+ * Allow generation of images containing people of all ages.
25
+ *
26
+ * > Important: Generation of images containing people or faces may require your use case to be
27
+ * reviewed and approved by Cloud support; see the
28
+ * [Responsible AI and usage
29
+ * guidelines](https://cloud.google.com/vertex-ai/generative-ai/docs/image/responsible-ai-imagen#person-face-gen)
30
+ * for more details.
31
+ */
24
32
@JvmField public val ALLOW_ALL : ImagenPersonFilterLevel = ImagenPersonFilterLevel (" allow_all" )
25
- /* * Filters out any images containing depictions of children. */
33
+ /* *
34
+ * Allow generation of images containing adults only; images of children are filtered out.
35
+ *
36
+ * > Important: Generation of images containing people or faces may require your use case to be
37
+ * reviewed and approved by Cloud support; see the
38
+ * [Responsible AI and usage
39
+ * guidelines](https://cloud.google.com/vertex-ai/generative-ai/docs/image/responsible-ai-imagen#person-face-gen)
40
+ * for more details.
41
+ */
26
42
@JvmField
27
43
public val ALLOW_ADULT : ImagenPersonFilterLevel = ImagenPersonFilterLevel (" allow_adult" )
28
- /* * Filters out any images containing depictions of people. */
44
+ /* *
45
+ * Disallow generation of images containing people or faces; images of people are filtered out.
46
+ */
29
47
@JvmField public val BLOCK_ALL : ImagenPersonFilterLevel = ImagenPersonFilterLevel (" dont_allow" )
30
48
}
31
49
}
You can’t perform that action at this time.
0 commit comments