ChatVideo
ChatArch 视频工作流工具包。
快速开始
pip install -e ".[dev]"
chatvideo --help
chatvideo --version
python -m pytest -q
python -m build
python -m pip install -e ".[docs]"
mkdocs build --strict
文档站:https://arch.gh.wzhecnu.cn/ChatVideo/
文档中的工作流蓝图
当前包先用文档沉淀 provider-neutral 的图片到视频工作流蓝图,避免把具体项目素材、内部路径、任务 ID、分享链接或密钥写进可复用说明。当前重点不是视频聊天,也不是只做已有视频剪辑,而是面向图生视频模型:给定有序关键图,尤其三张图的故事板,通过相邻首尾帧约束生成片段,再合成为一个视频。完整说明见 docs/workflow-blueprint.md。
这些工作流现在是文档蓝图,不是已实现 CLI 命令:
edit:已有视频的拼接、裁剪、转场和终版组装。generate text:文生视频任务提交、轮询、下载和安全摘要。generate image:按有序关键图生成视频,典型三图故事板会拆成相邻首尾帧片段。generate frames:首尾帧约束的单段生成,例如第 1 张到第 2 张、第 2 张到第 3 张。review/final:临时 review 与最终交付分离。
当前 CLI 只保留真实工具入口:chatvideo --help、chatvideo --version 和由真实 Click 注册面生成的 chatvideo --tree。等某个视频操作真的实现后,再把它加入 CLI。
CLI 规范
当前运行时只依赖 Click。新增可执行命令时,应先让真实 Click 注册面驱动 chatvideo --tree,再同步 README、MkDocs CLI 树和测试。需要 provider/profile 配置时再引入对应配置层,不保留未使用的运行时依赖。
目录结构
src/:包源码tests/code-tests/:代码测试和历史测试迁移tests/cli-tests/:真实 CLI 测试,doc-firsttests/mock-cli-tests/:mock/fake CLI 测试,doc-first
开发说明
扩展脚手架前,先阅读 DEVELOP.md 和 AGENTS.md。
Metadata
Release files for ChatVideo 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chatvideo-0.1.1.tar.gz | 15.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chatvideo-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.0 kB
Release files / chatvideo-0.1.1.tar.gz
| Download URL | chatvideo-0.1.1.tar.gz |
|---|---|
| Size | 15.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3aea3452b27ca2cb4c42bc0de679dc71f1b8f2f73ce238d3e007e51727aa67ca
|
|
BLAKE2b-256 checksum How to use checksums |
44591a5614f160699de10078277058d48cd5b723439124fd9dc4761358ef8df1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
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 Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.
Transparency logRelease files / chatvideo-0.1.1-py3-none-any.whl
| Download URL | chatvideo-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b3dea10b1025879b4f311bb19e0793080c9f18d9d485d4414306caaa5cd9fc1a
|
|
BLAKE2b-256 checksum How to use checksums |
56e1b02b47fb3ec676c5f43eac51dd93a6d6cbb39882b9c56f692e017d854aa9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
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 Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.
Transparency log