Why tho? AI Studio has this model available and I don't need to paste the API key anywhere

https://aistudio.google.com/generate-speech?model=gemini-3.8...

Because building my own is a better way to understand the capabilities of the model and how to use it - and to verify that it can be used via CORS.