DEV Community

SandGrid
SandGrid

Posted on • Originally published at lichuanyang.top

Free AI Video Generator: How I Built a Zero-Cost Tool for Narrated Multi-Scene Videos

"The solution is not to suppress AI, but to make it a more equitable capability, so that everyone knows how to create more with AI. This is a very important vision for our company — to make world-class AI belong to everyone."

This is something Bruce Yang, the founder of Agnes AI, said in an interview.

Many Chinese AI companies today — DeepSeek, Zhipu, and others — are driving down the price of AI. To be fair, the cost of text and code processing has already been pushed remarkably low. But video is different. Making AI videos today has an absurdly high barrier — overseas services like Runway and Pika charge tens of dollars monthly, domestic platforms like Jimeng and Keling charge by the second once free quotas run out, and running open-source models locally requires a GPU costing over ten thousand RMB.

Objectively speaking, video generation is genuinely expensive right now. Making industrial-grade video generation available to everyone isn't realistic. But ordinary people should still have ways to experiment and create. Thanks to Agnes for opening up their video model and giving us this opportunity. This project is just a small contribution toward that goal. Agnes Video Generator (official website) — it's a free AI video generator. Not "free trial" or "free for 3 generations," but the whole thing: script writing, image synthesis, video rendering, voiceover, subtitles, all at zero cost. You just need a free API key from Agnes AI.

Agnes's video model isn't perfect yet, to be honest. But I want to use this project to grow alongside Agnes, and contribute in my own small way toward AI equity.

Multiple Ways to Use It

Give it a text prompt, get a video back. A few different modes:

Simple Video. A straightforward API wrapper — good for testing. Most API parameters are exposed as config options.

Creative Video. You write a story idea, like "dark version of The Frog Prince," and the AI handles everything: expand story → generate character references → split into scenes → write shot prompts → generate per-scene video → narration → subtitles → final output. Ten steps, all automatic. By pre-generating end frames, it ensures the best possible visual continuity between scenes.

Manuscript Video & Digital Anchor. Paste a long article or script — it auto-splits by speech duration and generates video per segment, or puts a digital anchor there to read it. Everything stitched with a unified TTS narration + subtitle track. Great for explainers and course content.

For detailed parameters and usage guides for each mode, check the official website.

Getting It Running

git clone https://github.com/lcy362/agnes-video-generator.git
cd agnes-video-generator
./start.sh
Enter fullscreen mode Exit fullscreen mode

That's it. start.sh creates a virtual environment, installs dependencies, and starts the server.

Once it's running, open http://localhost:8765, paste in your Agnes AI API key at the top, pick a mode, write your idea, and wait patiently for the results.

If you're using an AI coding assistant like Cursor or Claude, I've included a dedicated guide for AI Agents. Just tell your agent to read the Agents.md file in the project — it'll handle the whole setup on its own.

Demos

I made a few demos — check them out:

That's About It

Going back to Bruce Yang's words — "making world-class AI belong to everyone."

This project isn't some grand mission. It's just about keeping the door to AI video creation open. No subscription, no fancy GPU, no cost at all — just a free API key and a machine that can run Python.

Code on GitHub, official website at video.lichuanyang.top. Bug reports welcome.

Source: https://lichuanyang.top/en/posts/22470/

Top comments (0)