{"uid":"cap_WzUEV2wOiwbA29jDgjLWP","slug":"glianaai-gemini-3-1-pro-text-generation-8fc41a8a","name":"GlianaAI Gemini 3.1 Pro Text Generation","description":"GlianaAI - pay-per-call AI: LLM chat (OpenAI-compatible), image, video, music, speech - 90+ models, no signup, USDC. This resource: gemini-3.1-pro (Text Generation). https://ai.glianalabs.com","url":"https://api.glianalabs.com/x402/gemini-3.1-pro","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":"gemini-3.1-pro","output":{"url":"https://api.glianalabs.com/v1/media/<id>"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.017204","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.017204/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.017204","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.017204","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_y8fqx_WkFcomXlYIasaBD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.017204","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a text generation request against Google's Gemini 3.1 Pro model via a pay-per-call, no-signup API endpoint using USDC micropayments","exampleAgentPrompt":"Use GlianaAI's Gemini 3.1 Pro endpoint to answer this question — I'll pay the ~$0.02 USDC fee per call: 'Explain the key differences between transformer and state-space model architectures in three paragraphs.'","exampleUseCases":[{"title":"Real-time customer support response generation","prompt":"I need you to draft helpful customer support replies to incoming tickets without waiting for our team. Use Gemini 3.1 Pro to generate thoughtful responses—I'll cover the small USDC cost per message."},{"title":"Content summarization for research","prompt":"Summarize these research papers into key takeaways so I can quickly review them. Hit Gemini 3.1 Pro with each abstract and pay the micro-fee from my account."},{"title":"Autonomous agent decision reasoning","prompt":"When you need to think through complex decisions, use Gemini 3.1 Pro to reason through options and explain your logic. Just call it per decision and charge the USDC cost to my wallet."}],"resultDescription":"A generated text response from Google's Gemini 3.1 Pro model, returned as a JSON object containing the model's completion or answer to the provided prompt.","failureModes":["Payment not provided or insufficient USDC — returns 402 Payment Required","Model unavailable or overloaded — returns 503 or timeout","Malformed input body — returns 400 Bad Request","Prompt exceeds model context window — returns 400 or truncation error","Network timeout for long completions"],"whenToPreferThis":"Choose this endpoint when you need Google Gemini 3.1 Pro's text generation capabilities without a Google Cloud account or API key, and you want to pay per call in USDC with no subscription. Ideal for autonomous agents making occasional or unpredictable LLM calls where pay-per-use economics are preferred over flat-rate subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:42:53.136Z","isFirstParty":false}