ImageToImageRequestParams constructor

ImageToImageRequestParams({
  1. InitImageMode initImageMode = InitImageMode.imageStrength,
  2. double? imageStrength,
  3. double? stepScheduleStart,
  4. double? stepScheduleEnd,
  5. required List<TextPrompt> textPrompts,
  6. int cfgScale = 7,
  7. ClipGuidancePreset clipGuidancePreset = ClipGuidancePreset.none,
  8. Sampler? sampler,
  9. int samples = 1,
  10. int seed = 0,
  11. int steps = 50,
  12. 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});