Grok Image 2.0 API
Very fast image model with fewer content restrictions
grok-image-2-0SynchronousImage inputimageLive price on TokPort: $0.085 per imageAbout Grok Image 2.0
Grok Image 2.0 for text-to-image and reference-image edits, with fewer content restrictions than most first-party APIs.
- OpenAI images API request shape
- Billed per generated image
- Image reference / editing support
Specifications
- Resolution
- 1024 × 1024
- Typical latency
- ≈12 s
- Billing unit
- per generated image
- Input
- text · image reference
- Model id
- grok-image-2-0
Quick start
Full API reference →One synchronous request against the standard OpenAI images endpoint:
curl https://api.tokport.io/v1/images/generations \
-H "Authorization: Bearer $TOKPORT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"grok-image-2-0","prompt":"a neon koi swimming through clouds, cinematic lighting","size":"1024x1024","n":1}'Grok Image 2.0 FAQ
How much does Grok Image 2.0 cost per image?
TokPort charges $0.085 per image for Grok Image 2.0. Check the live pricing page for current rates.
Is Grok Image 2.0 available via an OpenAI-compatible API?
Yes. Generate images with a standard POST /v1/images/generations request and model "grok-image-2-0". The official OpenAI SDKs work unchanged — just point them at our base URL.
What is Grok Image 2.0 best at?
Grok Image 2.0 for text-to-image and reference-image edits, with fewer content restrictions than most first-party APIs. It is strongest for speed, fewer refusals.