What you can give it
- A prompt.
- References: up to 3 images to edit.
Output settings
Cost
Grok Imagine Image 2 is priced per image by resolution and quality:
Edits add about $0.01 for each reference. Prices are as of October 28, 2026.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
xAI’s image model, for quick images and edits with up to three references.
| Setting | Options |
|---|---|
| Aspect ratio | Auto, 1:1, 3:2, 2:3, 4:3, 3:4, 16:9 or 9:16. |
| Resolution | 1K or 2K. You can pick one while the aspect ratio is Auto. |
| Quality | Auto, Low or Medium. Auto uses Medium. |
| Quantity | 1 to 4 images. |
| Low | Medium | |
|---|---|---|
| 1K | About $0.06 | About $0.08 |
| 2K | About $0.08 | About $0.11 |