You're looking at a specific version of this model. Jump to the model overview.
zsxkib /flux-dev-inpainting:ca8350ff
            
              
                
              
            
            Input schema
          
        The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description | 
|---|---|---|---|
| image | 
           
            string
            
           
         | 
        
           
            Input image for inpainting
           
         | 
      |
| mask | 
           
            string
            
           
         | 
        
           
            Mask image
           
         | 
      |
| prompt | 
           
            string
            
           
         | 
        
           
            Text prompt for inpainting
           
         | 
      |
| strength | 
           
            number
            
           
         | 
        
          
             
              0.85
             
          
          
          
            Max: 1  | 
        
           
            Strength of inpainting. Higher values allow for more deviation from the original image.
           
         | 
      
| num_inference_steps | 
           
            integer
            
           
         | 
        
          
             
              30
             
          
          
          
            Min: 1 Max: 50  | 
        
           
            Number of denoising steps. More steps usually lead to a higher quality image at the expense of slower inference.
           
         | 
      
| guidance_scale | 
           
            number
            
           
         | 
        
          
             
              7
             
          
          
          
            Min: 1 Max: 20  | 
        
           
            Guidance scale as defined in Classifier-Free Diffusion Guidance. Higher guidance scale encourages images that are closely linked to the text prompt, usually at the expense of lower image quality.
           
         | 
      
| height | 
           
            integer
            
           
         | 
        
          
             
              1024
             
          
          
          
            Min: 128 Max: 2048  | 
        
           
            Height of the output image. Will be rounded to the nearest multiple of 8.
           
         | 
      
| width | 
           
            integer
            
           
         | 
        
          
             
              1024
             
          
          
          
            Min: 128 Max: 2048  | 
        
           
            Width of the output image. Will be rounded to the nearest multiple of 8.
           
         | 
      
| num_outputs | 
           
            integer
            
           
         | 
        
          
             
              1
             
          
          
          
            Min: 1 Max: 8  | 
        
           
            Number of images to generate per prompt.
           
         | 
      
| seed | 
           
            integer
            
           
         | 
        
           
            Random seed. Leave blank to randomize the seed
           
         | 
      |
| output_format | 
           
            None
            
           
         | 
        
          
             
              webp
             
          
          
          
         | 
        
           
            Format of the output image
           
         | 
      
| output_quality | 
           
            integer
            
           
         | 
        
          
             
              80
             
          
          
          
            Max: 100  | 
        
           
            Quality of the output image, from 0 to 100. 100 is best quality, 0 is lowest quality.
           
         | 
      
            
              
                
              
            
            Output schema
          
        The shape of the response you’ll get when you run this model with an API.
{'items': {'format': 'uri', 'type': 'string'},
 'title': 'Output',
 'type': 'array',
 'x-cog-array-type': 'iterator'}