ControlNet constructor

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

Implementation

const ControlNet({
  required this.key,
  required this.prompt,
  required this.initImage,
  required this.maskImage,
  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,
  this.controlnetModel,
  this.controlnetType,
  this.strength,
});