Grok Imagine Image Pro API

Grok Imagine Image Pro is an advanced text-to-image model by xAI designed for high-quality image generation with improved detail and prompt fidelity.

Modalities
TextImage
Price
$0.05per generation
Model type
Image generation
Released
Mar 3, 2026

Grok Imagine Image Pro overview

Resolution
Aspect ratio
Sample Grok Imagine Image Pro image generated through AI/ML API: A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lette

Grok Imagine Image Pro specs

Model ID
x-ai/grok-imagine-image-pro
Developer
xAI
Input
Text
Output
Image
Endpoint
POST https://api.aimlapi.com/v1/images/generations

Professional Image Generation & Editing at Scale

Grok Imagine Image Pro extends the base image model with enhanced instruction-following, multi-image context understanding, and production-ready API features designed for creative teams and developer workflows alike.

Text-to-Image Generation

Transform natural language prompts into high-fidelity images across any visual style, photorealistic portraits, oil paintings, anime illustrations, pencil sketches, and beyond. Instruction following is class-leading, ensuring your creative intent is precisely rendered.

Style Transformation

Reinvent any existing image with a new visual aesthetic using a single descriptive prompt. Convert a photograph into a pencil sketch, morph a portrait into retro anime, or apply stenciled street-art treatment to architectural photos with consistent, high-fidelity results.

Custom Aspect Ratios

Generate images at any aspect ratio required by your platform, square social media assets, widescreen banners, portrait product shots, or cinematic stills. The model maintains compositional coherence across all dimensions without cropping artifacts.

Base64 & URL Output Formats

Receive generated images as direct URLs for quick previews, or as base64-encoded data for seamless embedding in applications without additional storage infrastructure. Both modes support the full resolution output from the Pro model.

From Solo Creators to Enterprise Workflows

Grok Imagine Image Pro is engineered for speed and iteration, letting creative teams explore multiple visual directions in parallel without sacrificing quality or burning budget.

Use cases

A useful reference label is not supported from the gathered sources. The only exact-model result appears to be a migration/deprecation page for grok-imagine-image-pro, and it does not provide enough direct model-type detail to safely derive distinct use cases without risking inference.

Grok Imagine Image Pro API pricing

Grok Imagine Image Pro pricing in US dollars
UsagePriceUnit
Image generation$0.05per generation

Prices from the AI/ML API price list, checked on Nov 4, 2026.

Grok Imagine Image Pro vs other image models: prices

AI/ML API rates for 5 models, per generation.

AI/ML API prices in USD per generation
ModelPer generation
Grok Imagine Image Pro$0.05
Grok Imagine$0.02
Grok Imagine Image 2.0$0.04
FLUX.1 Expand$0.05
FLUX.1 Fill$0.05

How to use the Grok Imagine Image Pro API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/images/generations' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "x-ai/grok-imagine-image-pro",
  "prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}'

Related articles

All posts

Grok Imagine Image Pro FAQ

What inputs and outputs does Grok Imagine Image Pro support?

Grok Imagine Image Pro takes image, text as input and returns image.

How much does Grok Imagine Image Pro cost?

Grok Imagine Image Pro costs $0.05 per generation on AI/ML API, billed as you go with no subscription.

How is Grok Imagine Image Pro billed?

Grok Imagine Image Pro is billed per generation, a fixed charge per output rather than by prompt length.

Can Grok Imagine Image Pro take an existing image as input?

Yes, Grok Imagine Image Pro accepts image input as well as a text prompt.

Who created Grok Imagine Image Pro?

Grok Imagine Image Pro was built by xAI .

How do I call Grok Imagine Image Pro on AI/ML API?

Send a request to https://api.aimlapi.com/v1/images/generations with x-ai/grok-imagine-image-pro as the model id.

Is Grok Imagine Image Pro available through a single API key?

Yes. Grok Imagine Image Pro is served through AI/ML API, so the same key and endpoint format used for other models applies.

What is Grok Imagine Image Pro built for?

It is a text-to-image model designed for high-quality image generation with improved detail and prompt fidelity.

What is the Grok Imagine Image Pro model ID?

Use x-ai/grok-imagine-image-pro as the model parameter. Requests go to https://api.aimlapi.com/v1/images/generations with your AI/ML API key.

Start building with Grok Imagine Image Pro

Grok Imagine Image Pro API

x-ai/grok-imagine-image-pro

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/images/generations' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "x-ai/grok-imagine-image-pro",
  "prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}'