1.0.7 • Published 5 months ago

quick-ai v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Quick AI SDK šŸš€

Easily integrate AI-powered features into your website with Quick AI SDK.

šŸ”¹ AI-powered content moderation
šŸ”¹ AI-enhanced text transformation (fix grammar, rewrite, etc.)
šŸ”¹ AI-driven image filtering

šŸ‘‰ No need for complex backend modifications or prompt engineering – just plug and play!

šŸ“Œ API Reference: Quick AI API Docs
OpenAPI Specification


✨ Features

āœ… Automatic AI content moderation (detects offensive, harmful, or inappropriate content)
āœ… Text enhancement (grammar fixes, style improvements, rephrasing)
āœ… NSFW image filtering (automatically detects and removes inappropriate images)
āœ… Easy integration (works with both frontend and backend)
āœ… Works in browsers & Node.js

šŸ’° Pricing & API Key

āœ… Quick AI API requires an API key for access. You can get one for free with a simple sign-up:

šŸ‘‰ Get Your Free API Key (No credit card required, quick sign-up via GitHub or Google!)

šŸ”¹ Free Plan Available – Start using AI right away!
šŸ”¹ Paid Plan (pay as you go) – For higher limits. Visit Quick AI Pricing for more details.


šŸ“¦ Installation

Using npm (recommended for Node.js & modern frontend frameworks)

npm install quick-ai

For in-browser usage, you can use the UMD build:

import { QuickAiSdkClient } from "quick-ai";
const ai = new QuickAiSdkClient("cli_abc123");

For server-side usage (Node.js), you can use the Node.js build:

import { QuickAiSdkNode } from "quick-ai";
const ai = new QuickAiSdkNode("ser_cde345");

The difference between the QuickAiSdkClient and QuickAiSdkNode is how they handle the API authorization. The QuickAiSdkClient is designed to be used in the browser in white-listed origins, where the API key is exposed to the client. The QuickAiSdkNode is designed to be used in a server-side environment, where the API key is kept secret.

Using CDN (for vanilla JS projects)

<script src="https://cdn.jsdelivr.net/npm/quick-ai/dist/quick-ai-sdk.umd.js"></script>
<script>
  const ai = new QuickAiSdkClient("YOUR_CLIENT_API_KEY");
  ai.checkContent("Hello world").then(console.log);
</script>

šŸš€ Usage

1ļøāƒ£ Content Moderation

import { QuickAiSdkClient } from "quick-ai";

const ai = new QuickAiSdkClient("YOUR_API_KEY");

ai.checkContent("This is some user-generated content")
  .then(response => console.log("Moderation result:", response))
  .catch(error => console.error("Error:", error));

2ļøāƒ£ Text Grammar check and correction

ai.checkGrammar("This is some user-generated content")
  .then(response => console.log("Check result:", response))
  .catch(error => console.error("Error:", error));

3ļøāƒ£ Image Filtering

ai.filterImage("This is some user-generated content")
  .then(response => console.log("Check result:", response))
  .catch(error => console.error("Error:", error));

šŸ“„ License

This project is licensed under the MIT License – feel free to use it in your projects!


šŸ“® Need Help?

šŸ“˜ API Docs
šŸž Report Issues: GitHub Issues
šŸ“§ Support


1.0.7

5 months ago

1.0.6

5 months ago

1.0.5

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago