Fact-checked faceless short videos (YouTube Shorts, TikTok, Reels) from a list of verified facts: AI script with anti-hallucination guards, voice fallback chain, karaoke subtitles and FFmpeg render.
pip install factreel==0.1.1 Copy PIP instructions
Most "AI shorts generators" let a language model make things up. FactReel doesn't. You write the facts (with sources) once; the AI only turns them into a punchy script, and every script goes through guards that reject invented numbers, repeated ideas, unlabelled rumours and anything a second fact-checking pass can't find in your facts. Then it narrates it, draws the images, burns karaoke subtitles and renders a vertical MP4 ready to upload.
It grew out of a real channel that publishes a Short every day unattended, so it is built to never stop on a bad day: if the voice service, the image API or the script AI is down, the next option in the chain takes over.
You need Python 3.10+ and FFmpeg on your PATH.
pip install factreel factreel init my-channel --lang en # or --lang es cd my-channel factreel doctor # checks FFmpeg, keys and every voice factreel make # -> output/20261020_180000_venus_day.mp4 (+ .json/.txt metadata) That's it: with no keys at all you get a video with the free Edge voice, the facts read as they are and offline backgrounds. Add free keys to .env to unlock the AI script and AI images:
verified facts + sources] --> T[topic rotation
queue.txt / least used] T --> S[AI script] S --> G{guards
rumours · fact check} G -- rejected --> S G -- gives up --> FB[facts-only script] G -- ok --> V[voice chain] FB --> V V --> SUB[karaoke subtitles] V --> I[image chain] SUB --> R[FFmpeg render + verify] I --> R R --> O[output/*.mp4 + metadata] --> U[YouTube upload] Your facts { "topics": [ { "id": "venus_day", "angle": "a day on Venus is longer than its year", "facts": [ "Venus takes about 243 Earth days to spin once on its axis.", "Venus takes about 225 Earth days to orbit the Sun." ], "sources": ["https://science.nasa.gov/venus/venus-facts/"], "hashtags": ["#venus"], "weight": 2 } ] } Prefix unconfirmed news with RUMOR: and the script will be forced to say so. Put topic ids in queue.txt to choose what goes out next; otherwise the least used topic is picked (weight > 1 = more often).
FactReel declares AI-generated media when uploading, never invents facts on its own, and labels rumours. Please keep it that way: cite your sources, respect trademarks and music licences, and don't use it to mass-produce misleading content. Platforms penalise low-effort spam; good facts make good videos.
Contributions are very welcome, especially new languages, voice/image providers and platform uploaders. See CONTRIBUTING.md and the roadmap for good first issues.
All 2 files in this release have provenance metadata.
edge-tts faceless fact-checking ffmpeg llm reels spanish subtitles text-to-speech tiktok video-automation youtube-shorts
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
All 2 files in this release have been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.




