Text2Image class

Constructors

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})
const

Properties

clipSkip int?
final
enhancePrompt String?
final
guidanceScale double?
final
hashCode int
The hash code for this object.
no setterinherited
height int?
final
key String
final
loraModel String?
final
loraStrength double?
final
modelId String?
final
multiLingual String?
final
negativePrompt String?
final
numInferenceSteps int?
final
panorama String?
final
prompt String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safetyChecker String?
final
samples int?
final
scheduler String?
final
seed int?
final
selfAttention String?
final
upscale String?
final
width int?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited