quick-ai v1.0.7
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