- Clone the repository
git clone https://github.com/NiicoAdasme/api-convert-pdf-to-voice.git
- Install dependencies
npm install
- Run the code
node index
ornpm start
- In some http client like Postman put the URL and add /api/pdf with POST method and select body form-data
- Add the key "pdf" file type
- Add the key "format". You can use mp3, aac, flac, ogg, wav and wma. Default: flac (opcional)
- Once you audio file is downloaded, you can get request to /api/delete for delete the files in the server