T

TTS Text Purifier

Published byBYB Bai
9/7/2026
Agent payments

Endpoints

1

Ungrouped Endpoints
1

What is the TTS Text Purifier API?

Instantly sanitize and format messy text for Text-to-Speech (TTS) engines. Eliminate Edge-TTS crashes.

TTS Text Purifier API is available on the JoJ API marketplace. Subscribe with a single JoJ API key, call it through one gateway, and pay from one wallet — no separate account or contract with the provider.

TTS Text Purifier API endpoints

  • POST/tool/tts_formatter

    Format Text

    Sanitize messy text and format to one sentence per line.

Frequently asked questions about TTS Text Purifier API

What does TTS Text Purifier do?

It cleans and formats language-model text before it is sent to a text-to-speech engine. The API removes unwanted content and improves sentence readability.

Does this API generate audio?

No. It only purifies and formats text. You can send the returned data field to your preferred text-to-speech engine.

What input format is required?

Send a POST request with Content-Type application/json and include a required raw_text string in the request body.

What content does the API remove?

It removes URLs, HTML tags, bracketed notes, markdown symbols, emojis, unsupported decorative characters, and excess whitespace.

How does the API format the result?

It inserts line breaks after sentence punctuation so that each sentence appears on a separate line.

What does the response contain?

The response contains the processing status, original character count, cleaned character count, and purified text in the data field.

Which languages are supported?

The purifier is suitable for English, Chinese, and other text that uses standard letters, numbers, spaces, and common punctuation.