Generate Image
generate_imageGenerate an AI image from a text prompt using Claude Imagine credits. Returns the image inline plus its full-resolution URL. To change an existing image, use edit_image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model to use. nano-banana-2 (default, best quality/price), gpt-image-2, seedream-4.5, flux-2-pro, z-image (fastest & cheapest) | |
| prompt | Yes | Image description | |
| aspect_ratio | No | Aspect ratio. When omitted, the selected model's own default is used. |