AM·
AI content automation pipeline

Selected project AI content automation pipeline

Video Generation pipeline

A Python pipeline that turns a news headline into a branded avatar video and prepares a YouTube upload.

PythonGroq SDKLlama 3.3PlaywrightHeyGenFFmpegfaster-whisperOpenCVPySceneDetectGoogle YouTube API
RoleDeveloper
PlatformsVideo pipeline
TypeAI content automation pipeline
Video generation pipeline interface
Video generation pipeline

The overview

As a two-person team, we built a Python pipeline that expands a news headline into a branded script, automates avatar video generation, processes the video and connects the workflow to YouTube upload steps.

How it was made

  1. 01

    Prepare the script

    I added language detection, branded script expansion and YouTube metadata generation.

  2. 02

    Generate the avatar video

    I automated HeyGen avatar selection, script entry, generation and download with Playwright.

  3. 03

    Finish and publish

    I connected video processing and YouTube upload steps in run_flow.py.

Key features

01

Detects English versus Roman Urdu using a word-based heuristic.

02

Expands headlines into branded anchor scripts through Groq and generates YouTube titles, descriptions and hashtags.

03

Automates HeyGen avatar selection, script entry, generation and download.

04

Includes transcription, karaoke-style subtitle, zoom, transition and ticker processing.

05

Connects generation, editing and YouTube upload in run_flow.py.

A closer look

Video generation pipeline interface
Video generation pipeline

01 / 02

Tools & stack

PythonGroq SDKLlama 3.3PlaywrightHeyGenFFmpegfaster-whisperOpenCVPySceneDetectGoogle YouTube API