{"uid":"cap_3jiQoD1j77YpIYUhou9FE","slug":"glianaai-grok-imagine-image-2-0-text-to-image-generation-571c68a1","name":"GlianaAI Grok Imagine Image 2.0 — Text-to-Image Generation","description":"One endpoint for 120+ generative AI models plus market data, SEC filings and identity APIs. Pay per request in USDC, no signup, or top up a balance in rupiah.","url":"https://api.glianalabs.com/x402/grok-imagine-image-2.0?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"model":"grok-imagine-image-2.0","output":{"url":"https://api.glianalabs.com/v1/media/<id>"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.048","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.048/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.048","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.048","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LR5kquOxA2bV3NY01IZlg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.048","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates an image from a text prompt using the Grok Imagine 2.0 model and returns a hosted media URL, billed per call in USDC with no signup required.","exampleAgentPrompt":"Use Grok Imagine 2.0 to generate an image of a futuristic cityscape at sunset with neon lights reflecting off wet streets.","exampleUseCases":[{"title":"AI-generated product concept art","prompt":"Generate an image of a sleek minimalist wireless speaker sitting on a wooden desk in warm morning light — I want to use it as concept art for a product pitch."},{"title":"Social media visual content creation","prompt":"Create an image of a cozy autumn coffee shop interior with people working on laptops, warm amber lighting, and rain on the windows — for an Instagram post."},{"title":"Game asset prototype illustration","prompt":"Generate an image of a dragon perched on a gothic castle tower under a stormy sky with lightning — I need it as a placeholder art asset for a fantasy game prototype."}],"resultDescription":"Returns a JSON object containing the model name ('grok-imagine-image-2.0') and an output object with a 'url' field pointing to the hosted generated image on GlianaAI's media server (e.g. https://api.glianalabs.com/v1/media/<id>). The image can be fetched directly from that URL.","failureModes":["Missing or empty prompt input — returns error indicating required field","Payment failure or insufficient USDC balance — 402 Payment Required response","Model unavailability or upstream xAI outage — 503 or timeout","Invalid HTTP method (only GET is accepted) — 405 Method Not Allowed","Prompt flagged by content moderation — returns refusal or 400 error"],"whenToPreferThis":"Choose this endpoint when you need Grok Imagine 2.0 specifically for image generation and want pay-per-call USDC billing with no API subscription or signup. Prefer this over OpenAI DALL-E or Stability AI endpoints when you want xAI's Grok visual model, need crypto-native micropayment billing on Base/Solana/Algorand/BNB Chain, or are building an agent that requires serverless, no-account image generation billed per request.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T23:29:41.165Z","isFirstParty":false,"canonicalSlug":"glianaai-grok-imagine-image-2-0-text-to-image-generation-571c68a1"}