Export text to speech preferences

Hi!

Can I export the text to speech endpoint as an URL?
Or someone can recommendo an REST API to upload the MP3 file?