whatisgithub

What is ai-video-agent?

xuanyuanzhifeng/ai-video-agent — explained in plain English

Analysis updated 2026-05-18

77TypeScriptAudience · vibe coderComplexity · 4/5Setup · hard

In one sentence

A local web app that turns a text brief into a narrated video with slides or animated HTML scenes.

Mindmap

mindmap
  root((AI Video Agent))
    What it does
      Text to video
      Script and narration
      Subtitle syncing
    Tech stack
      Next.js
      Node.js
      MySQL
    Use cases
      Slideshow video
      Animated HTML scenes
      Resume long jobs
    Audience
      Vibe coders
      Content creators
    Modes
      Image mode
      HTML mode

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

Turn a short topic or brief into a scripted, narrated slideshow-style video automatically.

USE CASE 2

Generate animated HTML scenes instead of static slides for technical demos or data visualizations.

USE CASE 3

Regenerate a single section of a video without rebuilding the whole thing, resuming interrupted jobs.

What is it built with?

Next.jsNode.jsMySQLDocker

How does it compare?

xuanyuanzhifeng/ai-video-agentdenissergeevitch/pole-chudes-2adrienckr/notslop
Stars777778
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyhardeasyeasy
Complexity4/52/52/5
Audiencevibe coderdeveloperwriter

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

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires Node.js 22+, a MySQL database, and separate API keys for text, TTS, and image generation.

Described as open source in the source material, but no specific license text is stated.

So what is it?

AI Video Agent is a web application that turns a short text description into a short video. You type a topic or a brief, and the tool generates a script, creates visual slides, adds spoken narration, syncs subtitles, and lets you export the result as an MP4 file. It is built with Next.js and runs locally on your machine. The tool supports two production modes. In image mode, it generates a series of still images for each section of the script, pairs each one with text-to-speech audio, and assembles them into a slideshow-style video. In HTML mode, it generates animated web pages using HTML, CSS, and JavaScript for each section instead of static images. HTML mode is better suited for technical demonstrations and data visualizations where motion adds clarity. Three visual styles are available for HTML mode: a dark tech look with blue highlights, a terminal and matrix-style aesthetic with green text, and a warm soft palette for personal or storytelling content. You can regenerate individual sections without remaking the entire video, and the tool saves progress so a long job can resume if interrupted. To run the project you need Node.js 22 or newer, a MySQL database, and API keys for an OpenAI-compatible text model, a text-to-speech service, and an image generation service. Configuration is done through a single environment file. A Docker Compose file is included so you can start a local MySQL instance without installing it manually. The README describes the project as experimental and notes it was built with assistance from an AI model called MiniMax-M3. Known bugs may exist. The code is open source.

Copy-paste prompts

Prompt 1
Help me set up ai-video-agent locally with Node.js 22, MySQL, and the required API keys.
Prompt 2
Use ai-video-agent's HTML mode to turn my product explanation into an animated demo video.
Prompt 3
Explain the difference between image mode and HTML mode in ai-video-agent and when to use each.
Prompt 4
Walk me through configuring the environment file for ai-video-agent's text, TTS, and image API keys.

Frequently asked questions

What is ai-video-agent?

A local web app that turns a text brief into a narrated video with slides or animated HTML scenes.

What language is ai-video-agent written in?

Mainly TypeScript. The stack also includes Next.js, Node.js, MySQL.

What license does ai-video-agent use?

Described as open source in the source material, but no specific license text is stated.

How hard is ai-video-agent to set up?

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

Who is ai-video-agent for?

Mainly vibe coder.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.