{"uid":"cap_CmeCr09sp0lQ8jfIXfjv1","slug":"glianaai-gemini-3-1-flash-tts-pay-per-call-text-to-speech-3ad8389e","name":"GlianaAI Gemini 3.1 Flash TTS — Pay-Per-Call Text-to-Speech","description":"GlianaAI - pay-per-call AI: LLM chat (OpenAI-compatible), image, video, music, speech - 90+ models, no signup, USDC. This resource: gemini-3.1-flash-tts (Text-to-Speech). https://ai.glianalabs.com","url":"https://api.glianalabs.com/x402/gemini-3.1-flash-tts","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-flash-tts","output":{"url":"https://api.glianalabs.com/v1/media/<id>"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0174","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.0174/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0195","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0195","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jiXQA9ISU2nDK9RbPaNUs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0195","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts text to speech using Gemini 3.1 Flash TTS, billed per call at $0.018 USDC via x402 with no API key required.","exampleAgentPrompt":"Can you read this aloud using Gemini 3.1 Flash TTS: 'Welcome to our product demo. Today we'll walk you through the key features of our platform.' — pay the $0.018 per-call fee and give me the audio URL.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the model name ('gemini-3.1-flash-tts'), an output object with a media URL or JSON payload holding the synthesized audio, and the costMicroUsd integer indicating the exact amount charged for the call.","failureModes":["Payment failure — insufficient USDC balance or unsupported payment method returns a 402 Payment Required","Invalid or missing prompt field returns a 400 Bad Request","Model temporarily unavailable returns a 503 Service Unavailable","Malformed x402 payment header causes authentication failure","Text too long or unsupported characters may cause a 422 Unprocessable Entity"],"whenToPreferThis":"Choose this endpoint when you need Gemini 3.1 Flash TTS specifically, want to avoid API key registration, need per-call USDC micropayment billing via x402 on Base or Solana, or are building an autonomous agent that needs to pay programmatically without a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:52:12.266Z","isFirstParty":false}