openai_generate_image
Generate images from text prompts using DALL-E. Specify model, size, quality, style, and response format.
Instructions
Generate images from a text prompt using DALL-E.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | ||
| prompt | Yes | ||
| model | No | dall-e-3 or dall-e-2 (default: dall-e-3) | |
| n | No | Number of images to generate | |
| size | No | 1024x1024, 1792x1024, or 1024x1792 for DALL-E 3 | |
| quality | No | standard or hd (DALL-E 3 only) | |
| style | No | natural or vivid (DALL-E 3 only) | |
| response_format | No | url or b64_json (default: url) |