Unlimited Open Source Models

Get Plan
Skip to main content
Grok Imagine Image 2.0 Text To Image thumbnail

Grok Imagine Image 2.0 Text To Image

by xAI

Grok Imagine Image 2.0 turns text prompts into 2K images with stronger prompt adherence, cleaner in-image text, and sharper detail than the original Grok Imagine. Five aspect ratios, 1K or 2K output, one ModelsLab endpoint.

grok-imagine-image-2.0-t2i
Closed Source ModelLLMs.txt
API Playground

Input

Per image generation 1K will cost : $0.072 and 2K will cost : $0.096

Output

Idle

Unknown content type

About Grok Imagine Image 2.0 Text To Image

Grok Imagine Image 2.0 Text To Image is a text to image AI model by xAI available on ModelsLab. Access Grok Imagine Image 2.0 Text To Image through our API with pay-per-use pricing and no minimum commitments.

Technical Specifications

Model ID
grok-imagine-image-2.0-t2i
Provider
xAI
Category
Image Models
Task
Text to Image
Price
$0.072 per generation, scaled by your settings
Added
August 12, 2026

Key Features

  • High-resolution AI image generation from text prompts
  • Negative prompt support for precise control
  • Multiple output formats and aspect ratios
  • Adjustable inference steps and guidance scale
  • Batch generation support via API

Quick Start

Integrate Grok Imagine Image 2.0 Text To Image into your application with a single API call. Get your API key from the pricing page to get started.

import requests
import json
url = "https://modelslab.com/api/v7/images/text-to-image"
headers = {
"Content-Type": "application/json"
}
data = {
"model_id": "grok-imagine-image-2.0-t2i",
"prompt": "your prompt here",
"key": "YOUR_API_KEY"
}
try:
response = requests.post(url, headers=headers, json=data)
response.raise_for_status() # Raises an HTTPError for bad responses (4XX or 5XX)
result = response.json()
print("API Response:")
print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
print(f"Other error occurred: {err}")

Pricing

Grok Imagine Image 2.0 Text To Image API costs $0.072 per generation, scaled by your settings. Pay only for what you use with no minimum commitments. View pricing plans

Use Cases

  • Product photography and e-commerce visuals
  • Marketing and social media content creation
  • Concept art and design prototyping
  • Custom illustrations and artwork

Grok Imagine Image 2.0 Text To Image FAQ

Grok Imagine Image 2.0 Text To Image is a text to image AI model by xAI available on ModelsLab. Access it through our API with pay-per-use pricing and no minimum commitments.

You can integrate Grok Imagine Image 2.0 Text To Image into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "grok-imagine-image-2.0-t2i" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

Grok Imagine Image 2.0 Text To Image costs $0.072 per generation, scaled by your settings. ModelsLab plans start at $21/month (Basic), and the $149/month Open Source plan includes unlimited generation on open-source models.

The model ID for Grok Imagine Image 2.0 Text To Image is "grok-imagine-image-2.0-t2i". Use this ID in your API requests to specify this model.

Yes. ModelsLab is subscription-based with no free tier — plans start at $21/month (Basic, 3,250 API calls). The $149/month Open Source Unlimited plan includes unlimited generation across open-source models; premium third-party models are billed per call from your wallet.