Text to Sound Effects
Turn text into sound effects for your videos, voice-overs or video games using the most advanced sound effects model in the world.
Pricing
The API is charged at 100 credits per automatic generation, or 20 credits per second when duration is specified.
Headers
Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.
Body
The text that will get converted into a sound effect.
The duration of the sound which will be generated in seconds. Must be at least 0.5 and at most 22. If set to None we will guess the optimal duration using the prompt. Defaults to None.
A higher prompt influence makes your generation follow the prompt more closely while also making generations less variable. Must be a value between 0 and 1. Defaults to 0.3.
Response
The response is of type file
.
Was this page helpful?