Skip to content

NPgreatest/Wiki2Video

Repository files navigation

📚➡️🎬 Wiki2Video


Python PyPI version License

From Wikipedia to TikTok/Shorts in One Command.

Wiki2Video is an AI-powered, fully automated pipeline that turns any Wikipedia article into a narrated, subtitled, cinematic video — ready for YouTube, Shorts, TikTok, or Bilibili.

No UI. No timelines. No manual editing.

Just one command:

wiki2video generate https://en.wikipedia.org/wiki/Fermi_paradox

Wiki2Video will automatically:

  • Fetch the article
  • Summarize and rewrite it into a script
  • Generate narration (TTS)
  • Generate scenes (text-to-video or images)
  • Build subtitles
  • Render the final mp4

English | 简体中文


🎬 Example Output

Oak Island Mystery · Video Mode Fermi Paradox · Image Mode Voynich Manuscript · Landscape

🛠️ Installation

The preferred way to install wiki2video is via pip

pip install wiki2video

OpenAI Backend (Recommended)

Install Wiki2Video with OpenAI support:

pip install wiki2video[openai]

🚀 Quick Start

Initialize configuration and set your OpenAI API key:

wiki2video init

Generate your first video:

wiki2video generate <wikipedia_url>

🧪 Try it Live (Google Colab)

Run Wiki2Video end-to-end in your browser — no local setup required.

Open In Colab

The only thing you need: an OpenAI API key.

This Colab notebook demonstrates:

  • Full wiki2video init, wiki2video generate pipeline
  • Script → TTS → Scene generation → Subtitles generation
  • Final MP4 rendering

🧩 Architecture Overview

Wiki2Video is designed as a modular, fully automated generation pipeline, where each stage produces explicit, inspectable artifacts.


License

MIT License © 2025 NP_123

About

Turn any Wikipedia article into a narrated, subtitled video — fully automated, CLI-first.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages