generate_image
Generate an image from a text description using Grok's Aurora model and save it to a file. Supports multiple variations and custom models.
Instructions
Generate an image using Grok's Aurora image model and save it to a local file. Default model: grok-imagine-image-quality. Use the optional 'model' parameter to use a different image model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description of the image to generate | |
| file_path | Yes | Path where the image file should be saved. Relative paths resolve from cwd; absolute paths must be within SAFE_WRITE_BASE_DIR (or cwd if unset). Example: images/output.png | |
| n | No | Number of image variations to generate (1-10, default 1) | |
| model | No | Image model to use for this request. Defaults to "grok-imagine-image-quality". Use list_models to see available image models. |