DiffusionOutputFormat class

Encoding of the returned image bytes.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
This enum's name, as specified in the .proto file.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
This enum's integer value, as specified in the .proto file.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns this enum's name or the value if names are not represented.
inherited

Operators

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

Static Methods

valueOf(int value) DiffusionOutputFormat?

Constants

DIFFUSION_OUTPUT_FORMAT_JPEG → const DiffusionOutputFormat
No JPEG or WEBP encoder exists in this tree yet. Requesting one is rejected outright; it is never silently answered with PNG.
DIFFUSION_OUTPUT_FORMAT_PNG → const DiffusionOutputFormat
DIFFUSION_OUTPUT_FORMAT_RAW_RGBA → const DiffusionOutputFormat
Escape hatch: no encode, 4 bytes per pixel, "image/raw-rgba".
DIFFUSION_OUTPUT_FORMAT_UNSPECIFIED → const DiffusionOutputFormat
DIFFUSION_OUTPUT_FORMAT_WEBP → const DiffusionOutputFormat
values → const List<DiffusionOutputFormat>