{"uid":"cap_Ir151FjSoqzjy1ainHxYa","slug":"glianaai-imagen-4-image-generation-de4a6fac","name":"GlianaAI Imagen-4 Image Generation","description":"GlianaAI — imagen-4 (text-to-image)","url":"https://api.glianalabs.com/x402/imagen-4","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":"imagen-4","output":{"url":"https://api.glianalabs.com/v1/media/<id>"}}},"example":{"request":{"prompt":"A serene landscape with rolling green hills, a clear blue sky, and wildflowers blooming in a meadow during golden hour"},"response":{"model":"imagen-4","output":{"url":"https://api.glianalabs.com/v1/media/8882198699c2fdf82abcbe2956ab7f27.png","sizeBytes":1628441,"contentType":"image/png"},"costMicroUsd":90000}},"exampleRequest":{"prompt":"A serene landscape with rolling green hills, a clear blue sky, and wildflowers blooming in a meadow during golden hour"},"tags":["x402"],"displayCostAmount":"0.087","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.087/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.072","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.072","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_w7Yud5Vb1lSq0DUrgDYYJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.072","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates images from a text prompt using Google's Imagen 4 model, billed per-call in USDC via x402 with no API key required.","exampleAgentPrompt":"Generate an image of a sunlit Japanese tea garden in autumn with koi fish in a pond and fallen maple leaves on the water — use Imagen 4 and pay per call.","exampleUseCases":null,"resultDescription":"Returns a JSON object with the model name ('imagen-4'), an output object containing the generated image URL or media result, and the cost charged in micro-USD (e.g. 90000 for $0.09).","failureModes":["Prompt missing — returns 400 if required 'prompt' field is absent","Payment failure — returns 402 if USDC payment via x402 is not settled or insufficient","Model unavailable — service outage or upstream Imagen 4 API error returns 5xx","Invalid prompt content — prompt violates content policy, returns 422 or similar rejection","Malformed request body — non-JSON or wrong content-type returns 400"],"whenToPreferThis":"Choose this endpoint when you need high-quality photorealistic or artistic image generation using Google's Imagen 4 model specifically, want to pay per-call in USDC without committing to a subscription or API key, and are operating in an agentic x402-compatible payment environment on Base, Solana, or Tempo.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:40:18.252Z","isFirstParty":false}