Xona Agent Grok Imagine – Text-to-Image Generation 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, last successful call 2026-06-25).
Generates high-quality images from text prompts using Grok's image model, with optional reference image support, paid via USDC on Base.
AI image generation using Grok Imagine model (Base Mainnet).
Returns a generated image (likely as a hosted image URL) produced by the Grok image model based on the input prompt and optional reference image style guidance.
POSThttps://api.xona-agent.com/base-main/image/grok-imagine?utm_source=zero.xyzChoose this endpoint when you specifically want Grok's image generation model for text-to-image tasks, especially when paying with USDC on the Base blockchain (x402 protocol). Prefer this over other xona-agent image endpoints (nano-banana, designer) when you want Grok's specific aesthetic and style, or when you have a reference image to guide composition or style.
{
"prompt": "A minimalist abstract composition with geometric shapes in cool blue and white tones"
}| Field | Type | Description |
|---|---|---|
| prompt | string | Detailed prompt description for the image |
| referenceImage | string | URL of reference image for style/composition guidance (Grok only supports one image) |
{
"metadata": {
"model": "grok-imagine-image",
"cdn_key": "generated/grok-f05c8390-1d70-4b7b-8999-98cb36728a5c-1781324824054.jpg",
"grok_url": "https://imgen.x.ai/xai-imgen/xai-tmp-imgen-8dba113d-f5ba-418f-8cc7-b5a048a3be05.jpeg",
"endpoint_used": "/images/generations",
"original_prompt_length": 84
},
"image_url": "https://provey-media.sgp1.cdn.digitaloceanspaces.com/generated/grok-f05c8390-1d70-4b7b-8999-98cb36728a5c-1781324824054.jpg",
"image_description": "A minimalist abstract composition with geometric shapes in cool blue and white tones"
}Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"