xAI
Grok Imagine Image 2.0
xai/grok-imagine-image-2.0
Coming soon
Listed, not sold yet: the provider's resale terms are being confirmed.
xAI image generation and editing model.
Price
- Input
- Price on request
- Output
- Price on request
- Notes
- Per image: $0.04 per generated image. Not token-priced, so per-1M fields are null.
- Source
- xAI pricing , last verified October 8, 2026
No markup on model usage: you pay the provider's list price.
Model
- Context
- Not published
- Modality
- Image generation
- Input
- text, image
- Output
- image
- Weights
- Closed
- Tags
- image-generation, image-editing
Data policy
- Prompts go to
- xAI (SpaceXAI)
- Retention
- API requests and responses stored encrypted for 30 days for abuse auditing, then deleted, never used for training without explicit permission
- Zero data retention
- Available
- Region
- No region guarantee on the default endpoint, US regional endpoint (grok-4.7 and grok-4.6 only) at 1.1x pricing
- Policy
- xAI data policy
Summarised from the provider's published terms. The provider's own policy is what applies.
Call it with any OpenAI SDK
Available when the model is live
from openai import OpenAI
client = OpenAI(
base_url="https://api.safeguard.sh/v1",
api_key="SAFEGUARD_API_KEY",
)
response = client.chat.completions.create(
model="xai/grok-imagine-image-2.0",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Base URL https://api.safeguard.sh/v1, model xai/grok-imagine-image-2.0.
Self-healing security runs on Safeguard.
Your first fix PR is minutes away.
No sales call required, even your agent can complete the purchase over MCP.