ImageGenerationTool class

— image_generation

Inheritance

Constructors

ImageGenerationTool.new({ImageGenerationBackground? background, InputImageMask? inputImageMask, String? model, ImageModeration? moderation, int? outputCompression, ImageOutputFormat? imageOutputFormat, int? partialImages, ImageOutputQuality? quality, ImageOutputSize? imageOutputSize})
const

Properties

background ImageGenerationBackground?
final
hashCode int
The hash code for this object.
no setterinherited
imageOutputFormat ImageOutputFormat?
final
imageOutputSize ImageOutputSize?
final
inputImageMask InputImageMask?
final
model String?
final
moderation ImageModeration?
final
outputCompression int?
final
partialImages int?
final
quality ImageOutputQuality?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

matches(Tool tool) bool
Whether the tool matches this one, if a tool matches another tool will be considered a duplicate
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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