Text2Image constructor
const
Text2Image({
- required String key,
- required String prompt,
- String? modelId,
- String? negativePrompt,
- int? width,
- int? height,
- int? samples,
- int? numInferenceSteps,
- String? safetyChecker,
- int? seed,
- String? enhancePrompt,
- double? guidanceScale,
- String? multiLingual,
- String? panorama,
- String? selfAttention,
- String? upscale,
- String? loraModel,
- double? loraStrength,
- String? scheduler,
- int? clipSkip,
Implementation
const Text2Image({
required this.key,
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,
});