ImageUpScaleRequestParams class

Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

ImageUpScaleRequestParams({int? width, int? height, List<TextPrompt>? textPrompts, int? seed, int? steps, int? cfgScale})
ImageUpScaleRequestParams.fromJson(Map<String, dynamic> json)
factory
ImageUpScaleRequestParams.latentUpScale({required ScaleUpscaleParam scale, required List<TextPrompt> textPrompts, int seed = 0, int steps = 50, int cfgScale = 7})
factory
ImageUpScaleRequestParams.realESRGANUpscale({required ScaleUpscaleParam scale})
factory

Properties

cfgScale int?
How strictly the diffusion process adheres to the prompt text (higher values keep your image closer to your prompt)
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seed int?
Random noise seed (omit this option or use 0 for a random seed)
getter/setter pair
steps int?
Number of diffusion steps to run
getter/setter pair
textPrompts List<TextPrompt>?
getter/setter pair
width int?
getter/setter pair

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.
override

Operators

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