Generate an image
generate_imageCreate images from text prompts using OpenAI's image model. Outputs base64 image with metadata; supports optional size, quality, and output format (subject to server allowlist).
Instructions
Generate an image from a text prompt using the configured OpenAI image model. Returns an image (base64) plus metadata. size/quality/output_format are optional and restricted to the server allowlist; the server picks the model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| prompt | Yes | ||
| quality | No | ||
| output_format | No |