ControlNet class
Constructors
- ControlNet.new({required String key, required String prompt, required dynamic initImage, required dynamic maskImage, 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, String? controlnetModel, String? controlnetType, double? strength})
-
const
Properties
- clipSkip → int?
-
final
- controlnetModel → String?
-
final
- controlnetType → String?
-
final
- enhancePrompt → String?
-
final
- guidanceScale → double?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int?
-
final
- initImage → dynamic
-
final
- key → String
-
final
- loraModel → String?
-
final
- loraStrength → double?
-
final
- maskImage → dynamic
-
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
- strength → double?
-
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