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 \ GenerationConfigMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
MEDIA_RESOLUTION_UNSPECIFIED
Value: 0Media resolution has not been set.
Generated from protobuf enum MEDIA_RESOLUTION_UNSPECIFIED = 0;
MEDIA_RESOLUTION_LOW
Value: 1Media resolution set to low (64 tokens).
Generated from protobuf enum MEDIA_RESOLUTION_LOW = 1;
MEDIA_RESOLUTION_MEDIUM
Value: 2Media resolution set to medium (256 tokens).
Generated from protobuf enum MEDIA_RESOLUTION_MEDIUM = 2;
MEDIA_RESOLUTION_HIGH
Value: 3Media resolution set to high (zoomed reframing with 256 tokens).
Generated from protobuf enum MEDIA_RESOLUTION_HIGH = 3;