ImageToImageRequestParams constructor
ImageToImageRequestParams({
- InitImageMode initImageMode = InitImageMode.imageStrength,
- double? imageStrength,
- double? stepScheduleStart,
- double? stepScheduleEnd,
- required List<
TextPrompt> textPrompts, - int cfgScale = 7,
- ClipGuidancePreset clipGuidancePreset = ClipGuidancePreset.none,
- Sampler? sampler,
- int samples = 1,
- int seed = 0,
- int steps = 50,
- required StylePreset stylePreset,
Implementation
ImageToImageRequestParams(
{this.initImageMode = InitImageMode.imageStrength,
this.imageStrength,
this.stepScheduleStart,
this.stepScheduleEnd,
required this.textPrompts,
this.cfgScale = 7,
this.clipGuidancePreset = ClipGuidancePreset.none,
this.sampler,
this.samples = 1,
this.seed = 0,
this.steps = 50,
required this.stylePreset});