Content Generation Worker
Provides content generation endpoints with AI for personalized/strategy-based posts and content repurposing.
Overview
The Content Generation Worker uses RAG (Retrieval-Augmented Generation) to generate personalized content based on user strategy and knowledge base. It supports content repurposing for multiple platforms.
Features
- RAG-powered content generation
- Strategy-based content creation
- Platform-specific formatting
- Content repurposing tool
- Template-based generation
- Multi-platform support (Twitter, LinkedIn, Facebook, TikTok)
Content Repurposing
Automatically repurpose content from:
- URLs (blogs, YouTube videos)
- File uploads (PDF, DOCX, TXT, video, images)
- Internal content references
Output formats:
- Twitter Thread (5 connected tweets)
- LinkedIn Post (professional format)
- TikTok Hooks (7 short hooks)
API Endpoints
Content Generation
POST
/api/generate/post POST
/api/generate/chat GET
/api/generate/history/:userId Content Repurposing
POST
/api/repurpose POST
/api/repurpose/upload