ImageMaskingRequestParam constructor
ImageMaskingRequestParam({
- required MaskSource maskSource,
- required List<
TextPrompt> textPrompts, - Uint8List? maskImage,
- int cfgScale = 7,
- ClipGuidancePreset clipGuidancePreset = ClipGuidancePreset.none,
- Sampler? sampler,
- int samples = 1,
- int seed = 0,
- int steps = 50,
- 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});