Metadata-Version: 2.4
Name: wiki2video
Version: 0.0.1a1
Summary: Wiki2Video: turn Wikipedia articles into short documentary-style videos
Author-email: NP_123 <np123greatest@gmail.com>
License: MIT
Keywords: ai,video,llm,wikipedia,cli,generative-ai
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: backoff<3,>=2.2
Requires-Dist: dacite<2,>=1.9
Requires-Dist: fish-audio-sdk<2,>=1.1
Requires-Dist: gradio<7,>=6.0
Requires-Dist: Jinja2<4,>=3.1
Requires-Dist: moviepy<3,>=2.2
Requires-Dist: mwclient<1,>=0.11
Requires-Dist: mwparserfromhell<1,>=0.7
Requires-Dist: numpy<3,>=1.26
Requires-Dist: opencv-python<5,>=4.12
Requires-Dist: pandas<3,>=2.3
Requires-Dist: pillow<12,>=10
Requires-Dist: pydub<1,>=0.25
Requires-Dist: PyYAML<7,>=6.0
Requires-Dist: requests<3,>=2.31
Requires-Dist: rich<15,>=13
Requires-Dist: typer<1,>=0.9
Provides-Extra: openai
Requires-Dist: openai<2,>=1.0; extra == "openai"
Provides-Extra: google
Requires-Dist: google-genai<1,>=0.5; extra == "google"
Provides-Extra: svg
Requires-Dist: CairoSVG<3,>=2.8; extra == "svg"
Dynamic: license-file

# 📚➡️🎬 Wiki2Video
---
![Python](https://img.shields.io/pypi/pyversions/wiki2video)
![PyPI version](https://img.shields.io/pypi/v/wiki2video)
![License](https://img.shields.io/github/license/NPgreatest/wiki2video)


> **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:

```bash
wiki2video generate https://en.wikipedia.org/wiki/Rongorongo
```

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](README.md) | [简体中文](README_cn.md)

---

## 🎬 Example Output

| [Oak Island Mystery · Video Mode](https://www.youtube.com/shorts/QA5oeompLAU) | [Fermi Paradox · Image Mode](https://www.youtube.com/shorts/QU2pmhpgsU0) | [Voynich Manuscript · Landscape](https://www.youtube.com/watch?v=0eWaZLgr14M&t=153s) |
|-------------------------------------------------------------------------------|---------------------------------------------------------------------------|-------------------------------------------------------------------------------------|
| <img src="/example/video/example1.gif" width="260">                            | <img src="/example/video/example2.gif" width="260">                       | <img src="/example/video/example3.gif" width="260">                                  |

---

## 🛠️ Installation

> ⚠️ Wiki2Video is currently in **alpha** and published on **TestPyPI**.

```bash
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple wiki2video
```

### OpenAI Backend (Recommended)

Install Wiki2Video with OpenAI support:

```bash
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple wiki2video[openai]
```

---

## 🚀 Quick Start

Initialize configuration and set your OpenAI API key:

```bash
wiki2video init
```

Generate your first video:

```bash
wiki2video generate <wikipedia_url>
```


---

# License
<p>
  <img src="example/picture/W2V.png" width="80"/>
</p>

Copyright 2025 NPgreatest

Distributed under the terms of the MIT license.

