POST /audio/speech
Servers
- https://api.openai.com/v1
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
input |
String | Yes |
The text to generate audio for. The maximum length is 4096 characters. |
voice |
Yes | ||
speed |
Number | No |
The speed of the generated audio. Select a value from Default value: 1 |
response_format |
String | No |
The format to audio in. Supported formats are Possible values:
Default value: "mp3" |
model |
Yes |
One of the available TTS models: |
|
instructions |
String | No |
Control the voice of your generated audio with additional instructions. Does not work with |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.