generate_image
Create images from text descriptions. Provides temporary URLs for download.
Instructions
Generate images from text prompts using the Grok image model. Returns image URLs in markdown format. Note: URLs are temporary, download or process promptly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description of the image to generate | |
| n | No | Number of images to generate (1-10, default 1) | |
| aspect_ratio | No | Aspect ratio of the generated image (default: auto) | |
| resolution | No | Resolution of the generated image (default: 1k) |