Enumeration 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.

Enumeration Members

MEDIA_RESOLUTION_HIGH: "MEDIA_RESOLUTION_HIGH"

Media resolution set to high (zoomed reframing with 256 tokens).

MEDIA_RESOLUTION_LOW: "MEDIA_RESOLUTION_LOW"

Media resolution set to low (64 tokens).

MEDIA_RESOLUTION_MEDIUM: "MEDIA_RESOLUTION_MEDIUM"

Media resolution set to medium (256 tokens).

MEDIA_RESOLUTION_UNSPECIFIED: "MEDIA_RESOLUTION_UNSPECIFIED"

Media resolution has not been set.