Monetize your AI video knowledge by building a content distribution system that:
- Transforms Letta MAS videos into platform-ready formats
- Auto-generates captions with Ollama
- Schedules posts via Postiz (self-hosted)
- Distributes across Twitter/X, LinkedIn, TikTok, YouTube
What you have:
- 100+ AI-generated videos in
/Users/speed/proxmox/videos/ - Letta MAS running (6 agents, port 8283)
- ComfyUI LTX-2 (port 8188)
- Frame server (port 8189)
- PostgreSQL + Redis already running
- Ollama for local inference
What's missing:
- Postiz (not deployed)
- Video format conversion (vertical, square)
- Social media OAuth setup
- Content templates
- Automated caption generation
LETTA MAS → VIDEO PROCESSOR → POSTIZ → SOCIAL PLATFORMS
(generate) (transform) (schedule) (distribute)
┌──────────┐ ┌──────────┐ ┌──────────┐ ┌─────────┐
│ ComfyUI │──>│ FFmpeg │──>│ Postiz │──>│ X/LI/TT │
│ 768x512 │ │ 9:16,1:1 │ │ Drafts │ │ YT/IG │
└──────────┘ └──────────┘ └──────────┘ └─────────┘
Location: /home/straughter/content-pipeline/
# On Proxmox - create postiz + temporal databases
docker exec -it postgres-vector psql -U vectorgraph -c "
CREATE DATABASE postiz;
CREATE USER postiz WITH PASSWORD 'postiz_secret';
GRANT ALL PRIVILEGES ON DATABASE postiz TO postiz;
CREATE DATABASE temporal;
CREATE USER temporal WITH PASSWORD 'temporal_secret';
GRANT ALL PRIVILEGES ON DATABASE temporal TO temporal;
"File: /home/straughter/content-pipeline/docker-compose.postiz.yml
Key services:
postiz- Main app on port 4007postiz-redis- Dedicated Redistemporal- Workflow engine on port 7233temporal-ui- Dashboard on port 8088
File: /home/straughter/content-pipeline/.env
Required:
POSTIZ_JWT_SECRET- Random 32+ char stringDATABASE_URL- PostgreSQL connectionREDIS_URL- Redis connection- Social OAuth keys (Phase 4)
Purpose: Convert 768x512 landscape videos to platform formats
| Platform | Dimensions | Aspect | Method |
|---|---|---|---|
| TikTok/Reels | 1080x1920 | 9:16 | Center crop |
| Instagram Square | 1080x1080 | 1:1 | Center crop |
| Twitter/LinkedIn | 1920x1080 | 16:9 | Letterbox |
| YouTube Shorts | 1080x1920 | 9:16 | Center crop |
| Size | Dimensions | Use |
|---|---|---|
| og | 1200x630 | Open Graph/Link previews |
| 1200x675 | Twitter Cards | |
| youtube | 1280x720 | YouTube thumbnails |
| square | 1080x1080 |
/home/straughter/content-pipeline/video_processor.py
- Watch for new videos in ComfyUI output
- Extract thumbnails at multiple sizes
- Convert to all platform formats
- Output to
/content-pipeline/processed/{video_id}/
/home/straughter/content-pipeline/text_overlay.py
- Add title text (first 2 seconds)
- Add CTA text (last 2 seconds)
- Branded watermark (optional)
Purpose: Auto-create Postiz drafts when videos complete
File: /home/straughter/content-pipeline/letta_postiz_bridge.py
Flow:
- Detect new video in ComfyUI output
- Query Letta archival memory for prompt/metadata
- Run video processor (thumbnails + formats)
- Generate captions via Ollama (platform-specific)
- Create draft posts in Postiz
Use Ollama qwen2.5:7b to generate:
- Hook - Attention grabber
- Description - Brief, engaging
- CTA - Call to action
- Hashtags - Platform-appropriate
# Auto-start on boot
sudo systemctl enable content-pipeline| Platform | Portal | Callback URL |
|---|---|---|
| Twitter/X | developer.twitter.com | http://192.168.1.143:4007/api/callback/twitter |
| linkedin.com/developers | http://192.168.1.143:4007/api/callback/linkedin |
|
| TikTok | developers.tiktok.com | http://192.168.1.143:4007/api/callback/tiktok |
| YouTube | console.cloud.google.com | http://192.168.1.143:4007/api/callback/youtube |
- LinkedIn requires "Marketing Developer Platform" access
- TikTok requires app review for production
- YouTube needs "YouTube Data API v3" enabled
{hook}
{short_description}
{cta}
#AIVideo #AIArt #GenerativeAI #LTX2
{professional_hook}
{context_paragraph}
{learning_point}
{cta}
#AIVideo #GenerativeAI #FutureOfWork
{punchy_hook} #aiart #aivideo #fyp #viral #darkfantasy
/home/straughter/content-pipeline/
├── docker-compose.postiz.yml
├── .env
├── video_processor.py
├── letta_postiz_bridge.py
├── text_overlay.py
├── health_check.py
├── config/
│ └── templates.json
├── processed/
│ └── LTX-2_XXXXX_/
│ ├── manifest.json
│ ├── thumb_og.jpg
│ ├── tiktok.mp4
│ ├── twitter.mp4
│ └── ...
└── logs/
1. Phase 1: Deploy Postiz (~30 min)
└── Database setup, Docker compose, verify UI
2. Phase 2: Video Processor (~45 min)
└── FFmpeg scripts, thumbnail extraction
3. Phase 3: Bridge Service (~30 min)
└── Letta integration, caption generation
4. Phase 4: OAuth Setup (~60 min)
└── Developer accounts, API keys, test auth
5. Phase 5: Content Templates (~15 min)
└── Configure templates, test generation
- Postiz UI accessible at
http://192.168.1.143:4007 - Temporal UI at
http://192.168.1.143:8088 - Video processor creates all format variants
- Thumbnails extracted correctly
- Ollama generates captions
- Bridge service creates Postiz drafts
- OAuth works for at least 1 platform
- Can schedule and publish test post
| File | Purpose |
|---|---|
docker-compose.postiz.yml |
Postiz deployment |
video_processor.py |
Format conversion |
letta_postiz_bridge.py |
Integration service |
.env |
OAuth credentials |
FB Groups → Skool Community → Course Upsells
Week 1-2: Join AI/automation FB groups, post value (videos + insights)
Week 3-4: Launch Skool community ($29-49/mo)
Month 2: Add course module to Skool ($97-297)
Month 3+: Premium tier ($497), 1:1 consulting
- Community: $29-49/mo - Access to tutorials, prompt library, support
- Course: Built into Skool - "Build Your AI Video Factory"
- Upsell: Done-for-you setup, consulting
- AI Art & Video Generation groups
- Automation/No-Code groups
- Content Creator communities
- Side hustle/passive income groups
Letta MAS videos → Postiz → FB Groups (free value)
↓
"Want the full system?"
↓
Skool community link
The videos prove you can do it. The FB posts give free value. Skool captures the paying audience.