Text to Sound [BETA]
Create Text to Sound
Creates a task to generate an audio file from a given text prompt.
POST
For optimal accuracy, it is recommended to use a concise prompt.
This endpoint initiates the process of converting the text into an audio effect, returning a task_id
. To check the status of the task, the /text-to-sound/{task_id}
endpoint can be polled.
Authorizations
The x-api-key
is a custom header required for authenticating requests to our API. Include this header in your request with the appropriate API key value to securely access our endpoints. You can find your API key(s) in the 'API' section of our studio website.
Body
application/json
The desired duration of the audio.
The text to be converted to audio.
Response
200 - application/json