Tiktok TTS Voice retrieval in Node.
Go to file
aria 9ccdf5ceb4 bump vers 2022-04-25 00:28:26 -04:00
.gitignore add first version of package 2022-04-25 00:26:55 -04:00
LICENSE Initial commit 2022-04-24 23:34:09 -04:00
package-lock.json add first version of package 2022-04-25 00:26:55 -04:00
package.json bump vers 2022-04-25 00:28:26 -04:00
pkg.js add first version of package 2022-04-25 00:26:55 -04:00
README.md add example 2022-04-25 00:28:21 -04:00
test.js add first version of package 2022-04-25 00:26:55 -04:00

tikmp3

Tiktok TTS Voice retrieval in Node. Code is based off of a my friend's code.

example

const fs = require("fs");
const tik = require("tikmp3");

(async function() {
  let buff = await tik.get("hello world, i'm the english female voice!");
  fs.writeFileSync("./test-1.mp3", buff);
  console.log("- english female voice test saved to ./test-1.mp3");
  
  buff = await tik.get("hello world, i'm the english male voice!", "en_us_006");
  fs.writeFileSync("./test-2.mp3", buff);
  console.log("- english male voice test saved to ./test-2.mp3");
})();