Metadata-Version: 2.4
Name: scenefab
Version: 2.2.0
Summary: SceneFab - AI 影视解说视频创作工具，一键完成智能拆条 · 解说生成 · 配音合成
Author-email: Agions <agions@qq.com>
License: MIT
Project-URL: Homepage, https://github.com/Agions/scene-fab
Project-URL: Documentation, https://agions.github.io/scene-fab/
Project-URL: Repository, https://github.com/Agions/scene-fab.git
Project-URL: Issues, https://github.com/Agions/scene-fab/issues
Project-URL: Changelog, https://github.com/Agions/scene-fab/releases
Keywords: video,AI,film-commentary,scene-detection,TTS,短视频,影视解说
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: X11 Applications :: Qt
Classifier: Environment :: MacOS X
Classifier: Environment :: Win32 (MS Windows)
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Multimedia :: Video
Classifier: Topic :: Multimedia :: Video :: Non-Linear Editor
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: PySide6>=6.9.0
Requires-Dist: Shiboken6>=6.9.0
Requires-Dist: opencv-python>=4.8.1
Requires-Dist: numpy>=1.26.0
Requires-Dist: pillow>=10.1.0
Requires-Dist: pydub>=0.25.0
Requires-Dist: soundfile>=0.12.0
Requires-Dist: edge-tts>=6.1.0
Requires-Dist: scenedetect>=0.6.0
Requires-Dist: requests>=2.31.0
Requires-Dist: httpx>=0.25.0
Requires-Dist: pydantic>=2.5.0
Requires-Dist: pydantic-settings>=2.0.0
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: pyyaml>=6.0.1
Requires-Dist: psutil>=5.9.6
Requires-Dist: cryptography>=41.0.0
Requires-Dist: keyring>=24.0.0
Requires-Dist: openai>=1.0.0
Requires-Dist: google-generativeai>=0.8.0
Requires-Dist: moviepy>=1.0.3
Requires-Dist: packaging>=21.0
Provides-Extra: ai-full
Requires-Dist: faster-whisper>=1.0.0; extra == "ai-full"
Requires-Dist: torch>=2.0.0; extra == "ai-full"
Requires-Dist: librosa>=0.10.0; extra == "ai-full"
Provides-Extra: translation
Requires-Dist: deepl>=1.18.0; extra == "translation"
Provides-Extra: api
Requires-Dist: fastapi>=0.109.0; extra == "api"
Requires-Dist: uvicorn>=0.27.0; extra == "api"
Provides-Extra: all
Requires-Dist: scenefab[ai-full,api,translation]; extra == "all"
Provides-Extra: dev
Requires-Dist: pytest>=7.4.0; extra == "dev"
Requires-Dist: pytest-cov>=4.1.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
Requires-Dist: pytest-timeout>=2.1.0; extra == "dev"
Requires-Dist: black>=23.11.0; extra == "dev"
Requires-Dist: mypy>=1.7.0; extra == "dev"
Requires-Dist: ruff>=0.1.0; extra == "dev"
Requires-Dist: types-requests>=2.31.0; extra == "dev"
Requires-Dist: types-PyYAML>=6.0.0; extra == "dev"
Requires-Dist: types-PySide6>=6.6.0; extra == "dev"
Dynamic: license-file

<div align="center">

<img src="assets/logo-horizontal.svg" alt="SceneFab" width="420"/>

<br/>

### AI 影视解说视频一站式创作工具

<br/>

[![Version](https://img.shields.io/badge/v2.1.1-06b6d4?style=flat-square&logo=git&logoColor=white)](https://github.com/Agions/scene-fab/releases)
[![License](https://img.shields.io/badge/License-MIT-8b5cf6?style=flat-square)](LICENSE)
[![Stars](https://img.shields.io/github/stars/Agions/scene-fab?style=flat-square&color=f59e0b)](https://github.com/Agions/scene-fab/stargazers)
[![CI](https://img.shields.io/github/actions/workflow/status/Agions/scene-fab/pr-check.yml?branch=feature/v21-arch&style=flat-square&color=22c55e&label=CI)](https://github.com/Agions/scene-fab/actions)
[![Docs](https://img.shields.io/github/actions/workflow/status/Agions/scene-fab/deploy-pages.yml?style=flat-square&color=3b82f6&label=Docs)](https://agions.github.io/scene-fab/)

![Python](https://img.shields.io/badge/Python-3.10+-3b82f6?style=flat-square&logo=python&logoColor=white)
![PySide6](https://img.shields.io/badge/PySide6-6.9+-3b82f6?style=flat-square&logo=qt&logoColor=white)
![FFmpeg](https://img.shields.io/badge/FFmpeg-6.x-3b82f6?style=flat-square&logo=ffmpeg&logoColor=white)
![Platform](https://img.shields.io/badge/平台-Win%20%7C%20macOS%20%7C%20Linux-3b82f6?style=flat-square)

</div>

---

## 核心特性

<table>
  <tr>
    <td align="center" width="33%">
      <b>AI 智能理解</b><br/>
      视频语义拆解 · 场景识别 · 人物关系
    </td>
    <td align="center" width="33%">
      <b>解说生成</b><br/>
      多风格文案 · 多角色配音 · 字幕同步
    </td>
    <td align="center" width="33%">
      <b>一键导出</b><br/>
      8 平台预设 · 批量导出 · 硬件加速
    </td>
  </tr>
</table>

---

## 快速开始

**1. 安装**

```bash
pip install scenefab
# 或前往 Releases 下载安装包
```

**2. 配置**

```bash
export DEEPSEEK_API_KEY="sk-..."
# 可选：QWEN_API_KEY（视觉增强）
```

**3. 运行**

```bash
scenefab commentary create-movie ./movie.mp4 --style 纪录片 --output ./output/
scenefab batch /path/to/series/ --preset short_drama_suspense --parallel 2
scenefab export master.mp4 --platforms douyin,bilibili,xiaohongshu
```

---

## 架构

```
UI 层 (PySide6)  →  核心引擎 (DAG 并行 · 批量处理 · 安全审计)
       ↓                    ↓
业务服务层 (AI · 视频 · 导出)  →  数据层 (Models · Utils · Plugins)
```

---

## 文档

[快速开始](https://agions.github.io/scene-fab/guide/quickstart) · [AI 配置](https://agions.github.io/scene-fab/guide/ai-configuration) · [架构设计](https://agions.github.io/scene-fab/architecture) · [常见问题](https://agions.github.io/scene-fab/faq)

---

## 技术栈

![DeepSeek](https://img.shields.io/badge/DeepSeek-V4_Pro-06b6d4?style=flat-square)
![Qwen](https://img.shields.io/badge/Qwen-3.7-06b6d4?style=flat-square)
![Edge-TTS](https://img.shields.io/badge/Edge--TTS-06b6d4?style=flat-square)
![F5-TTS](https://img.shields.io/badge/F5--TTS-06b6d4?style=flat-square)
![FFmpeg](https://img.shields.io/badge/FFmpeg-6.x-06b6d4?style=flat-square)
![SQLite](https://img.shields.io/badge/SQLite-3-06b6d4?style=flat-square)

---

## 许可证

[MIT License](LICENSE) © 2025-2026 [Agions](https://github.com/Agions)
