Name | nonebot-plugin-cogvideox JSON |
Version |
0.1.3
JSON |
| download |
home_page | None |
Summary | A nonebot plugin for cogvideox |
upload_time | 2024-08-04 14:38:11 |
maintainer | None |
docs_url | None |
author | Alpaca |
requires_python | <4.0,>=3.8 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<div align="center">
<a href="https://v2.nonebot.dev/store"><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
<br>
<p><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg" width="240" alt="NoneBotPluginText"></p>
</div>
<div align="center">
# nonebot-plugin-chatgpt-turbo
</div>
# 介绍
- 本插件适配智谱清言的cogvideox视频生成模型API,具有文字生成视频和图文生成视频的功能。
# 安装
* 手动安装
```
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
```
[API KEY获取地址](https://open.bigmodel.cn/usercenter/apikeys)
# 效果
![](demo1.jpg)
![](demo2.jpg)
# 使用方法
- AI视频 文字提示词(图片)
Raw data
{
"_id": null,
"home_page": null,
"name": "nonebot-plugin-cogvideox",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8",
"maintainer_email": null,
"keywords": null,
"author": "Alpaca",
"author_email": "alpaca@alpaca.kim",
"download_url": "https://files.pythonhosted.org/packages/05/c1/bd1fb3c901aa581c00674a062cba52079d5f2a54e1991c5e69760e404056/nonebot_plugin_cogvideox-0.1.3.tar.gz",
"platform": null,
"description": "<div align=\"center\">\n <a href=\"https://v2.nonebot.dev/store\"><img src=\"https://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png\" width=\"180\" height=\"180\" alt=\"NoneBotPluginLogo\"></a>\n <br>\n <p><img src=\"https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg\" width=\"240\" alt=\"NoneBotPluginText\"></p>\n</div>\n\n<div align=\"center\">\n\n# nonebot-plugin-chatgpt-turbo\n</div>\n\n# \u4ecb\u7ecd\n- \u672c\u63d2\u4ef6\u9002\u914d\u667a\u8c31\u6e05\u8a00\u7684cogvideox\u89c6\u9891\u751f\u6210\u6a21\u578bAPI\uff0c\u5177\u6709\u6587\u5b57\u751f\u6210\u89c6\u9891\u548c\u56fe\u6587\u751f\u6210\u89c6\u9891\u7684\u529f\u80fd\u3002\n# \u5b89\u88c5\n\n* \u624b\u52a8\u5b89\u88c5\n ```\n git clone https://github.com/Alpaca4610/nonebot_plugin_cogvideox.git\n ```\n\n \u4e0b\u8f7d\u5b8c\u6210\u540e\u5728bot\u9879\u76ee\u7684pyproject.toml\u6587\u4ef6\u624b\u52a8\u6dfb\u52a0\u63d2\u4ef6\uff1a\n\n ```\n plugin_dirs = [\"xxxxxx\",\"xxxxxx\",......,\"\u4e0b\u8f7d\u5b8c\u6210\u7684\u63d2\u4ef6\u8def\u5f84/nonebot_plugin_cogvideox.git\"]\n ```\n* \u4f7f\u7528 pip\n ```\n pip install nonebot-plugin-cogvideox.git\n ```\n\n# \u914d\u7f6e\u6587\u4ef6\n\n\u5728Bot\u6839\u76ee\u5f55\u4e0b\u7684.env\u6587\u4ef6\u4e2d\u8ffd\u52a0\u5982\u4e0b\u5185\u5bb9\uff1a\n\n```\nzhipu_key = \"\" # \uff08\u5fc5\u586b\uff09\u667a\u8c31\u6e05\u8a00\u6e05\u5f71API KEY\n```\n[API KEY\u83b7\u53d6\u5730\u5740](https://open.bigmodel.cn/usercenter/apikeys)\n# \u6548\u679c\n![](demo1.jpg)\n![](demo2.jpg)\n\n# \u4f7f\u7528\u65b9\u6cd5\n\n- AI\u89c6\u9891 \u6587\u5b57\u63d0\u793a\u8bcd(\u56fe\u7247)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A nonebot plugin for cogvideox",
"version": "0.1.3",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "06e401ab17114d4ec744fbc0d771d0b5045d24e41ccccd1fc687f24cdf88dd5e",
"md5": "cfa9e91250e34f86b7a8d0986d03434b",
"sha256": "339bcdeacf62144195f00f9cd4a58f1d348b53a9400da58769655eb930e6964f"
},
"downloads": -1,
"filename": "nonebot_plugin_cogvideox-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "cfa9e91250e34f86b7a8d0986d03434b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8",
"size": 3704,
"upload_time": "2024-08-04T14:38:10",
"upload_time_iso_8601": "2024-08-04T14:38:10.245306Z",
"url": "https://files.pythonhosted.org/packages/06/e4/01ab17114d4ec744fbc0d771d0b5045d24e41ccccd1fc687f24cdf88dd5e/nonebot_plugin_cogvideox-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "05c1bd1fb3c901aa581c00674a062cba52079d5f2a54e1991c5e69760e404056",
"md5": "7c1b7a483e5b7af2d135ab0dc98ee53b",
"sha256": "177f31fab1f2dd74989957c661df7bc13366d9452ab741a765789bc71d8d8275"
},
"downloads": -1,
"filename": "nonebot_plugin_cogvideox-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "7c1b7a483e5b7af2d135ab0dc98ee53b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8",
"size": 3312,
"upload_time": "2024-08-04T14:38:11",
"upload_time_iso_8601": "2024-08-04T14:38:11.642478Z",
"url": "https://files.pythonhosted.org/packages/05/c1/bd1fb3c901aa581c00674a062cba52079d5f2a54e1991c5e69760e404056/nonebot_plugin_cogvideox-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-04 14:38:11",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "nonebot-plugin-cogvideox"
}