grok-imagine-image-2.0

Grok (xAI) · Image

Painting

NixAPI price, from

USD per call$0.005592

USD per call · via group Xai-Grok-1

Get your API key →

About grok-imagine-image-2.0

xAI's next-generation universal image generation model, supporting text-to-image and image-to-image editing, with a maximum output resolution of 2K, adjustable quality levels, and self-balancing speed and image quality Replicate.

Price by routing group

Pick a group in the console when you create a key. Status is live from the router. Live status by group →

GroupGroup statusModel statusMultiplierPrice
Xai-Grok-1…×0.7456$0.005592

USD per call

Supported endpoints

image-editimage-generation

Call grok-imagine-image-2.0 in one request

Works with the OpenAI SDK and any OpenAI-compatible client. Replace the key with your own.

curl https://api.nixapi.com/v1/images/generations \
  -H "Authorization: Bearer $NIXAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "grok-imagine-image-2.0", "prompt": "A lighthouse at dawn, watercolor", "size": "1024x1024"}'

Full API reference →

Questions about grok-imagine-image-2.0

How much does grok-imagine-image-2.0 cost on NixAPI?

From $0.005592 per call in the Xai-Grok-1 group. Billing is pay-as-you-go in USD with no monthly minimum.

How do I call grok-imagine-image-2.0?

Point any OpenAI-compatible client at https://api.nixapi.com/v1, use your NixAPI key and set the model to "grok-imagine-image-2.0".

Which routing groups serve grok-imagine-image-2.0?

grok-imagine-image-2.0 is available in 1 routing groups: Xai-Grok-1. The lowest price is in Xai-Grok-1.

More from Grok (xAI)

Compare all Grok (xAI) models →