Enum GenerationConfig.MediaResolution (3.56.0)

public enum GenerationConfig.MediaResolution extends Enum<GenerationConfig.MediaResolution> implements ProtocolMessageEnum

Media resolution for the input media.

Protobuf enum google.cloud.aiplatform.v1beta1.GenerationConfig.MediaResolution

Implements

ProtocolMessageEnum

Static Fields

Name Description
MEDIA_RESOLUTION_HIGH

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

MEDIA_RESOLUTION_HIGH = 3;

MEDIA_RESOLUTION_HIGH_VALUE

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

MEDIA_RESOLUTION_HIGH = 3;

MEDIA_RESOLUTION_LOW

Media resolution set to low (64 tokens).

MEDIA_RESOLUTION_LOW = 1;

MEDIA_RESOLUTION_LOW_VALUE

Media resolution set to low (64 tokens).

MEDIA_RESOLUTION_LOW = 1;

MEDIA_RESOLUTION_MEDIUM

Media resolution set to medium (256 tokens).

MEDIA_RESOLUTION_MEDIUM = 2;

MEDIA_RESOLUTION_MEDIUM_VALUE

Media resolution set to medium (256 tokens).

MEDIA_RESOLUTION_MEDIUM = 2;

MEDIA_RESOLUTION_UNSPECIFIED

Media resolution has not been set.

MEDIA_RESOLUTION_UNSPECIFIED = 0;

MEDIA_RESOLUTION_UNSPECIFIED_VALUE

Media resolution has not been set.

MEDIA_RESOLUTION_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()