4.5 Calling methods
This is an example of using IVONA TTS SaaS API for typical operations (generating and managing synthesised texts). We assume, that there is an user account registered in IVONA.com, with an active SaaS agreement and enough number of available characters for performing those operations.
- getToken() – get token for the next operation
- createSpeechFile() – upload text and get url for downloading the speech file
- download a file to the user’s machine
Optionally you can preform following steps:
- getToken() – get token for the next operation
- deleteSpeechFile() – delete the speech file from the system