mirror of
https://github.com/linyqh/NarratoAI.git
synced 2026-07-17 19:48:16 +00:00
背景音乐来源新增 "AI 生成配乐(Sonilo)":将合成完成的视频(未加 BGM) 上传到 Sonilo API,根据画面内容与剪辑节奏生成配乐,音频文件交还给现有 合成流程混音,解说配音音量策略保持不变。 - 独立模块 app/services/sonilo.py,仅在配置 sonilo_api_key 后可用 - 上传前 ffprobe 本地校验时长(接口上限 6 分钟),避免白传计费 - 任何失败只记录日志并回退到随机背景音乐,绝不中断成片任务 - WebUI 选项处提示:视频将上传至 Sonilo API,生成的音乐已获授权、 可商用(以条款为准) - 现有 resource/upload/none 的 BGM 逻辑不做任何改动 Closes #269
61 lines
1.3 KiB
Plaintext
61 lines
1.3 KiB
Plaintext
.DS_Store
|
|
/config.toml
|
|
/storage/
|
|
.venv/
|
|
venv/
|
|
/.idea/
|
|
/app/services/__pycache__
|
|
/app/__pycache__/
|
|
/app/config/__pycache__/
|
|
/app/models/__pycache__/
|
|
/app/utils/__pycache__/
|
|
/*/__pycache__/*
|
|
.vscode
|
|
/**/.streamlit
|
|
__pycache__
|
|
logs/
|
|
|
|
node_modules
|
|
# VuePress 默认临时文件目录
|
|
/sites/docs/.vuepress/.temp
|
|
# VuePress 默认缓存目录
|
|
/sites/docs/.vuepress/.cache
|
|
# VuePress 默认构建生成的静态文件目录
|
|
/sites/docs/.vuepress/dist
|
|
# 模型目录
|
|
/models/
|
|
./models/*
|
|
resource/scripts/*.json
|
|
resource/videos/*.mp4
|
|
resource/songs/*.mp3
|
|
resource/songs/*.flac
|
|
resource/fonts/*.ttc
|
|
resource/fonts/*.ttf
|
|
resource/fonts/*.otf
|
|
resource/srt/*.srt
|
|
app/models/faster-whisper-large-v2/*
|
|
app/models/faster-whisper-large-v3/*
|
|
app/models/bert/*
|
|
|
|
bug清单.md
|
|
task.md
|
|
.claude/*
|
|
.serena/*
|
|
.worktrees/
|
|
|
|
# OpenSpec: 忽略活动的变更提案,但保留归档和规范
|
|
openspec/*
|
|
AGENTS.md
|
|
CLAUDE.md
|
|
tests/*
|
|
!tests/test_documentary_frame_analysis_service.py
|
|
!tests/test_video_processor_documentary_unittest.py
|
|
!tests/test_script_service_documentary_unittest.py
|
|
!tests/test_generate_narration_script_documentary_unittest.py
|
|
!tests/test_generate_script_docu_unittest.py
|
|
!tests/test_streamlit_widget_session_state.py
|
|
!tests/test_sonilo_bgm_unittest.py
|
|
|
|
docs/reddit-community
|
|
docs/wechat-0.8
|