XHub 
XHub - AI-Powered NSFW Content API
⚠️ 18+ NSFW Content – XHub is one of the premium AI-powered NSFW content APIs developed by Rsn Labs. Use responsibly.
XHub uses artificial intelligence to deliver categorized NSFW images with ease. Retrieve high-quality content securely using a simple API wrapper.
🚀 Installation
npm i xhub-ai
🔑 API Key
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
📂 Usage - Get Categories
const { XHub } = require("xhub-ai");
const xhub = new XHub("rsnlabs_××××××××××××××××××××××××××××××");
xhub.getCategories().then(category => {
console.log(category);
});
🖼 Usage - Fetch NSFW Image
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);
});
📜 License & Copyright
© 2025 Rsn Labs. All rights reserved. Unauthorized distribution or use of this package is strictly prohibited.
⚠️ Disclaimer: This package contains explicit content and is strictly for adults. Ensure compliance with local regulations before use.
🔞 XHub is developed and maintained by Rsn Labs.