whatisgithub

What is ai-shortvideo-pipeline?

myccarl/ai-shortvideo-pipeline — explained in plain English

Analysis updated 2026-05-18

52PythonAudience · developerComplexity · 5/5LicenseSetup · hard

In one sentence

An automated pipeline that turns a trending topic into a publish-ready short video using multiple AI models.

Mindmap

mindmap
  root((myAiVideos))
    What it does
      Finds trending topics
      Generates script and visuals
      Assembles final video
    Tech stack
      Python
      FastAPI
      Spring Boot
      Vue 3
    Use cases
      Automate short video creation
      Generate narration and visuals
      Monitor pipeline progress live
    Audience
      Content creators
      Developers building media pipelines

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Automatically produce a short-form video from a trending topic to a finished file

USE CASE 2

Generate matching images, narration, and video clips from a written script

USE CASE 3

Reject generated images that do not match their text prompt using a quality check

USE CASE 4

Monitor a running video pipeline in real time through a web dashboard

What is it built with?

PythonFastAPISpring BootVue 3Docker Compose

How does it compare?

myccarl/ai-shortvideo-pipelineamaravijayalakshmi216-collab/crop-recommendation-systembiansy000/mda
Stars525252
LanguagePythonPythonPython
Setup difficultyhardmoderatehard
Complexity5/52/55/5
Audiencedeveloperresearcherresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1day+

Requires API keys for multiple paid AI services plus a Docker Compose deployment.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

myAiVideos is an open-source project that automates the production of short-form video content in Chinese, from topic discovery to a publish-ready video. It works through seven stages: picking and ranking a trending topic, writing a script and visual prompts, generating images and video clips, producing audio narration, syncing everything in post-production, packaging for distribution, and scoring quality for future improvement. The backbone is a FastAPI service that orchestrates all seven stages, with an ARQ-based task queue for background work. A separate Java gateway built on Spring Boot handles authentication, routing between AI providers, circuit breaking via Resilience4j, and token and cost metering. If one AI provider fails, the gateway automatically rotates to the next one in the list. The project connects several AI models: DeepSeek and Zhipu GLM for text generation, Kling for turning prompts into images and video clips, Volcengine or MiniMax for speech synthesis, and faster-whisper for transcription. A CLIP model is used mid-pipeline to check whether generated images actually match their text prompts, and frames that fail this check are rejected before the video is assembled. Audio-video sync problems are handled by a four-tier rescue strategy that can adjust audio tempo, pad video segments, or rewrite narration rather than failing the job outright. A trace ID follows each request across the Java and Python layers, with Langfuse providing a full call-tree view for debugging. The stack is deployed with Docker Compose and includes a Vue 3 frontend for monitoring pipeline progress in real time via server-sent events. Credentials for each AI service are set in a .env file before starting. The project is released under the MIT license.

Copy-paste prompts

Prompt 1
Help me set up the .env credentials needed to run myAiVideos with DeepSeek and Kling
Prompt 2
Explain how the seven stage pipeline turns a topic into a finished video
Prompt 3
Show me how the CLIP based quality check rejects mismatched generated images
Prompt 4
Walk me through deploying myAiVideos with Docker Compose

Frequently asked questions

What is ai-shortvideo-pipeline?

An automated pipeline that turns a trending topic into a publish-ready short video using multiple AI models.

What language is ai-shortvideo-pipeline written in?

Mainly Python. The stack also includes Python, FastAPI, Spring Boot.

What license does ai-shortvideo-pipeline use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is ai-shortvideo-pipeline to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is ai-shortvideo-pipeline for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.