You're looking at a specific version of this model. Jump to the model overview.
mlscade /stable-diffusion-no-ui-light:663b33d8
            
              
                
              
            
            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 | 
|---|---|---|---|
| generation_type | 
           
            None
            
           
         | 
        
          
             
              txt2img
             
          
          
          
         | 
        
           
            Generation mode
           
         | 
      
| clip_stop_at_last_layers | 
           
            integer
            
           
         | 
        
          
             
              2
             
          
          
          
            Min: 1 Max: 12  | 
        
           
            Clip skip
           
         | 
      
| tiling | 
           
            boolean
            
           
         | 
        
          
             
              False
             
          
          
          
         | 
        
           
            Enable tiling
           
         | 
      
| upload_lora | 
           
            string
            
           
         | 
        
           
            Upload LoRA
           
         | 
      |
| prompt | 
           
            string
            
           
         | 
        
          
             | 
        
           
            Prompt
           
         | 
      
| negative_prompt | 
           
            string
            
           
         | 
        
          
             
              (deformed, distorted, disfigured:1.3), (naked, nude:1.5), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation
             
          
          
          
         | 
        
           
            Negative prompt
           
         | 
      
| image | 
           
            string
            
           
         | 
        
           
            Input image [img2img or postprocessing modes only]
           
         | 
      |
| cfg_scale | 
           
            number
            
           
         | 
        
          
             
              7
             
          
          
          
         | 
        
           
            CFG scale
           
         | 
      
| seed | 
           
            integer
            
           
         | 
        
           
            Seed. Leave blank for random generation
           
         | 
      |
| width | 
           
            integer
            
           
         | 
        
          
             
              512
             
          
          
          
         | 
        
           
            Width
           
         | 
      
| height | 
           
            integer
            
           
         | 
        
          
             
              512
             
          
          
          
         | 
        
           
            Height
           
         | 
      
| num_outputs | 
           
            integer
            
           
         | 
        
          
             
              1
             
          
          
          
            Min: 1 Max: 4  | 
        
           
            Batch size [Doesn't work in postprocess mode].
           
         | 
      
| sampler | 
           
            None
            
           
         | 
        
          
             
              Euler a
             
          
          
          
         | 
        
           
            Sampling method
           
         | 
      
| sampler_steps | 
           
            integer
            
           
         | 
        
          
             
              20
             
          
          
          
            Min: 1 Max: 50  | 
        
           
            Sampling steps [Doesn't work in postprocess mode].
           
         | 
      
| hr_enabled | 
           
            boolean
            
           
         | 
        
          
             
              False
             
          
          
          
         | 
        
           
            [HR] Enable
           
         | 
      
| denoising_strength | 
           
            number
            
           
         | 
        
          
             
              0.75
             
          
          
          
         | 
        
           
            [HR] Denoising strength
           
         | 
      
| hr_scale | 
           
            number
            
           
         | 
        
          
             
              2
             
          
          
          
         | 
        
           
            [HR] Upscale by
           
         | 
      
| hr_second_pass_steps | 
           
            number
            
           
         | 
        
          
             
              0
             
          
          
          
         | 
        
           
            [HR] Hires steps
           
         | 
      
| hr_upscaler | 
           
            None
            
           
         | 
        
          
             
              4x_foolhardy_Remacri
             
          
          
          
         | 
        
           
            [HR] Upscaler
           
         | 
      
| hr_resize_x | 
           
            integer
            
           
         | 
        
          
             
              0
             
          
          
          
         | 
        
           
            [HR] Resize width to
           
         | 
      
| hr_resize_y | 
           
            integer
            
           
         | 
        
          
             
              0
             
          
          
          
         | 
        
           
            [HR] Resize height to
           
         | 
      
| ad_enabled | 
           
            boolean
            
           
         | 
        
          
             
              False
             
          
          
          
         | 
        
           
            [adetailer] Enable
           
         | 
      
| ad_model | 
           
            None
            
           
         | 
        
          
             
              face_yolov8s
             
          
          
          
         | 
        
           
            [adetailer] ADetailer model
           
         | 
      
| ad_prompt | 
           
            string
            
           
         | 
        
          
             | 
        
           
            [adetailer] ADetailer prompt
           
         | 
      
| ad_negative_prompt | 
           
            string
            
           
         | 
        
          
             | 
        
           
            [adetailer] ADetailer negative prompt
           
         | 
      
| ad_use_sampler | 
           
            boolean
            
           
         | 
        
          
             
              True
             
          
          
          
         | 
        
           
            [adetailer] Use separate sampler
           
         | 
      
| ad_sampler | 
           
            None
            
           
         | 
        
          
             
              Euler a
             
          
          
          
         | 
        
           
            [adetailer] ADetailer sampler
           
         | 
      
| ad_confidence | 
           
            number
            
           
         | 
        
          
             
              0.3
             
          
          
          
         | 
        
           
            [adetailer] Detection model confidence threshold
           
         | 
      
| ad_dilate_erode | 
           
            integer
            
           
         | 
        
          
             
              4
             
          
          
          
         | 
        
           
            [adetailer] Mask erosion (-) / dilation (+)
           
         | 
      
| ad_mask_blur | 
           
            integer
            
           
         | 
        
          
             
              4
             
          
          
          
         | 
        
           
            [adetailer] Inpaint mask blur
           
         | 
      
| ad_mask_merge_mode | 
           
            None
            
           
         | 
        
          
             
              None
             
          
          
          
         | 
        
           
            [adetailer] Mask merge mode
           
         | 
      
| ad_denoising_strength | 
           
            number
            
           
         | 
        
          
             
              0.4
             
          
          
          
         | 
        
           
            [adetailer] Inpaint denoising strength
           
         | 
      
| ad_inpaint_only_masked | 
           
            boolean
            
           
         | 
        
          
             
              True
             
          
          
          
         | 
        
           
            [adetailer] Inpaint only masked
           
         | 
      
| ad_inpaint_only_masked_padding | 
           
            integer
            
           
         | 
        
          
             
              32
             
          
          
          
         | 
        
           
            [adetailer] Inpaint only masked padding, pixels
           
         | 
      
| ad_use_inpaint_width_height | 
           
            boolean
            
           
         | 
        
          
             
              False
             
          
          
          
         | 
        
           
            [adetailer] Use separate width/height
           
         | 
      
| ad_inpaint_width | 
           
            integer
            
           
         | 
        
          
             
              512
             
          
          
          
         | 
        
           
            [adetailer] Inpaint width
           
         | 
      
| ad_inpaint_height | 
           
            integer
            
           
         | 
        
          
             
              512
             
          
          
          
         | 
        
           
            [adetailer] Inpaint height
           
         | 
      
| sd_upscaler_enable | 
           
            boolean
            
           
         | 
        
          
             
              False
             
          
          
          
         | 
        
           
            [SD upscaler] Enable
           
         | 
      
| sd_upscaler_upscaler | 
           
            None
            
           
         | 
        
          
             
              4x_foolhardy_Remacri
             
          
          
          
         | 
        
           
            [SD upscaler] Upscaler
           
         | 
      
| sd_upscaler_tile_overlap | 
           
            integer
            
           
         | 
        
          
             
              16
             
          
          
          
         | 
        
           
            [SD upscaler] Tile overlap
           
         | 
      
| sd_upscaler_scale_factor | 
           
            number
            
           
         | 
        
          
             
              2
             
          
          
          
         | 
        
           
            [SD upscaler] Scale Factor
           
         | 
      
            
              
                
              
            
            Output schema
          
        The shape of the response you’ll get when you run this model with an API.
              Schema
            
            {'properties': {'images': {'items': {'format': 'uri', 'type': 'string'},
                           'title': 'Images',
                           'type': 'array'},
                'prompt': {'title': 'Prompt', 'type': 'string'},
                'seeds': {'items': {'type': 'string'},
                          'title': 'Seeds',
                          'type': 'array'}},
 'required': ['images', 'seeds', 'prompt'],
 'title': 'Output',
 'type': 'object'}