{"uid":"cap_9TJQAUDRNHmRk4JibXHL-","slug":"x402-cloud-ai-inference-gemini-text-generation-endpoint-c07f4658","name":"X402 Cloud AI Inference - Gemini Text Generation Endpoint","description":"X402 Cloud AI Inference Endpoints is an agent-ready x402 API provider for Gemini, image, audio, video, realtime, and specialized AI inference workflows. We expose pay-per-call USDC endpoints designed for autonomous AI agents, application backends, trading bots, creative automation, and RAG systems with some of the lowest x402 AI inference prices available in the market.","url":"https://api.x402cloud.space/v1beta/%7Bpath%7D?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"candidates":[{"content":{"parts":[{"text":"Generated response"}]}}]},"outputSchema":{"type":"object","properties":{"candidates":{"type":"array"},"usageMetadata":{"type":"object"}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01229","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.01229/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01229","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01229","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_V72_D4vDwEUiJOGcMv6_i","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01229","costPer":"request","priority":0,"asset":"4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Pay-per-call USDC-gated AI text generation endpoint proxying Gemini models, accepting plain prompts or full Gemini contents arrays and returning generated candidates","exampleAgentPrompt":"Using the x402 Cloud Gemini inference endpoint, generate a response to this prompt: 'Summarize the key risks of algorithmic trading in 3 bullet points' — limit the output to 512 tokens.","exampleUseCases":null,"resultDescription":"A JSON object containing a candidates array with generated text parts inside content.parts, plus a usageMetadata object with token consumption details for the call.","failureModes":["402 Payment Required if USDC payment header is missing or insufficient","Invalid prompt length if prompt exceeds 32000 characters or is empty","Model error if contents array is malformed or incompatible with Gemini schema","Rate limiting or quota exhaustion on the underlying Gemini model","Timeout for very large maxOutputTokens values near the 8192 limit","Malformed generationConfig causing generation to fail silently"],"whenToPreferThis":"Prefer this endpoint when your agent or backend needs Gemini text generation without a traditional API subscription, wants to pay per call in USDC via x402 protocol, is operating autonomously without pre-provisioned API keys, or needs the lowest-cost x402-compatible AI inference available. Ideal for autonomous agents, RAG pipelines, creative automation, and trading bots that need on-demand LLM access with crypto payment rails.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-26T12:30:01.522Z","isFirstParty":false,"canonicalSlug":"x402-cloud-ai-inference-gemini-text-generation-endpoint-c07f4658"}