# GoldBean Baidu Text-to-Speech (TTS) API

> GoldBean Baidu Text-to-Speech (TTS) API is a paid API for AI agents from goldbean-api.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Converts text to natural-sounding speech audio using Baidu's TTS engine, accessible via pay-per-call on the GoldBean marketplace

## Facts

- Endpoint: GET https://goldbean-api.xyz/paid/baidu-tts
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/goldbean-baidu-text-to-speech-tts-api-8fca783d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qU1iqT_WKw5qb3uDqcngb

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 goldbean-baidu-text-to-speech-tts-api-8fca783d
```

Example prompt: Can you convert this paragraph into spoken audio using Baidu TTS: '欢迎使用我们的服务，今天天气很好。' — use a female voice at normal speed.

## When to prefer this

Choose this endpoint when you need pay-per-call text-to-speech with no subscription commitment, especially for Chinese-language content where Baidu's TTS excels. Ideal for low-volume or sporadic TTS needs where per-call pricing at $0.001 is more economical than a monthly SaaS plan. Prefer this over Google or Amazon TTS when targeting Mandarin/Chinese voice quality or when integrating with the GoldBean x402 payment ecosystem on Base chain.

## Known failure modes

- Empty or missing text input returns an error
- Unsupported language or voice parameter causes synthesis failure
- Text exceeding character length limits may be truncated or rejected
- Insufficient USDC balance blocks the pay-per-call transaction
- Network timeout if Baidu backend is slow to respond
- Invalid API credentials or missing x402 payment header returns 402

## How this service works

51 Baidu AI MCP tools: OCR, Vision, LLM, Speech, NLP, Image Gen, Video Gen. 50 free calls/day. No credit card. Pay-per-call from $0.001.

## Output

Returns a response object with a success flag and audio data (likely base64-encoded audio or a URL to the synthesized speech file) generated from the input text using Baidu's TTS engine.

## Response schema (JSON Schema)

```json
{
 "example": {
  "data": {},
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/goldbean-baidu-text-to-speech-tts-api-8fca783d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from goldbean-api.xyz](https://www.zero.xyz/host/goldbean-api.xyz/llms.txt)
