generate_image
Generate an image from a text prompt. Use whenever the user wants a picture/illustration/photo created.
Args:
prompt: description of the image (English works best).
size: 1024x1024 (square) / 1024x1536 (portrait) / 1536x1024 (landscape).
Returns the generated PNG image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | 1024x1024 | |
| prompt | Yes |