text to speech
- Endpoint: /audio/speech
- Main request parameters:
- model: model used for speech synthesis, supported model list.
- input: text content to be converted into audio.
- voice: reference voice, supports system preset voices, user preset voices, and user dynamic voices.
bash
speech to text
- Endpoint: /audio/transcriptions
- Content-Type: multipart/form-data
- Main request parameters:
- model: model used for speech-to-text, supported model list.
- file: audio file to be converted to text.
bash
speech to speech
This scene is currently onlyElevenlabsFor model support, please refer to the corresponding documentation.
Things to note
Related links
OpenAI official documentation
Click to view OpenAI official documentation