tts, err := tiktok_tts.TTS(tiktok_tts.VoiceEnglishFem1, "Hello World")
if err != nil { /* ... */ }
buf, err := base64.StdEncoding.DecodeString(tts.Data.VStr)
if err != nil { /* ... */ }
// buf now contains MP3 file data which can be written to a file
This repository has been archived by the owner on May 11, 2024. It is now read-only.
SharkyRawr/go-tiktok-tts
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.