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.
interface GoogleCloudAiplatformV1ImageConfig {
aspectRatio?: string;
imageOutputOptions?: GoogleCloudAiplatformV1ImageConfigImageOutputOptions;
imageSize?: string;
personGeneration?:
} | "PERSON_GENERATION_UNSPECIFIED"
| "ALLOW_ALL"
| "ALLOW_ADULT"
| "ALLOW_NONE";
§Properties
§
aspectRatio?: string
[src]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"
§
imageOutputOptions?: GoogleCloudAiplatformV1ImageConfigImageOutputOptions
[src]Optional. The image output format for generated images.