Text to Speech API

io.github.Br0ski777Published by GitHub account Br0ski777v1.1.0Updated Nov 2, 2026

Convert text to MP3 speech audio in 50+ languages. x402 micropayment.

VerifiedSSEWeb executableFinanceMedia & Design

Overview

AI-generated overview

Remote MCP endpoint that converts text into base64 MP3 speech in many languages, paid per call with USDC micropayments.

What you can do
  • Convert text to speech audio, returning base64-encoded MP3 in JSON
  • Choose a language code for the output voice (default English)
  • Receive length and duration estimates alongside the audio
  • Pay per request through an x402 payment challenge instead of an API key
When to use it
Useful when an assistant needs to produce spoken audio: narration, audio versions of articles, voice-assistant prototypes, accessibility features or language-learning material, and you are willing to pay a small per-call fee in USDC.
Requirements
A remote MCP endpoint reached over SSE; no local package or runtime. No signup or API key, but an x402-capable client with a funded wallet holding USDC on Base L2 is needed to settle the per-call payment. Network access required.
Before you install
Each call costs money ($0.012 per request) and is settled in USDC on Base through a wallet, so an assistant can spend funds without a signup gate. Requests are capped at 200 characters of text, and the text you send is processed by a third-party service using a Google TTS engine.

Installation

In SourceWeft

  1. Open Text to Speech API in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via SSE. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.Br0ski777%2Ftext-to-speech/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "text-to-speech-api": {
      "type": "sse",
      "url": "https://text-to-speech.api.klymax402.com/mcp"
    }
  }
}

README

Text to Speech API

[MCP Server] [x402] [License: MIT]

Convert text to speech audio -- 20+ languages, base64 MP3 output. Google TTS engine, fast and reliable. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.

Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.

Quickstart -- MCP

Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):

json
{  "mcpServers": {    "text-to-speech": {      "url": "https://text-to-speech.api.klymax402.com/mcp"    }  }}

Quickstart -- HTTP (x402)

bash
curl -X POST "https://text-to-speech.api.klymax402.com/api/speak" \  -H "Content-Type: application/json" \  -d '{"text":"..."}'# -> 402 Payment Required, with an x402 payment challenge in the response body

Any x402-aware client (@x402/fetch, x402-agent-tools, ATXP) handles the 402 -> sign -> retry cycle automatically.

Tools

ToolMethodPathPriceDescription
media_text_to_speechPOST/api/speak$0.012Convert text to speech audio

media_text_to_speech

Use this when you need to convert text to speech audio. Returns base64-encoded MP3 audio in JSON.

Parameters

NameTypeRequiredDescription
textstringyesThe text to convert to speech (max 200 characters per request)
languagestringnoLanguage code: en, fr, es, de, it, pt, ja, ko, zh, ar, ru, hi, etc. (default: en)

Example response:

json
{"audio":"SUQzBAAAAAAAI1RTU0UAAAAP...","language":"en","textLength":45,"durationEstimate":3.2,"format":"mp3"}

When to use: generating audio narration, building voice assistants, creating audio versions of articles, accessibility features, and language learning apps.

Not for: language detection (use text_detect_language), text translation (use text_translate), OCR from images (use media_extract_text_from_image).

Example agent prompts

  • "Convert text to speech audio"

Payment

  • Protocol: x402 -- HTTP-native pay-per-call, no signup, no API key
  • Network: Base L2 (eip155:8453)
  • Asset: USDC
  • Facilitator: Coinbase CDP (primary), PayAI (fallback)
  • Also reachable via ATXP (OAuth-wrapped x402, RFC 9728 protected-resource metadata)

Part of klymax402

100 x402 micropayment APIs for AI agents -- one wallet, USDC on Base, zero signup.

License

MIT

Source: README.md at commit 2954c82

Tools

0
SourceWeft has not read this server's tools yet.

Version history

1
  1. v1.1.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declaredRequired10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts