{"uid":"cap_9Vad13nmZKRjN_-Jp5Cnc","slug":"glianaai-recraftv4-image-generation-via-x402-b7e22e4c","name":"GlianaAI RecraftV4 Image Generation via x402","description":"GlianaAI — recraftv4 (text-to-image)","url":"https://api.glianalabs.com/x402/recraftv4","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":"recraftv4","output":{"url":"https://api.glianalabs.com/v1/media/<id>"}}},"example":{"request":{"prompt":"A serene mountain landscape with a crystal-clear lake at sunrise, golden light reflecting on the water, misty peaks in the background, peaceful and tranquil atmosphere"},"response":{"model":"recraftv4","output":{"url":"https://api.glianalabs.com/v1/media/9ccc759ffcf43566728ae79c52d5f34b.png","sizeBytes":1939735,"contentType":"image/png"},"costMicroUsd":90000}},"exampleRequest":{"prompt":"A serene mountain landscape with a crystal-clear lake at sunrise, golden light reflecting on the water, misty peaks in the background, peaceful and tranquil atmosphere"},"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_3ddUabtNWxbv9KVn2kDYb","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 using the Recraft V4 model, billed per-call in USDC via x402 micropayment protocol — no API key required.","exampleAgentPrompt":"Using Recraft V4, generate an image of a misty mountain lake at sunrise with warm golden light reflecting on the water — pay per call with USDC.","exampleUseCases":null,"resultDescription":"Returns a JSON object with the model name ('recraftv4'), an output object containing a media URL pointing to the generated image, and the exact amount charged in micro-USD (e.g. 90000 for $0.09).","failureModes":["Payment not settled — 402 response if USDC payment header is missing or insufficient","Invalid or empty prompt — 400 or model-level error returned in output field","Model-specific parameter mismatch — schema errors if additional params don't match Recraft V4 expectations (check GET /v1/schema?model=recraftv4)","Network timeout during inference — no charge but no result; retry required","Unsupported model slug in path — 404 if endpoint path is incorrect"],"whenToPreferThis":"Choose this endpoint when you need Recraft V4 specifically for high-quality image generation, want pay-per-call USDC billing with no signup or API key, and your agent supports x402 micropayment headers. Prefer this over subscription-based Recraft APIs when running low-volume or sporadic image generation tasks where a monthly fee is wasteful.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:02:20.275Z","isFirstParty":false}