Create Text to Sound
Creates a task to generate an audio file from a given text 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
The text to be converted to audio.
The desired duration of the audio.
Response
A JSON that contains unique identifier for the task. This is used to query the status of the text to sound task that is running. It is returned when a create request is made to generate sound from text.