Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ai-content-moderation

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ai-content-moderation

AI-powered content moderation system with subscription management

  • 1.1.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-25%
Maintainers
0
Weekly downloads
 
Created
Source

AI Content Moderation System

Overview

The AI Content Moderation System is a comprehensive Node.js package that provides content moderation capabilities powered by AI. This system is designed to be easily integrated into existing applications to provide robust content moderation features.

Key Features

  1. AI-Powered Content Moderation: Utilizes advanced AI models to moderate text, image, and video content.
  2. License-based Usage: Uses license keys for access control and usage tracking.
  3. Flexible API: Provides a simple API for easy integration with various applications.
  4. Multiple License Types: Supports different license types to accommodate various usage levels.
  5. Rate Limiting: Prevents API abuse and ensures fair usage.
  6. Caching: Improves performance and reduces unnecessary AI API calls.
  7. Webhook Notifications: Allows real-time updates for moderation results.
  8. Usage Analytics: Helps users track and manage their content moderation usage.

Installation

npm install ai-content-moderation

Quick Start

import { initContentModeration, ModerationConfig } from 'ai-content-moderation'

const config = {
  aiProviders: {
    textAI: 'https://your-text-ai-endpoint.com',
    imageAI: 'https://your-image-ai-endpoint.com',
    videoAI: 'https://your-video-ai-endpoint.com',
  },
  licenseSecretKey: 'your-license-secret-key',
  backendUrl: 'https://your-backend-url.com',
  rateLimitPoints: 100,
  rateLimitDuration: 60,
  cacheTTL: 3600,
}

const licenseKey = 'your-license-key'
const moderationService = initContentModeration(config, licenseKey)

// Moderate content
moderationService
  .moderateContent({
    type: 'text',
    data: 'Content to moderate',
  })
  .then((result) => console.log(result))
  .catch((error) => console.error(error))

// Set webhook URL
moderationService.setWebhookUrl('https://your-webhook-url.com')

// Get usage report
moderationService.getUsageReport().then(console.log).catch(console.error)

License Types

  1. Individual Plan
  2. Small Business Plan
  3. Enterprise Plan
  4. Pay-as-you-go Option

Documentation

For detailed usage instructions, please refer to the INSTRUCTIONS.md file.

For API documentation, please see the API_DOCUMENTATION.md file.

Changelog

For a list of changes and version history, please see the CHANGELOG.md file.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For any questions or support needs, please contact our support team at support@vaif.tech.

Keywords

FAQs

Package last updated on 11 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc