GoogleCloudAiplatformV1ImageConfig
import type { GoogleCloudAiplatformV1ImageConfig } from "https://googleapis.deno.dev/v1/aiplatform:v1.ts";Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people.
§Properties
Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9"
Optional. The image output format for generated images.
Optional. Specifies the size of generated images. Supported values are
1K, 2K, 4K. If not specified, the model will use default value 1K.
Optional. Controls whether the model can generate people.
Optional. Controls whether prominent people (celebrities) generation is allowed. If used with personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is set, all person generation would be blocked. If this field is unspecified, the default behavior is to allow prominent people.