Api Endpoint

Text to speech API, TTS

Text to speech API, TTS. Text to speech API: turn up to 300 characters of text into natural, human-sounding speech as an MP3 (base64) with Deepgram Aura-2 voices in English, Spanish, German, French, Dutch, Italian or Japanese. zh and ko are retired with MeloTTS (Workers AI, 20 Nov 2026) and are refused uncharged. Pick a voice by name or keep the default. Use for voice replies, narration, audio notes, IVR prompts and accessibility.

Open interactive test console

Offering

Provider
tts.glyphcall.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://tts.glyphcall.com/ai/tts
MIME type
application/json
First seen
2026-11-21T18:11:52.301Z
Last seen
Tags
text-to-speech, tts, tts-api, voice, speech-synthesis

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.01 USDC
Atomic price: 10000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.01 USDC
Atomic price: 10000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 4
0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0x6293ded2684F1A76E26bEcef87c137D691Fbf800"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "10000",
    "payTo": "0x6293ded2684F1A76E26bEcef87c137D691Fbf800"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "10000",
    "payTo": "0x6293ded2684F1A76E26bEcef87c137D691Fbf800"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "payTo": "82wfSCZhCmZA7zwqqt6Q3FG8nqYBwUvbThP6M97fa9Q6"
  }
]

Observed health

Status
Healthy
Latest latency
221 ms
Average latency
331 ms
HTTP status
402
Last checked
Reachability
100% over 4 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "description": "Text to speak, up to 300 characters",
          "examples": [
            "Your payment was received. Thank you!"
          ]
        },
        "lang": {
          "type": "string",
          "description": "Language: en, es, de, fr, nl, it or ja (Aura-2 MP3, many voices); zh and ko are retired (MeloTTS was removed from Workers AI, 20 Nov 2026); default en",
          "enum": [
            "en",
            "es",
            "de",
            "fr",
            "nl",
            "it",
            "ja"
          ],
          "examples": [
            "en"
          ]
        },
        "voice": {
          "type": "string",
          "description": "Voice name. English: amalthea, andromeda, apollo, arcas, aries, asteria, athena, atlas, aurora, callista, cora, cordelia, delia, draco, electra, harmonia, helena, hera, hermes, hyperion, iris, janus, juno, jupiter, luna, mars, minerva, neptune, odysseus, ophelia, orion, orpheus, pandora, phoebe, pluto, saturn, thalia, theia, vesta, zeus. Spanish: sirio, nestor, carina, celeste, alvaro, diana, aquila, selena, estrella, javier, agustina, antonia, gloria, luciano, olivia, silvia, valerio. German: julius, elara, aurelia, lara, fabian, kara, viktoria. French: agathe, hector. Dutch: rhea, beatrix, daphne, cornelia, sander, hestia, lars, roman, leda. Italian: livia, melia, elio, flavio, maia, cinzia, cesare, dionisio, demetra. Japanese: izanami, uzume, ebisu, fujin, ama. Default: luna (en), aquila (es), else the first listed",
          "examples": [
            "luna"
          ]
        },
        "format": {
          "type": "string",
          "description": "Audio format: mp3 (default), wav, pcm (raw 16-bit little-endian mono), ulaw or alaw (8 kHz telephony, e.g. Twilio), opus (Ogg) or flac. opus and flac only for text spoken in one part (up to 450 characters)",
          "enum": [
            "mp3",
            "wav",
            "pcm",
            "ulaw",
            "alaw",
            "opus",
            "flac"
          ],
          "examples": [
            "mp3"
          ]
        },
        "sample_rate": {
          "type": "string",
          "description": "Sample rate in Hz for wav and pcm (8000, 16000, 24000 default, 32000, 48000) or ulaw/alaw (8000 default, 16000)",
          "examples": [
            "24000"
          ]
        },
        "pronunciations": {
          "type": "string",
          "description": "How to say words: JSON {\"Nginx\":\"engine x\",\"GIF\":\"jif\"} or Nginx=engine x, GIF=jif (up to 50, whole words, any case)",
          "examples": [
            "Nginx=engine x"
          ]
        }
      },
      "required": [
        "text"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "contentType": {
          "type": "string"
        },
        "audioBase64": {
          "type": "string"
        },
        "bytes": {
          "type": "number"
        },
        "lang": {
          "type": "string"
        },
        "voice": {
          "type": "string"
        },
        "characters": {
          "type": "number"
        },
        "model": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "type"
  ]
}