{"uid":"cap_XUbeLj4aw0toeK-tmOA8g","slug":"api-xona-agent-com-43f70dd0","name":"Xona Agent Grok Imagine Image Generator","description":"AI image generation using Grok Imagine model. Takes your prompt and generates a high-quality image using xAI's Grok Imagine API.","url":"https://api.xona-agent.com/image/grok-imagine?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.00","successRate":"0.00","reviews":1,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_c8Tu8GOTC3NpZgSKvfeeU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates high-quality images from text prompts using the Grok Imagine model, with optional reference image support for style guidance.","exampleAgentPrompt":"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","exampleUseCases":null,"resultDescription":"Returns a generated image (likely as a hosted URL) produced by the Grok Imagine model based on the provided prompt and optional reference image.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":2,"lastUsedAt":"2026-06-16T18:09:21.229Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:42:29.349Z","isFirstParty":false,"canonicalSlug":"api-xona-agent-com-43f70dd0"}