Safeguard
xAI logo

xAI: Grok Imagine Image 2.0

xai/grok-imagine-image-2.0Available via Safeguard
Public cloudPrivate cloud

Use with Safeguard

Grok Imagine Image 2.0 is available via Safeguard. Leave your work email and we will enable it for your workspace.

We will also add you to our newsletter; unsubscribe any time.

Modality
Image generation
Context
Not published
Input
Price on request
Output
Price on request

Overview

xAI image generation and editing model.

Provider
xAI logoxAI
Modality
Image generation
Input
text, image
Output
image
Weights
Closed
Distillable
NoLicence or terms, checked .
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

Summarised from the provider's published terms. The provider's own policy is what applies.

Where you can run it

How Grok Imagine Image 2.0 can be deployed, bought and reached through Safeguard.

Deployment
Public cloudPrivate cloud
Procurement
Not published yet
Inference regions
Not published yet

Closed weights stay with the provider, so this model runs in the provider's cloud, never on-prem or air-gapped.

Pricing

ProviderInput / 1M tokensOutput / 1M tokensContext
xAIPrice on requestPrice on requestNot published
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.

API

OpenAI-compatible. Your API key and access to this model are set up for your workspace when you choose Use with Safeguard.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.safeguard.sh/gpt/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/gpt/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.