grok_image
Generate or edit images by providing a prompt, image path, or mask with customizable parameters like aspect ratio and resolution.
Instructions
Generate or edit images through /images/generations or /images/edits. Defaults to grok-imagine-image and grok-imagine-image-quality.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | ||
| image_path | No | ||
| mask_path | No | ||
| model | No | ||
| aspect_ratio | No | ||
| resolution | No | ||
| size | No | ||
| n | No | ||
| response_format | No |