maskMode

Setter for maskMode.

maskMode: Describes how the mask will be used. Inpainting masks must match the aspect ratio of the input video. Outpainting masks can be either 9:16 or 16:9.


@CanIgnoreReturnValue()
public VideoGenerationMask.Builder maskMode(VideoGenerationMaskMode.Known knownType)

Setter for maskMode given a known enum.

maskMode: Describes how the mask will be used. Inpainting masks must match the aspect ratio of the input video. Outpainting masks can be either 9:16 or 16:9.


@CanIgnoreReturnValue()
public VideoGenerationMask.Builder maskMode(String maskMode)

Setter for maskMode given a string.

maskMode: Describes how the mask will be used. Inpainting masks must match the aspect ratio of the input video. Outpainting masks can be either 9:16 or 16:9.