About this endpoint
What it does
Uploads a document file and a selected voice gender, then returns the generated MP3 audio as binary data.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | Binary file upload containing the document to process. |
| gender | ENUM | Yes | Voice gender to use for the audio output. Allowed values: male, female. |
Response
Returns a binary file response containing the generated MP3 audio.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| binary | String | Yes | The MP3 audio file returned by the endpoint as binary data. |