next-filter

1.0.0 • Public • Published

Next Filter

Advanced NSFW content detector with nsfw prompt converter

Installation

Installation

npm i next-filter

Usage Filter

const { NextFilter } = require("next-filter");

const next = new NextFilter();

(async () => {
	const imageUrl = ``; // image url

	try {
		const resp = await next.filter(imageUrl);
		if (resp.result === true) {
			console.log(resp.message);
		} else {
			console.log(resp.message);
		}
	} catch (err) {
		console.log(err);
	}
})();

Usage Convert

const { NextFilter } = require("next-filter");

const next = new Nextfilter();

(async () => {
	const prompt = ``; // your prompt

	try {
		const resp = await next.convert(prompt);
    console.log(resp.message);
	} catch (err) {
		console.log(err)
	}
})();

General Notes For Filter

  • Animated GIF Support
  • Image Types: .jpg .png .bmp .gif .webp
  • Max image size: 10 MB

General Notes For Convert

  • Analyze text and return cleaned version of the text.
  • Language Support: Arabic, Czech, Danish, German, English, Esperanto, Spanish, Castilian, Persian, Finnish, French, Hindi, Hungarian, Italian, Japanese, Korean, Dutch, Flemish, Norwegian, Polish, Portuguese, Russian, Swedish, Thai, Klingon, Turkish, Chinese.

Support

Package Sidebar

Install

npm i next-filter

Weekly Downloads

6

Version

1.0.0

License

ISC

Unpacked Size

4.5 kB

Total Files

4

Last publish

Collaborators

  • iscordian