# Deepgram Text-to-Speech (via x402/PaySponge)

> Deepgram Text-to-Speech (via x402/PaySponge) is a paid API for AI agents from deepgram.x402.paysponge.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Converts text into spoken audio using Deepgram's text-to-speech engine, billed per call via x402 micropayment.

## Facts

- Endpoint: POST https://deepgram.x402.paysponge.com/v1/speak
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/deepgram-text-to-speech-via-x402-paysponge-97759fbd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q4hWrkDo0t5Ktc-4B2LDi

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability deepgram-text-to-speech-via-x402-paysponge-97759fbd -d '<json body>'
```

Example prompt: Can you read this text aloud using Deepgram's voice synthesis: 'Welcome to our platform, we are glad you are here.'

## When to prefer this

Use this endpoint when you need pay-per-call text-to-speech synthesis powered by Deepgram and want to pay via USDC micropayments using the x402 protocol — ideal for agents that need on-demand TTS without a subscription, or for workflows integrating with the PaySponge/x402 payment layer.

## Known failure modes

- Empty or missing text field returns a 400 error
- Payment failure via x402 protocol results in 402 Payment Required response
- Text that is too long may be rejected or truncated depending on model limits
- Network timeout for very long synthesis tasks
- Unsupported characters or languages in text may yield degraded or empty audio

## How this service works

Text to Speech transformation

## Output

Returns synthesized audio data (speech) corresponding to the input text, generated by Deepgram's TTS engine. The agent receives audio content that can be played back or saved as an audio file.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "The text content to be converted to speech"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/deepgram-text-to-speech-via-x402-paysponge-97759fbd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from deepgram.x402.paysponge.com](https://www.zero.xyz/host/deepgram.x402.paysponge.com/llms.txt)
