Package com.google.genai.types
Class MediaResolution
java.lang.Object
com.google.genai.types.MediaResolution
The token resolution at which input media content is sampled. This is used to control the
trade-off between the quality of the response and the number of tokens used to represent the
media. A higher resolution allows the model to perceive more detail, which can lead to a more
nuanced response, but it will also use more tokens. This does not affect the image dimensions
sent to the model.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnum representing the known values for MediaResolution. -
Constructor Summary
ConstructorsConstructorDescriptionMediaResolution(MediaResolution.Known knownValue) MediaResolution(String value) -
Method Summary