◆ Case Study

AI-Powered Content Platform — 3 Languages, 100% Automated

Multilingual spiritual content ecosystem with AI video production, automated email marketing, omnichannel chat, and trend-driven blog — serving 552 pages in Spanish, English, and Portuguese. Running on 21 Docker containers on a single VM.
552
Pages
21
Containers
13
N8N Workflows
3
Languages
5
Platforms

🌐 Visit the Live Platform

Explore 552 pages of AI-generated content across 3 languages.

🚀 Visit revelia.life
The Problem

A spiritual content brand needed a complete digital ecosystem that could generate and publish content autonomously in 3 languages, produce video across YouTube/TikTok/Facebook/Pinterest, capture and nurture leads through multiple touchpoints, and operate with near-zero hosting costs — all without scaling team size.

How It Works
01
🔎

Trend Detection

Google Trends + News RSS feeds from US/MX/BR filtered by DeepSeek AI for relevance.

02
🤖

AI Content Generation

DeepSeek writes articles, scripts, and social posts in 3 languages natively (not translated).

03
🎬

Video Production

Custom Remotion engine renders videos with AI voiceover (Google TTS), AI images (GPT Image), and animated templates.

04
📱

Multi-Platform Publishing

Automated distribution to YouTube, TikTok, Facebook Reels, Pinterest, and X.

05
📧

Email Marketing

Weekly horoscopes (36 lists), drip campaigns, quiz funnels — all trilingual via Listmonk + Mautic.

06
💬

AI Chat Agent

Chatwoot-powered bilingual agent that captures leads, scores them in Mautic, and upsells.

Content Pipeline
Pipeline Trigger Output
Content Generator 2x daily 170 symbols → AI content → Supabase → Pin images
Trend Intelligence Every 6 hours Google Trends/News → AI filter → Blog article (3 langs)
Dream Video Daily 3AM UTC Symbol → Script → Images → TTS → Remotion render → Publish
Horoscope Video Weekly Sign data → Script → Images → TTS → Render → Publish
Social Publisher L-V 3x daily Pinterest pins + Facebook posts
Video Publisher 3x daily YouTube + TikTok + FB Reels + Pinterest + X
Tech Stack

Frontend & Content

WebsiteNext.js 14 (Vercel, ISR)
DatabaseSupabase + PostgreSQL
StylingTailwind CSS + shadcn/ui
AnalyticsUmami (self-hosted)
LanguagesES, EN, PT

Backend & AI

WorkflowsN8N (13 active)
AI ContentDeepSeek (~$3/mo)
AI ImagesGPT Image Mini (~$11/mo)
Video EngineRemotion v4 (custom)
VoiceGoogle Cloud TTS WaveNet
InfrastructureOracle Cloud VPS, Docker, Traefik
System Architecture
Row 1 — Content Pipeline
Trend Intelligence
Google Trends RSS
Google News RSS
DeepSeek Filter
relevance scoring
Blog Auto-Publish
3 languages (ES, EN, PT)
Content Generation
170 symbols, daily cycles
DeepSeek AI
Supabase Cloud
symbol_content, blog_posts
Next.js 14 (Vercel)
552 pages, ISR 5min
Row 2 — Video + Distribution
Video Pipeline
DeepSeek
script
GPT Image
art
Google TTS
voice
Leon API (Remotion)
MP4 render, 5 templates
CDN (nginx)
cdn.leongael.xyz
Distribution
N8N Scheduler — 3x daily
YouTube
TikTok
📺
FB Reels
📌
Pinterest
𝕏
X / Twitter
Row 3 — Lead Capture + Email
Lead Funnel
Newsletter Form
Dream Quiz
Chatwoot Chat
N8N Webhook
Welcome email + Telegram notify
Email & CRM
Listmonk
36 horoscope lists
Transactional emails
Mautic
Lead scoring
Drip campaigns
13 N8N Workflows
Workflow Trigger Actions
Content Generator 2x daily 170 symbols → DeepSeek → Supabase → Pin images → Telegram
Trend Intelligence Every 6h Google Trends/News RSS → DeepSeek filter → DB
Trend Content Generator Daily 10:00 UTC Best trend → 3-lang article → Blog + FB
Weekly Horoscope Monday 08:00 12 signs × 3 langs = 36 emails via Listmonk
Dream Video Pipeline Daily 3AM Symbol → Script → Images → TTS → Remotion render
Horoscope Video Webhook Sign data → Script → Images → TTS → Render
Video Auto-Publisher 3x daily Pick next video → Multi-platform publish
Video Publisher Webhook 5 branches: YT + TikTok + FB Reels + Pinterest + X
Newsletter Subscribe Webhook Email → Listmonk + Mautic + Welcome email + Telegram
Quiz Lead Webhook Quiz → Listmonk + Mautic (+20pts) + Quiz email
Chatwoot AI Webhook Message → Language detect → DeepSeek → Reply + Mautic
Social Publisher L-V 3x daily Pinterest pins + Facebook posts
Pinterest Token Refresh Every 25 days OAuth2 refresh → DB update → Telegram
Video Pipeline Detail
Component Technology Details
Script DeepSeek AI + Script Expert (hooks, pauses, CTAs, native lang)
Images GPT Image Mini Scribble art style, 1024x1536, shared across 3 langs
Voice Google Cloud TTS WaveNet 3 voices (es-US, en-US, pt-BR), SSML pauses
Render Remotion v4 (Leon API) 5 templates, dynamic duration, KenBurns + particles
Output MP4 9:16 vertical (shorts) + 16:9 horizontal (YouTube)
Engineering Challenges Solved

🎬 Video Duration Synchronization

Videos must match voiceover audio length exactly. Different languages produce different audio durations for the same script.

Solution: Remotion's calculateMetadata measures MP3 duration and distributes scene timing proportionally. Each language version gets perfect sync.

🌐 Multilingual TTS Optimization

TTS engines don't handle pauses naturally. Rapid-fire speech without breathing room sounds robotic.

Solution: SSML <break> tags with strategic timing (400-900ms) optimized by AI "Script Expert" per language. Scripts are written natively, not translated.

🖼️ Image Asset Reuse Across Languages

Generating unique images per language triples cost. 5 images × 3 languages = 15 generations per topic.

Solution: Generate once, store in tagged PostgreSQL image library, reuse across all 3 language versions. 5 images serve 3 videos = 67% cost reduction.

📌 JavaScript Precision Loss with Pinterest

Pinterest Board IDs exceed Number.MAX_SAFE_INTEGER (>1018). Dynamic computation silently produces wrong IDs.

Solution: Static string mapping instead of dynamic JS computation. Discovered this edge case after hours of debugging "wrong board" errors.
💡 These patterns are reusable for any multilingual content automation project — from video production to social media distribution at scale.
Results & Metrics
552
Pages served
(3 languages)
100%
Content automation
rate
5
Social platforms
automated
21
Docker containers
(1 VM)
Content Output

Daily Output

Content cycles2x daily (24 pins)
Trend articles1/day (3 languages)
Videos published3/day (multi-platform)
Horoscope emails36/week (Monday)

Automation Coverage

Content creation100% (DeepSeek AI)
Video production100% (end-to-end)
Social publishing95% (IG manual only)
Email marketing100% (drips + horoscopes)
Lead capture100% (3 entry points)
Chat support100% (Chatwoot AI)
Deliverables
Technology Tags
Next.js 14 Supabase Remotion DeepSeek N8N Docker Traefik Chatwoot Listmonk Mautic Google Cloud TTS GPT Image Pinterest API YouTube API TikTok API Facebook API PostgreSQL Redis Tailwind CSS TypeScript ISR Multilingual Video Automation Email Marketing Lead Scoring

Need an AI Content System That Runs Itself?

I build production-grade content automation systems — from AI video pipelines to multilingual email marketing. End-to-end delivery, zero middleware.

💬 Hire Me on Contra 📧 jaco@leongael.xyz
What I Build

Voice AI Agents

Inbound receptionistsAny language
Outbound sales agentsCold + warm
Appointment bookingReal-time CRM
Emergency routingLive transfer

Content Automation

AI content generationMultilingual
Blog & social publishingMulti-platform
Email drip campaignsFull funnel
Trend intelligenceAutomated

Video Production

AI script writingNative multilingual
AI image generationGPT Image
TTS voiceoverWaveNet voices
Remotion renderCustom templates

Infrastructure

N8N workflowsSelf-hosted
PostgreSQL + RedisProduction-grade
Monitoring & alerts24/7
DocumentationRunbooks + guides
Based in Honduras (UTC-6). Available for async collaboration across all timezones. Fluent in English, Spanish, and French.