ImageMaskingRequestParam constructor

ImageMaskingRequestParam({
  1. required MaskSource maskSource,
  2. required List<TextPrompt> textPrompts,
  3. Uint8List? maskImage,
  4. int cfgScale = 7,
  5. ClipGuidancePreset clipGuidancePreset = ClipGuidancePreset.none,
  6. Sampler? sampler,
  7. int samples = 1,
  8. int seed = 0,
  9. int steps = 50,
  10. required StylePreset stylePreset,
})

Implementation

ImageMaskingRequestParam(
    {required this.maskSource,
    required this.textPrompts,
    this.maskImage,
    this.cfgScale = 7,
    this.clipGuidancePreset = ClipGuidancePreset.none,
    this.sampler,
    this.samples = 1,
    this.seed = 0,
    this.steps = 50,
    required this.stylePreset});