Package com.google.genai.types
Class VideoGenerationReferenceImage
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.VideoGenerationReferenceImage
A reference image for video generation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for VideoGenerationReferenceImage. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Instantiates a builder for VideoGenerationReferenceImage.Deserializes a JSON string to a VideoGenerationReferenceImage object.image()
The reference image.abstract Optional<VideoGenerationReferenceType>
The type of the reference image, which defines how the reference image will be used to generate the video.Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
VideoGenerationReferenceImage
public VideoGenerationReferenceImage()
-
-
Method Details
-
image
The reference image. -
referenceType
The type of the reference image, which defines how the reference image will be used to generate the video. -
builder
Instantiates a builder for VideoGenerationReferenceImage. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a VideoGenerationReferenceImage object.
-