ModelsPricingDocs
Sign inPlatform

Product

  • Models
  • Pricing
  • Docs
  • Platform

Company

  • About
  • Contact

Legal

  • Terms
  • Privacy
  • Refund Policy

Community

© 2026 DEEPQUEST PTE. LTD. · UEN 202625539W · Singapore

Models
Grok

Grok Imagine Image 2.0

Official

xai/grok-imagine-image-2.0

The second-generation Grok Imagine image model and xAI's recommended image model. Served through the OpenAI-compatible /v1/images/generations and /v1/images/edits endpoints: set the frame with aspect_ratio, choose 1k, 1.5k or 2k resolution and low or medium quality, and generate up to 4 images per request. An edit takes up to 3 source images. Billed per image by quality and resolution; each source image in an edit is billed once per request.

This model is available to accounts that have topped up. Top up and you can call it right away. Go to billing

New to OneHop? Join our Telegram group to claim $1 in credit

Join the OneHop Telegram group and contact the group owner to claim $1 in new-user credit.

Join group to claim
Image generationImage editing

Pricing

InputDisplay price
—/ M tokens
OutputDisplay price
—/ M tokens

Protocols

  • OpenAI Chat CompletionsStatus: Not supported—
  • OpenAI ResponsesStatus: Not supported—
  • Anthropic MessagesStatus: Not supported—
  • Google Vertex AIStatus: Not supported—
  • OpenAI ImagesStatus: Availablehttps://api.onehop.ai/v1
  • OpenAI SoraStatus: Not supported—
  • OpenAI EmbeddingsStatus: Not supported—
  • OpenAI Audio Speech (TTS)Status: Not supported—
  • OpenAI Audio Transcription (STT)Status: Not supported—

Try it in the chat playground

Call IDs

Use either ID to call this model via the API.

OneHop namexai/grok-imagine-image-2.0

Try it

Replace the ONEHOP_KEY placeholder with your API key. Create one →

from openai import OpenAI

client = OpenAI(
    base_url="https://api.onehop.ai/v1",
    api_key="<ONEHOP_KEY>",
)

response = client.images.generate(
    model="xai/grok-imagine-image-2.0",
    prompt="A red panda coding under the moonlight",
    n=1,
)
print(response.data[0].url)
base_url: https://api.onehop.ai/v1

Other variants in this family

GrokGrok Imagine Image

xAI Grok Imagine's base text-to-image model.

— · —