grok-imagine-image-2.0

Edit input price
$0.0072/image
Generated image price
$0.0432/image
Modalities
Text · Image → Text · Image

Pricing

API call price28% OFF

1K · Low

Edit input image

$0.0072

Generated image output

$0.0288

1K · Medium

Edit input image

$0.0072

Generated image output

$0.0432

2K · Low

Edit input image

$0.0072

Generated image output

$0.0432

2K · Medium

Edit input image

$0.0072

Generated image output

$0.0576

Default

Edit input image

$0.0072

Generated image output

$0.0432

All prices are per image and already include the discount shown above. Input and generated images are billed separately.

These public prices exclude group discounts. Your billed price may be lower based on your group.



Integration & capabilities

Supported protocols

Compatible formatOpenAI
Routes
POST /v1/images/generations
POST /v1/images/edits
POST /v1/images/variations
FeaturesStreaming
Request parametersmodel, prompt, n, aspect_ratio, resolution, quality

cURL Example

curl -X POST https://api.openmodel.ai/v1/images/generations \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $API_KEY" \
  -d '{
    "model": "grok-imagine-image-2.0",
    "prompt": "A cute cat",
    "n": 1,
    "aspect_ratio": "1:1",
    "resolution": "1k",
    "quality": "medium"
  }'

Supported capabilities

Vision
Models can process image inputs and analyze them — a capability known as vision.
Image Input
Multimodal from the ground up, unlocking a wide range of image processing and computer vision tasks including image captioning, classification, and visual question answering.
Image Generation
Generate and edit images from text prompts.

Context & limits

Max images per prompt

4