mediaResolution property
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.
Optional. Possible string values are:
- "MEDIA_RESOLUTION_UNSPECIFIED" : Media resolution has not been set.
- "MEDIA_RESOLUTION_LOW" : Media resolution set to low (64 tokens).
- "MEDIA_RESOLUTION_MEDIUM" : Media resolution set to medium (256 tokens).
- "MEDIA_RESOLUTION_HIGH" : Media resolution set to high (zoomed reframing with 256 tokens).
Implementation
core.String? mediaResolution;