A small app written in golang to simplify Zalo TTS integration.
Live here: enhack.net/tts
These are the Docker Hub autobuild images located here.
POST /raw -d 'Xin chào Việt Nam'
https://link-to-audio-file
POST /embeded -d 'Xin chào Việt Nam'
<audio controls autoplay><source src="https://link-to-audio-file" type="audio/mpeg"></audio>
Default production mode
docker run -p 8080:8080 -e ZALO_AI_API_KEY=your-key -d locnh/tts
or add -e GIN_MODE=debug
to debug
- Fork me
- Make changes
- Create pull request
- Grab a cup of tee and enjoy