Skip to main content

Identifier

Use the model identifier grok-imagine-image in the model field when calling /asset/start.

Capabilities

PropertyValue
Reference inputs0–1
Aspect ratios16:9, 9:16, 1:1, 3:2, 2:3, 4:3, 3:4 (default 16:9)

Inputs

Pass reference media in the references array (0–1 item). Optional. Each item accepts exactly one of:
  • url — a direct, publicly accessible file URL
  • asset_id — the ID of an existing asset in your Hoox space (e.g. a previous generation)
  • avatar_id — the ID of an avatar defined in your Hoox space

Pricing

Default parameters: ~0.25 credits / generation. For exact pricing with your own parameters, call /asset/pricing with the model and any parameters that affect cost.

Example request

{
  "type": "image",
  "model": "grok-imagine-image",
  "prompt": "Describe what you want to generate",
  "aspect_ratio": "16:9"
}
See /asset/start for the full request/response reference, error codes, and code samples in cURL / Python / JavaScript.