介绍
- 本插件适配智谱清言的cogvideox视频生成模型API,具有文字生成视频和图文生成视频的功能。
- 使用cogvideox-flash模型免费
安装
-
手动安装
git clone https://github.com/Alpaca4610/nonebot_plugin_cogvideox.git下载完成后在bot项目的pyproject.toml文件手动添加插件:
plugin_dirs = ["xxxxxx","xxxxxx",......,"下载完成的插件路径/nonebot_plugin_cogvideox.git"] -
使用 pip
pip install nonebot-plugin-cogvideox.git
配置文件
在Bot根目录下的.env文件中追加如下内容:
zhipu_key = "" # (必填)智谱清言清影API KEY
video_model: str = "cogvideox-flash" # (可选)视频模型,cogvideox-flash免费
video_quality: str = "quality" # (可选)输出模式,"quality"为质量优先,"speed"为速度优先
video_size: str = "1920x1080" # (可选)视频分辨率,支持最高4K(如: "3840x2160")
video_fps : str = 30 # (可选)帧率,可选为30或60
效果
使用方法
- AI视频 文字提示词(图片)
Metadata
Release files for nonebot-plugin-cogvideox 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_plugin_cogvideox-0.1.4.tar.gz | 3.7 kB | Without provenance | Details for nonebot_plugin_cogvideox-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_cogvideox-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_cogvideox-0.1.4-py3-none-any.whl |
Total release size: 8.2 kB
Release files / nonebot_plugin_cogvideox-0.1.4.tar.gz
| Download URL | nonebot_plugin_cogvideox-0.1.4.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6dd40574a27b58acb6aa920995b2b659067b864b73efa47ef114f54b1c120f64
|
|
BLAKE2b-256 checksum How to use checksums |
6aa789017ab9dc8bf1f3cc899cd5d6a9c89608398ae54dac85f1d7ae70f2059f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.5 CPython/3.8.0 Windows/10
|
Release files / nonebot_plugin_cogvideox-0.1.4-py3-none-any.whl
| Download URL | nonebot_plugin_cogvideox-0.1.4-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2dbe05582a3c3052df20b4824023562d814b0f43a30a7c8dc6fef4cfc8923324
|
|
BLAKE2b-256 checksum How to use checksums |
6d3a649682d29bb35eda44740cb9964eed3ced9d379868dd609d25a23bf3d8a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.5 CPython/3.8.0 Windows/10
|
Security for nonebot-plugin-cogvideox 0.1.4
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.