Image2Image constructor

const Image2Image({
  1. required String key,
  2. required String prompt,
  3. required dynamic initImage,
  4. String? modelId,
  5. String? negativePrompt,
  6. int? width,
  7. int? height,
  8. int? samples,
  9. int? numInferenceSteps,
  10. String? safetyChecker,
  11. int? seed,
  12. String? enhancePrompt,
  13. double? guidanceScale,
  14. String? multiLingual,
  15. String? panorama,
  16. String? selfAttention,
  17. String? upscale,
  18. String? loraModel,
  19. double? loraStrength,
  20. String? scheduler,
  21. int? clipSkip,
})

Implementation

const Image2Image({
  required this.key,
  required this.prompt,
  required this.initImage,
  this.modelId,
  this.negativePrompt,
  this.width,
  this.height,
  this.samples,
  this.numInferenceSteps,
  this.safetyChecker,
  this.seed,
  this.enhancePrompt,
  this.guidanceScale,
  this.multiLingual,
  this.panorama,
  this.selfAttention,
  this.upscale,
  this.loraModel,
  this.loraStrength,
  this.scheduler,
  this.clipSkip,
});