Social Media Drafts¶
AI-powered weekly content generation in your brand voice.
| Port | 8106 |
| Container | hai-social-media |
| Use case | LinkedIn content, social media calendars, brand-consistent posting |
| Compliance | GDPR, CCPA, SOC 2 |
How it works¶
Provide a brand profile (company, industry, audience, voice, example posts) and get back a batch of ready-to-post content with hooks, body text, CTAs, and hashtag suggestions.
API¶
Generate content¶
curl -X POST http://localhost:8106/api/v1/generate \
-H "X-API-Key: hai_your_key" \
-H "Content-Type: application/json" \
-d '{
"brand": {
"company_name": "Acme Corp",
"industry": "B2B SaaS",
"target_audience": "CIOs and IT directors at mid-market companies",
"brand_voice": "Authoritative but approachable. Data-driven. No fluff.",
"example_posts": ["We analyzed 500 IT budgets. 73% increased AI spend in Q1..."],
"topics": ["AI ROI measurement", "vendor selection", "change management"]
},
"num_posts": 5,
"platforms": ["linkedin"],
"week_of": "2026-04-14"
}'
Response:
{
"posts": [
{
"platform": "linkedin",
"format": "text",
"hook": "Most AI pilots fail in month 2. Not month 12.",
"body": "The pattern is predictable: executive excitement, rapid POC, promising demo, then... silence. Adoption flatlines because nobody planned for the boring part: change management...",
"cta": "What's your AI adoption rate 90 days post-launch? Drop your number below.",
"hashtags": ["#AIAdoption", "#ChangeManagement", "#EnterpriseAI"]
}
],
"week_of": "2026-04-14",
"latency_ms": 3456,
"model": "claude-sonnet-4-20250514"
}
Content formats¶
The AI generates varied content types:
| Format | Description |
|---|---|
| text | Standard post with hook + body + CTA |
| carousel | Concept with slide-by-slide outline |
| poll | Question with 2-4 answer options |
Brand voice tips¶
The more specific your brand_voice and example_posts, the better the output:
- Weak: "Professional and friendly"
- Strong: "Authoritative but approachable. Uses data to support claims. Contrarian takes welcome. No buzzwords. Writes like a CIO who blogs, not a marketing team."