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