Skip to main content
Endpoint: POST https://api.higgsfield.ai/xai/grok-imagine-image-2.0 Endpoint ID: xai/grok-imagine-image-2.0 Try Grok Image 2.0 Generate and EditOpen the model in the Higgsfield Playground with your own inputs.

Quick Start

Input Schema

string
required
Natural-language instructions describing the desired output.
string
default:"medium"
Generation quality preset. Supported values: low, medium.
array
Publicly accessible reference image URLs. Accepts 010 items.
string
default:"1k"
Output resolution. Supported values: 1k, 2k.
string
default:"auto"
Output aspect ratio. Supported values: auto, 1:1, 1:2, 2:1, 3:2, 2:3, 4:3, 3:4, 16:9, 9:16.

Output Schema

string
required
Request state. A newly accepted request returns queued.
string
required
Stable identifier used for polling, cancellation, and support.
string
required
URL to poll until the request reaches a terminal state.
string
required
URL used to cancel a request before processing starts.
array
Completed image outputs. Each item contains a download url.

Input Example

Output Example

Use an SDK for automatic polling, or poll the returned status URL.