DEKU-AI is a fast and simple to use AI & personal assistant and it's FREE!
npm i deku-ai
const deku = require('deku-ai');
// CHAT WITH BRAINMAN
async function chat(prompt, version) {
const response = await deku.chat({
prompt: prompt,
version: version // v3-turbo, v4, v4-32k, gemini
});
console.log(response);
}
chat('hello', 'v4');
// CHAT WITH KRUTRIM AI
async function chatv2(prompt) {
const response = await deku.krutrim(prompt);
console.log(response);
}
chatv2('hello');
// CHAT WITH BLACKBOX AI
async function box(prompt) {
try {
const box = await deku.bbox(prompt)
console.log(box)
} catch (k) {
console.log(k.message)
}
}
box('who are you?')
// CHAT WITH LINERVA AI
async function liner(q) {
deku.liner(q)
.then(res => {
console.log(res)
})
}
liner('who are you?')
// CHAT WITH LEOLM
async function leo(q) {
deku.qwen(q)
.then(res => {
console.log(res)
})
}
leo('who are you?')
// CHAT WITH QWEN
async function qwen(q) {
deku.qwen(q)
.then(res => {
console.log(res)
})
}
qwen('who are you?')
// CHAT WITH GOOGLE PALM2
async function palm(q) {
deku.palm2(q)
.then(res => {
console.log(res)
})
}
palm('who are you?')
// IMAGINE WITH BRAINMAN
async function imagine(prompt, version) {
const response = await deku.image({
prompt: prompt,
version: version // stablediffusion, dalle (I'll add more soon.)
});
console.log(response);
}
imagine('a cat', 'dalle');
// GEN IMAGE WITH PHOTOLEAP
async function imaginev2(prompt) {
const genn = await deku.photoleap(prompt)
console.log(genn)
}
imaginev2('dog')
//FONT TEXT
async function font(txt) {
const fonts = await deku.font(txt)
console.log(fonts)
}
font('Deku')
// SEARCH
async function xvSearch(q) {
deku.xvideosSearch(q).then(res => {
console.log(res)
})
}
xvSearch('mia khalifa')
// DOWNLOAD
async function xvdl(url) {
const k = await deku.xvideos2dl(url)
console.log(k);
}
xvdl('xvideos2 video link')
// HOME (GET ALL XVIDEOS2 LINK ON HOME PAGE)
async function xvHome() {
deku.xvideosHome()
.then(res => {
console.log(res)
})
}
xvHome()
• Izuku Midoriya (Deku) - deku • Gojo Satoru - gojo • Sukuna - sukuna • Rimuru Tempest - rimuru • Cid Kagenou (Shadow) - cid • Monkey D. Luffy - luffy • Rudeus Greyrat - rudeus • Ichigo Kurosaki - ichigo • Uzumaki Naruto - naruto • Uzumaki Boruto - boruto
async function pai(prompt, character) {
const char = await deku.pai(prompt, character);
console.log(char.result)
}
pai('who are you?', 'deku')
// FACEBOOK VIDEOS/REELS DOWNLOADER
async function fbdl(url) {
const dl = await deku.fbdl(url)
console.log(dl)
}
fbdl('https://www.facebook.com/Sc0rpioPH/videos/7829502197072025/?mibextid=rS40aB7S9Ucbxw6v') //Facebook video/reels url only.
// INSTAGRAM DOWNLOADER
async function igdl(url) {
const ig = await deku.igdl(url);
console.log(ig)
}
igdl('https://www.instagram.com/p/ByxKbUSnubS/?igsh=d2pwYTl2b2c5NzJy')
/* EXAMPLE OUTPUT
https://download.ig-10-data.xyz/ig/1716055735/de1230d2609846a1ae42cb0908d588478e65d636c76efe069f14f24847eec1bc?file=aHR0cHM6Ly9zY29udGVudC5jZG5pbnN0YWdyYW0uY29tL28xL3YvdDE2L2YxL204NC8xMzRBMDg3MjF.... (too long)
*/
// SPOTIFY DOWNLOADER (TITLE ONLY NOT URL)
async function spotify(title) {
const spoti = await deku.spotifydl(title)
consle.log(spoti)
}
spotify('Glimpse of us')
/* EXAMPLE OUTPUT
https://api.fabdl.com/spotify/download-mp3/a1a64cb6f7cf0a054b12c9293ce2eaf3
*/
// TIKTOK DOWNLOADER (NO WATERMARK)
async function tikdl (url) {
// even images can download
const tik = await deku.tiktokdl(url)
console.log(tik)
}
tikdl('https://vt.tiktok.com/ZSYLF6AEB/')
// EXAMPLE OUTPUT: https://tikwm.com/video/media/hdplay/7360507270549048619.mp4
Contact me at Facebook for more info