NarratoAI/requirements.txt
linyq 3d9b4b6d93 refactor(app): 重构视频生成逻辑
- 更新导入路径:从 moviepy.editor 改为 moviepy
- 优化合并字幕、BGM、配音、视频的逻辑
- 移除硬编码路径,使用参数化配置
-简化字幕样式和音量配置
- 调整 generate_video 函数的参数结构
2025-05-07 13:17:53 +08:00

39 lines
814 B
Plaintext

requests~=2.31.0
moviepy==2.1.1
faster-whisper~=1.0.1
uvicorn~=0.27.1
fastapi~=0.115.4
tomli~=2.0.1
streamlit~=1.40.0
loguru~=0.7.2
aiohttp~=3.10.10
urllib3~=2.2.1
pydantic~=2.6.3
g4f~=0.3.0.4
dashscope~=1.15.0
google.generativeai>=0.8.3
python-multipart~=0.0.9
redis==5.0.3
opencv-python~=4.10.0.84
# for azure speech
# https://techcommunity.microsoft.com/t5/ai-azure-ai-services-blog/9-more-realistic-ai-voices-for-conversations-now-generally/ba-p/4099471
azure-cognitiveservices-speech~=1.37.0
git-changelog~=2.5.2
watchdog==5.0.2
pydub==0.25.1
psutil>=5.9.0
opencv-python~=4.10.0.84
scikit-learn~=1.5.2
google-generativeai~=0.8.3
pillow==10.3.0
python-dotenv~=1.0.1
openai~=1.53.0
tqdm>=4.66.6
tenacity>=9.0.0
tiktoken==0.8.0
yt-dlp==2024.11.18
pysrt==1.1.2
httpx==0.27.2
transformers==4.47.0
edge-tts==6.1.19