ImageGenToolDef
| Property | Type | Required | Description |
|---|---|---|---|
type | string | No | Always image_generation. Default: "image_generation". |
background | enum | null | No | Background type for generated image Default: "auto". |
input_image_mask | InputImageMask | null | No | Mask for inpainting operation containing image URL or file ID |
model | string | Yes | Generation model to use |
moderation | string | null | No | Moderation level Default: "auto". |
output_compression | integer | null | No | Output compression level (0-100) Default: 100. |
output_format | enum | null | No | Output format for generated image Default: "png". |
partial_images | integer | null | No | Number of partial images to generate in streaming mode (0-3) Default: 0. |
quality | enum | null | No | Quality level for image Default: "auto". |
size | string | null | No | Generated image dimensions (pixel) Default: "auto". |
We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.