Skip to main content

A nonebot plugin for cogvideox

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-chatgpt-turbo

介绍

  • 本插件适配智谱清言的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

API KEY获取地址

效果

使用方法

  • AI视频 文字提示词(图片)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_cogvideox-0.1.4.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_cogvideox-0.1.4-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_cogvideox-0.1.4.tar.gz.

File metadata

  • Download URL: nonebot_plugin_cogvideox-0.1.4.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.8.0 Windows/10

File hashes

Hashes for nonebot_plugin_cogvideox-0.1.4.tar.gz
Algorithm Hash digest
SHA256 6dd40574a27b58acb6aa920995b2b659067b864b73efa47ef114f54b1c120f64
MD5 d859e00f171a8ce81e704c18d40f5127
BLAKE2b-256 6aa789017ab9dc8bf1f3cc899cd5d6a9c89608398ae54dac85f1d7ae70f2059f

See more details on using hashes here.

File details

Details for the file nonebot_plugin_cogvideox-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_cogvideox-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2dbe05582a3c3052df20b4824023562d814b0f43a30a7c8dc6fef4cfc8923324
MD5 6c383e294a8433dfb4c65e5db2c4b17d
BLAKE2b-256 6d3a649682d29bb35eda44740cb9964eed3ced9d379868dd609d25a23bf3d8a7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page