InitImageMode class abstract

To preserve only roughly 35% of the initial image, pass in either init_image_mode=IMAGE_STRENGTH and image_strength=0.35 or init_image_mode=STEP_SCHEDULE and step_schedule_start=0.65. Both of these are equivalent, however init_image_mode=STEP_SCHEDULE also lets you pass in step_schedule_end, which can provide an extra level of control for those who need it. For more details, see the specific fields below.

Implementers

Constructors

InitImageMode.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Methods

imageStrength({double? imageStrength}) ImageStrength
Use image_strength as image_init_mode
stepSchedule({double? start, double? end}) StepSchedule
Use step_schedule as image_init_mode