Google Cloud Ai Platform V1 Client - Class MediaResolution (1.54.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class MediaResolution.
Media resolution for the input media.
Protobuf type google.cloud.aiplatform.v1.GenerationConfig.MediaResolution
Namespace
Google \ Cloud \ AIPlatform \ V1 \ GenerationConfig
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
MEDIA_RESOLUTION_UNSPECIFIED
Value: 0
Media resolution has not been set.
Generated from protobuf enum MEDIA_RESOLUTION_UNSPECIFIED = 0;
MEDIA_RESOLUTION_LOW
Value: 1
Media resolution set to low (64 tokens).
Generated from protobuf enum MEDIA_RESOLUTION_LOW = 1;
MEDIA_RESOLUTION_MEDIUM
Value: 2
Media resolution set to medium (256 tokens).
Generated from protobuf enum MEDIA_RESOLUTION_MEDIUM = 2;
MEDIA_RESOLUTION_HIGH
Value: 3
Media resolution set to high (zoomed reframing with 256 tokens).
Generated from protobuf enum MEDIA_RESOLUTION_HIGH = 3;
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-19 UTC."],[],[]]