Text2Image constructor

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

Implementation

const Text2Image({
  required this.apiKey,
  required this.prompt,
  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,
});