{"uid":"cap_3cMBhNTSzkFd0WT2iUaC7","slug":"x402engine-voxtral-mini-tts-via-openrouter-7ac33e2c","name":"x402engine Voxtral Mini TTS via OpenRouter","description":"x402engine — Voxtral Mini TTS through OpenRouter; 30 voices, MP3 audio, up to 2000 UTF-8 bytes of text","url":"https://x402engine.app/api/tts/openrouter?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","bodyType","body","method"],"properties":{"body":{"type":"object","required":["text"],"properties":{"text":{"type":"string","example":"Hello world","description":"Non-empty text, at most 2000 UTF-8 bytes"},"voice":{"enum":["en_paul_sad","en_paul_neutral","en_paul_happy","en_paul_frustrated","en_paul_excited","en_paul_confident","en_paul_cheerful","en_paul_angry","gb_oliver_neutral","gb_oliver_sad","gb_oliver_excited","gb_oliver_curious","gb_oliver_confident","gb_oliver_cheerful","gb_oliver_angry","gb_jane_sarcasm","gb_jane_confused","gb_jane_shameful","gb_jane_sad","gb_jane_neutral","gb_jane_jealousy","gb_jane_frustrated","gb_jane_curious","gb_jane_confident","fr_marie_sad","fr_marie_neutral","fr_marie_happy","fr_marie_excited","fr_marie_curious","fr_marie_angry"],"type":"string","default":"en_paul_neutral","description":"Voxtral preset voice"},"format":{"enum":["mp3"],"type":"string","default":"mp3","description":"Fixed MP3 output"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["audio","format"],"properties":{"audio":{"type":"string","description":"Base64-encoded audio bytes. Decode to save or play the audio."},"format":{"type":"string","description":"The audio encoding selected for this request."}}}}}}},"responseSchema":{"type":"json","example":{"audio":"<base64-encoded audio>","format":"mp3"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.06","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.06/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cFM9-hhTtrZ8p09ubFU_x","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.06","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts up to 2000 bytes of text into MP3 audio using Voxtral Mini, offering 30 preset voices across English, British, and French accents with emotional tones","exampleAgentPrompt":"Turn this text into spoken audio using the en_paul_excited voice: 'Welcome to our product launch — we're thrilled to have you here!'","exampleUseCases":[{"title":"Voiceover for product announcement","prompt":"Read this announcement aloud using the en_paul_excited voice and give me an MP3: 'We're proud to introduce our brand new platform — faster, smarter, and built for you.'"},{"title":"French-accented narration for language app","prompt":"Synthesize this sentence in French-accented audio using the fr_marie_neutral voice: 'Bonjour, bienvenue dans notre application d'apprentissage.'"},{"title":"Emotional customer service audio response","prompt":"Generate a calm, confident spoken response for my chatbot using the gb_oliver_confident voice: 'Your order has been confirmed and will arrive within three business days.'"}],"resultDescription":"A JSON object containing a base64-encoded MP3 audio string and the format field ('mp3'). The agent decodes the base64 string to obtain playable or saveable audio bytes.","failureModes":["Text exceeds 2000 UTF-8 bytes — request rejected with validation error","Invalid or unsupported voice enum value — returns error","Empty text field — returns validation error","Payment failure (HTTP 402) if USDC micropayment is not completed","Network timeout if OpenRouter backend is slow or unavailable"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call TTS with no subscription, want a specific emotional tone or accent (30 presets across American, British, and French voices), and need MP3 output in a single low-latency call. Ideal for agents that generate dynamic audio on demand without managing API keys for a dedicated TTS provider.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:30:09.103Z","isFirstParty":false,"canonicalSlug":"x402engine-voxtral-mini-tts-via-openrouter-7ac33e2c"}