← 开源

David Attenborough narrates your life

Python
增长势头
+024 小时新增 Star0.0%
4.43k
Star
531
Fork
+-1
本周
5
贡献者
创建于 2023-11-14 · 更新于 2026-12-03 · 今日第 8802 名
主要开发者
cbh123mattmgaborcselle
README

David Attenborough narrates your life.

https://twitter.com/charliebholtz/status/1724815159590293764

Want to make your own AI app?

Check out Replicate. We make it easy to run machine learning models with an API.

Setup

Clone this repo, and setup and activate a virtualenv:

python3 -m pip install virtualenv
python3 -m virtualenv venv
source venv/bin/activate

Then, install the dependencies: pip install -r requirements.txt

Make a Replicate, OpenAI, and ElevenLabs account and set your tokens:

export OPENAI_API_KEY=<token>
export ELEVENLABS_API_KEY=<eleven-token>

Make a new voice in Eleven and get the voice id of that voice using their get voices API, or by clicking the flask icon next to the voice in the VoiceLab tab.

export ELEVENLABS_VOICE_ID=<voice-id>

Run it!

In on terminal, run the webcam capture:

python capture.py

In another terminal, run the narrator:

python narrator.py
排名相邻

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载