XHub - AI-Powered NSFW Content API
XHub uses artificial intelligence to deliver categorized NSFW images with ease. Retrieve high-quality content securely using a simple API wrapper.
npm i xhub-ai
To access XHub, you need an API key.
- Join the Discord Server: https://api.rnilaweera.lk/discord
- Register using the /register slash command
- Generate your free API key with /generate-key
const { XHub } = require("xhub-ai");
const xhub = new XHub("rsnlabs_××××××××××××××××××××××××××××××");
xhub.getCategories().then(category => {
console.log(category);
});
const { XHub } = require("xhub-ai");
const xhub = new XHub("rsnlabs_××××××××××××××××××××××××××××××");
const type = "hentai";
xhub.fetch(type).then((response) => {
console.log(response);
}).catch((error) => {
console.error(error.message);
});
© 2025 Rsn Labs. All rights reserved. Unauthorized distribution or use of this package is strictly prohibited.
🔞 XHub is developed and maintained by Rsn Labs.