An AI Content Engine That Runs the Marketing Calendar
Intro
SocialGen turns a marketing calendar into something that runs itself. Grabodo built it as 53 dashboard screens over 141 API routes - image generation, a full video pipeline, autopilot scheduling, cross-network publishing and outreach, with market data feeding the content that goes out.
SocialGen is an AI content and outreach platform. It covers the whole distance from an idea to a published post with a generated image or video behind it, a schedule holding it, and a record of the leads it produced. Grabodo built it on Next.js and Supabase, with 141 API routes doing the work behind 53 screens.
The Background
Publishing consistently across several networks is a volume problem disguised as a creative one. The writing is rarely the bottleneck - the asset production, the resizing, the scheduling, the posting, the replying and the reporting are. Generic AI writing tools solve the smallest part of that and leave the rest as manual work.
The Challenge
Doing the rest properly meant building real production infrastructure rather than wrapping a text model. Images had to be generated, composited, background-removed and templated. Video had to be generated, cut, judged for quality and stored in a library. Scheduling had to survive unattended operation, including holiday calendars and evergreen rotation.
Outreach added another axis. Reaching people on Reddit, Instagram, X and YouTube means four sets of authentication, four sets of rules and a suppression list that stops the same person being contacted twice.
The Solution
The content pipeline runs as infrastructure. Image work spans generation, portrait compositing, background removal, batch runs, a segment editor and multi-reference prompting. Video runs an intake, generation, anatomy analysis, an automated judge, a library and logs, with YouTube cutting and reel stacking on top, backed by ffmpeg and sandboxed execution for the heavy jobs.
Autopilot ties it together: scheduled runs dispatch content, render video, publish stories and rotate evergreen material without a person present, with cron-driven jobs producing recurring formats from live market data. Outreach covers Reddit, Instagram and X with a lead finder, lead analytics and suppression handling, while a shared inbox suggests and posts comment replies. OAuth flows for Meta and YouTube connect the accounts it publishes to.
The Solution
- 01An image pipeline rather than an image button - generation, portrait compositing, background removal, batch runs, a segment editor and multi-reference prompting, with templated social formats on the end.
- 02A full video workflow: intake, generation, anatomy analysis, an automated quality judge, a searchable library and run logs, with ffmpeg and sandboxed execution handling the heavy jobs.
- 03YouTube cutting and automatic cutting, plus reel stacking, so long-form footage becomes short-form output without a manual edit pass.
- 04Autopilot that runs unattended - scheduled dispatch, video rendering, story publishing and evergreen rotation, with a holiday calendar so the feed does not post into the wrong moment.
- 05Cross-network outreach across Reddit, Instagram and X, with a lead finder, lead analytics and a suppression list that prevents the same person being approached twice.
- 06A shared inbox that lists comments, suggests replies and posts them, turning engagement into something a small team can keep up with.
- 07Cron-driven recurring formats generated from live market data, producing daily cards, commentary reels and listing carousels without a brief.
- 08OAuth connections for Meta and YouTube alongside per-platform authentication, with API key management and audit logging behind it.
The Results
- 01The pipeline covers the whole distance from idea to published asset, so the manual work is approving output rather than producing it.
- 02Publishing continues without a person present - autopilot dispatches, renders and rotates content on a schedule.
- 03Outreach and content stopped being separate exercises: the leads a post produces are tracked in the same platform that produced the post.
The Achievement
- 141 API routes behind 53 dashboard screens on Next.js and Supabase.
- A complete video pipeline with automated quality judging, built on ffmpeg and sandboxed execution.
- Publishing and outreach across Reddit, Instagram, X, YouTube and Meta from one platform.
- Unattended autopilot including evergreen rotation and holiday-aware scheduling.
- Recurring content formats generated automatically from live market data.