Google Cloud Ai Platform V1 Client - Class MediaResolution (1.50.0)

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;