Generate an image
generate_imageGenerate an image from a text description and get a hosted URL. Review image models and costs using list_models.
Instructions
Generate an image from a text prompt. Returns a URL. Use list_models with type=image for available models and prices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | WIDTHxHEIGHT, default 1024x1024 | |
| model | Yes | Image model slug, e.g. openai/dall-e-3 | |
| prompt | Yes |