Hi, I'm trying to use Google Gemini TTS API in Tasker. The HTTP Request works fine and I get a JSON response back. The response contains base64 encoded PCM audio data. I need to:
I'm using JavaScriptlet with writeFile() to save the file but it's not being created. Has anyone done this successfully? Is writeFile() the right function or is there a better way to save binary files in Tasker?
https://pastebin.com/hau0QrVE