Bytec AI released a repo called book‑video‑factory. It turns a text file into a short video with voice‑over, images and subtitles. The code pulls a chapter, creates a prompt for an image model, generates a background, runs a text‑to‑speech engine and stitches everything together. The result is a ready‑to‑publish clip that can be posted on social platforms.
The workflow is built on open‑source tools. It uses ffmpeg for video assembly, OpenAI Whisper for transcription, and a stable diffusion model for images. Each step runs in a Docker container, so the whole pipeline can be replicated on any cloud server. Because the containers are isolated, you can run several instances at once without conflicts.
Masterphub.io lists this repo as a ready‑made skill. Sellers can offer the workflow as a service, charging per video or per minute of content. Buyers get a plug‑and‑play package: they upload a PDF, set a language, and receive a video folder. No coding is required on their side.
One practical benefit is speed. A 5‑minute chapter becomes a 30‑second video in under five minutes of compute time. That allows publishers to turn an entire book into a series of bite‑size clips within a day. The clips keep the original message but fit the short‑form format that audiences prefer.
Another benefit is consistency. Because the same prompt template is used for every chapter, the visual style stays uniform. The voice model also uses the same voice profile, so the series feels like a single narrator rather than a patchwork of recordings.
Overall, the book‑video‑factory repo shows how open‑source AI can replace a manual workflow that used to require a video editor, a voice actor and a designer. The result is a repeatable pipeline that can be sold on Masterphub, giving creators a new revenue stream and publishers a fast way to repurpose content.
We turned this idea into a ready-to-use skill on Masterphub: "Book to short video generator".