Generate image
generate_imageGenerate images from text prompts using an OpenAI-compatible API, automatically inferring dimensions from the prompt when size is not specified.
Instructions
Generate one or more images with the configured OpenAI-compatible Images API. Dimensions are inferred from the prompt when size is omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Output dimensions. Omit or use auto to infer a suitable size from the prompt. | |
| count | No | Number of images to produce. | |
| model | No | Override the configured model. Defaults to gpt-image-2. | |
| prompt | Yes | Describe the image, composition, style, lighting, subject, and intended use. | |
| quality | No | auto | |
| delivery | No | auto returns a displayable image plus an original resource link; use link to avoid inline image data. | auto |
| background | No | auto | |
| outputFormat | No | png | |
| outputCompression | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| images | Yes | ||
| status | Yes | ||
| delivery | Yes | ||
| operation | Yes | ||
| requestedSize | Yes |