About this endpoint
What it does
Cleans and formats submitted text for text-to-speech use by taking a raw text string and returning a purified text string. The response contains the cleaned text in a clean_text field.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| raw_text | String | Yes | The raw input text to purify and format. |
Response
Returns a JSON object with a clean_text string field containing the purified text.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| clean_text | String | No | The cleaned and formatted text returned by the endpoint. |