{"uid":"cap_S2m5-gjtNaHAFfUZJ_XZ-","slug":"grok-tts-bcdc4f57","name":"Grok Text-to-Speech (TTS)","description":"Convert text to spoken audio. Supports multiple voices, speech tags for expressive delivery, and various output formats.","url":"https://grok.mpp.paywithlocus.com/grok/tts?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text","language"],"properties":{"text":{"type":"string","description":"Text to convert to speech (max 15,000 characters). Supports inline speech tags like [pause], [laugh], <whisper>text</whisper>."},"language":{"type":"string","description":"BCP-47 language code (e.g. 'en', 'zh', 'fr', 'de', 'ja') or 'auto' for detection"},"voice_id":{"type":"string","description":"Voice: 'eve' (energetic, default), 'ara' (warm), 'rex' (confident), 'sal' (smooth), 'leo' (authoritative)"},"output_format":{"type":"object","description":"Audio format config: { codec: 'mp3'|'wav'|'pcm'|'mulaw'|'alaw', sample_rate: 24000, bit_rate: 128000 }","additionalProperties":true}},"additionalProperties":true},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["llm","chat","x-search","web-search","image-generation","tts","ai"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":true,"priceHint":"~$0.005 per 1,000 characters","priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.00","successRate":"0.00","reviews":1,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"dynamic","summary":"~$0.005 per 1,000 characters (dynamic)","primary":{"kind":"dynamic","protocol":"mpp","network":"tempo","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"dynamic","protocol":"mpp","network":"tempo","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RCSqvvy1ZNN_-1vHqZYH3","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x20c000000000000000000000b9537d11c60e8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":"Grok","brandSlug":"grok","brandBaseUrl":"https://x.ai","brandDocsUrl":"https://docs.x.ai","whatItDoes":"Converts text into spoken audio using xAI's Grok TTS service, supporting multiple voices, languages, and audio formats with inline speech expression tags.","exampleAgentPrompt":"Convert this script to speech using Grok TTS with the 'ara' warm voice in English: 'Welcome to our podcast. Today we're exploring the future of AI. [pause] Let's dive right in.' — output as an mp3.","exampleUseCases":null,"resultDescription":"Returns synthesized audio data in the requested format (mp3, wav, pcm, mulaw, or alaw) representing the spoken version of the input text, rendered by the selected voice and language.","failureModes":["Text exceeds 15,000 character limit — request rejected","Invalid BCP-47 language code — language not recognized","Unknown voice_id provided — defaults or errors","Unsupported codec/sample_rate combination — format error","Malformed inline speech tags — tags ignored or error returned","Payment failure — endpoint returns payment required error"],"whenToPreferThis":"Choose this endpoint when you need high-quality AI-generated speech from xAI's Grok platform, especially if you're already using other Grok services (chat, image generation) and want a consistent provider. Supports expressive inline tags like [pause], [laugh], and whisper, making it suitable for nuanced narration. Good for multilingual TTS with auto language detection.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":3,"lastUsedAt":"2026-04-23T22:05:31.589Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:38:04.660Z","isFirstParty":false,"canonicalSlug":"grok-tts-bcdc4f57"}