Models
Docs
Pricing
Resources
Troubleshooting & FAQ
AI News, Tips & Insights
Join the team and earn up to $500
Join Discord
Visit Github
💬 Chat
Log in
Try For Free
Log in
Sign Up
Home
/
Models
/
Grok-2 Image
Grok-2 Image API
Context
Input
Output
Released
Get API Key
View Docs
Open in Playground →
Quickstart
Pricing
Benchmarks
Compare
FAQ
How to use Grok-2 Image API
Install any OpenAI-compatible SDK, point it at
api.aimlapi.com/v1
, and set the model to
.
Python
JavaScript
cURL
Copy
Copied
OpenAI-compatible — swap the base URL and it works with your existing SDK.
Grok-2 Image API Pricing
Type
Price
Input
tokens
Output
tokens
Grok-2 Image Benchmarks
Benchmark
Score
What it measures
No items found.
Grok-2 Image is best for
Grok-2 Image vs other models
Model
Input
Output
Context
Best for
Grok-2 Image
This page
No items found.
Frequently asked questions
No items found.
Related chat models
No items found.
Related blog posts
No items found.
Start building with Grok-2 Image
Get API Key
600+ models, one API.