Package com.google.genai.types
Class ScribbleImage
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.ScribbleImage
An image mask representing a brush scribble.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ScribbleImage.Builder
builder()
Instantiates a builder for ScribbleImage.static ScribbleImage
Deserializes a JSON string to a ScribbleImage object.image()
The brush scribble to guide segmentation.abstract ScribbleImage.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
ScribbleImage
public ScribbleImage()
-
-
Method Details
-
image
The brush scribble to guide segmentation. Valid for the interactive mode. -
builder
Instantiates a builder for ScribbleImage. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a ScribbleImage object.
-