{"uid":"cap_uiIWUDGCbT8blryVrjxZT","slug":"glianaai-krea-2-medium-image-generation-1d7693c2","name":"GlianaAI KREA-2 Medium Image Generation","description":"One endpoint for 90+ generative AI models, live market data, SEC filings and identity APIs — image, video, music, speech, LLM chat, crypto and FX rates, DEX liquidity, gas, US company fundamentals and insider trades, document OCR and face matching. Pay per request in USDC on Tempo, Base, Solana, Algorand or BNB Chain with no signup, or top up a prepaid balance in rupiah.","url":"https://api.glianalabs.com/x402/krea-2-medium","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":"krea-2-medium","output":{"url":"https://api.glianalabs.com/v1/media/<id>"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0435","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.0435/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.036","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.036","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9Rf6QzWaMz7vmFaGDjtUG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.036","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates images using the KREA-2 Medium model via a pay-per-call x402 endpoint, returning a media URL, with payment settled in USDC on-chain.","exampleAgentPrompt":"Generate an image of a misty Japanese mountain village at dawn using GlianaAI's KREA-2 Medium model — pay the $0.045 USDC fee automatically.","exampleUseCases":[{"title":"Real-time product mockups for e-commerce listings","prompt":"Create product visualization images for our online store whenever we add new items — use KREA-2 to generate professional mockups from descriptions and pay the generation costs in USDC automatically from our agent wallet."},{"title":"Social media content generation at scale","prompt":"Generate fresh Instagram post graphics daily using our brand guidelines — have the agent create 5 variations of each design concept with KREA-2 Medium and handle all the crypto payments seamlessly without needing API keys."},{"title":"Instant concept art for game development","prompt":"When our designers request visual concepts for game environments, use KREA-2 to render them immediately from text descriptions — process each generation with on-chain USDC payments and deliver the images in seconds without any signup friction."}],"resultDescription":"Returns a JSON object containing the model name ('krea-2-medium'), an output object with the generated image as a media URL, and the amount charged in micro-USD (e.g. 45000 for $0.045).","failureModes":["Insufficient USDC balance — payment rejected, 402 response with payment-required details","Invalid or empty prompt — 400 Bad Request","Model unavailable or overloaded — 503 Service Unavailable","Malformed x402 payment header — 402 or 400 error","Network timeout during inference — connection error or 504"],"whenToPreferThis":"Choose this endpoint when you need KREA-2 Medium quality image generation without pre-registering for an API key, and your agent can pay per-call in USDC via x402 on Base, Tempo, or Solana. Ideal for autonomous agents that need on-demand image generation with crypto-native payments and no subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:57:07.974Z","isFirstParty":false}