alaii-engage
v0.1.0
Published
AI-powered social media engagement SDK — generate human-like replies, comments, and DMs across Instagram, TikTok, X, LinkedIn, Reddit, Facebook
Downloads
17
Maintainers
Readme
alaii-engage
AI-powered social media engagement SDK — generate human-like replies, comments, and DMs across Instagram, TikTok, X, LinkedIn, Reddit, and Facebook.
Install
npm install alaii-engageQuick Start
import { AlaiEngage } from "alaii-engage";
const alaii = new AlaiEngage({ apiKey: "ae_your_key" });
// Generate an AI reply to an Instagram comment
const reply = await alaii.generate({
platform: "instagram",
type: "comment_reply",
context: {
originalContent: "Just opened my new salon!",
authorName: "beauty_studio",
},
});
console.log(reply.content);
// "Congrats on the grand opening!! 🎉 Can't wait to check it out"
console.log(reply.variations);
// 3 human-like variations to choose fromSign Up Programmatically
import { AlaiEngage } from "alaii-engage";
const { apiKey } = await AlaiEngage.signup("[email protected]", "password");
const alaii = new AlaiEngage({ apiKey });API
new AlaiEngage({ apiKey, baseUrl? })
Create a client instance. Uses the managed API at alaii-engage.vercel.app by default, or point to your self-hosted instance.
alaii.generate(options)
Generate AI engagement content.
| Option | Type | Required | Description |
|--------|------|----------|-------------|
| platform | "instagram" \| "tiktok" \| "x" \| "linkedin" \| "reddit" \| "facebook" | ✅ | Target platform |
| type | "comment_reply" \| "hashtag_comment" \| "dm_welcome" \| "dm_outreach" \| "repost_caption" | ✅ | Content type |
| context | object | | Post context (originalContent, authorName, hashtag) |
| business | object | | Business context (businessName, industry, tone) |
alaii.publish(options)
Publish content to Instagram.
alaii.usage()
Check API usage for the current billing period.
AlaiEngage.signup(email, password)
Create a new account and get an API key. Static method — no instance needed.
Pricing
- Free: 100 API calls
- Pay-per-call: $0.01/call after free tier
- Self-hosted: Free forever — deploy your own
