Package com.google.genai.types
Class StyleReferenceConfig
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.StyleReferenceConfig
Configuration for a Style reference image.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for StyleReferenceConfig. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StyleReferenceConfig.Builder
builder()
Instantiates a builder for StyleReferenceConfig.static StyleReferenceConfig
Deserializes a JSON string to a StyleReferenceConfig object.A text description of the style to use for the generated image.abstract StyleReferenceConfig.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
StyleReferenceConfig
public StyleReferenceConfig()
-
-
Method Details
-
styleDescription
A text description of the style to use for the generated image. -
builder
Instantiates a builder for StyleReferenceConfig. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a StyleReferenceConfig object.
-