Skip to content

Instantly share code, notes, and snippets.

View PikaBotz's full-sized avatar
🎯
I may be slow to respond.

Pika-Kun <3 PikaBotz

🎯
I may be slow to respond.
View GitHub Profile
@PikaBotz
PikaBotz / multilingual_tts.js
Created February 28, 2025 04:34
Text speech natural huggingface CPU-GPU based models API usage function.
// available models and languages
const TTSmodels = [
"tts-english1",
"tts-english2",
"tts-english3",
"tts-english4",
"tts-english5",
"tts-english6",
"tts-english7",
"tts-english8",
// 🌟 Author: @PikaBotz
// ❤️ https://github.com/PikaBotz
// Import axios (CommonJS)
const axios = require("axios");
// Base URL for the API
const baseUrl = "https://pikabotz-imagemaker.vercel.app/";
//-----------------------------------------------------------------------------------------------------------------------------------------
@PikaBotz
PikaBotz / pikabotz-templates.js
Created September 5, 2024 05:41
Usage example of greetings API
// 🌟 Author: @PikaBotz
// ❤️ https://github.com/PikaBotz
// Import axios (CommonJS)
const axios = require("axios");
// Initial data to be used in the API request
const username = encodeURIComponent("Pika~Kun");
const gcname = encodeURIComponent("PikaBotz Inc.");
const members = encodeURIComponent(69);