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

Official

xai/grok-imagine-image

The base Grok Imagine text-to-image model, suited to batch generation. Served through the OpenAI-compatible /v1/images/generations endpoint: set the frame with aspect_ratio, choose 1k or 2k resolution, and generate up to 4 images per request, billed per image. Image editing is not supported yet.

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 generation

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

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",
    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 2.0

xAI Grok Imagine Image 2.0 — xAI's recommended image model for generation and editing, billed per image.

— · —