myccarl/ai-shortVideo-pipeline
End-to-end AI short-video production pipeline. FastAPI orchestration + Spring Boot gateway with multi-model failover, circuit breaker, metering, and full-stack observability. AI quality gating: prompt anchoring, CLIP consistency, AV sync auto-rescue.
What it solves
This project provides an automated, end-to-end pipeline for producing short-form video content. It handles the entire lifecycle from finding trending topics and writing scripts to generating visuals, audio, and final post-production, making it easier to create content like news commentary, knowledge explainers, and storytelling clips.
How it works
The system uses a seven-layer architecture where each step—from topic discovery to distribution—is decoupled and replaceable. A Java-based gateway manages traffic, authentication, and model failover, while a Python-based FastAPI backend orchestrates the actual video generation. It incorporates quality control measures, such as using CLIP to ensure visuals match the script and automated strategies to fix audio-video synchronization issues.
Who it’s for
It is designed for developers and content creators who want to build or run an automated video production system. It is particularly useful for those needing a production-ready setup that includes observability, usage metering, and robust error handling for AI model failures.
Highlights
- Seven-layer modular pipeline architecture for independent component management.
- Multi-model failover and circuit breakers to automatically rotate between AI providers if one fails.
- Built-in consistency governance, including prompt anchoring and image-to-text consistency checks.
- Full-stack observability with cross-language trace IDs and Langfuse integration.
- Production-ready features like SSE progress streaming, usage metering, and single-segment regeneration.
Related
- Project
- Project
- Project
- Project
- Project