# Xona Agent Grok Imagine Image Generator

> Xona Agent Grok Imagine Image Generator is a paid API for AI agents from api.xona-agent.com, paid per call via x402, $0.04/call, status unknown (last checked 2026-10-10).

Generates high-quality images from text prompts using the Grok Imagine model, with optional reference image support for style guidance.

## Facts

- Endpoint: POST https://api.xona-agent.com/image/grok-imagine?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Success rate: 0% of calls made through Zero
- Activations on Zero: 2
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-xona-agent-com-43f70dd0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XUbeLj4aw0toeK-tmOA8g

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability api-xona-agent-com-43f70dd0 -d '<json body>'
```

Example prompt: Generate a high-quality image of a futuristic city skyline at sunset with neon lights reflecting on wet streets — use this reference image for color style: https://example.com/neon-city-ref.jpg

## When to prefer this

Choose this endpoint when you specifically want Grok's image generation model (xAI) for creative, design, or prototyping workflows, especially when you have a reference image to guide style or composition. Prefer over other sibling endpoints (nano-banana, designer) when Grok's distinct visual style is desired.

## Known failure modes

- Invalid or inaccessible reference image URL returns an error
- Prompt violates content policy and is rejected
- Payment of $0.04 USDC not fulfilled via x402 protocol results in 402 Payment Required
- Malformed request body or missing prompt field causes validation error
- Model timeout or upstream Grok API unavailability returns 5xx error

## How this service works

AI image generation using Grok Imagine model. Takes your prompt and generates a high-quality image using xAI's Grok Imagine API.

## Output

Returns a generated image (likely as a hosted URL) produced by the Grok Imagine model based on the provided prompt and optional reference image.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "prompt": {
   "type": "string",
   "description": "Detailed prompt description for the image"
  },
  "referenceImage": {
   "type": "string",
   "description": "URL of reference image for style/composition guidance (Grok only supports one image)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-xona-agent-com-43f70dd0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.xona-agent.com](https://www.zero.xyz/host/api.xona-agent.com/llms.txt)
