Socket
Book a DemoInstallSign in
Socket

koishi-plugin-aivideo-bigmodel

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koishi-plugin-aivideo-bigmodel

智普AI视频生成插件 免费白嫖咪~ 根据一张图和预设词生成视频 很生草咪~

0.2.0
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created
Source

koishi-plugin-aivideo-bigmodel

npm

介绍

aivideo-bigmodel插件是一个基于 Koishi 框架的视频生成插件。利用智谱AI开发的 CogVideoX 模型,

用户只需输入文本或图片即可生成视频。该插件通过调用 CogVideoX 的视频生成接口,自动化地生成视频并发送给用户。

功能

  • 通过命令 生成视频 [prompt] 生成视频
  • 支持文本和图片输入
  • 自动轮询生成进度并在完成后发送视频
  • 支持多API Key负载均衡

安装

请确保你已经安装了 Koishi 框架,然后将插件代码放置到你的实例中。

使用方法

  • 启动 Koishi 机器人。
  • 在聊天中输入命令 生成视频 [prompt],例如 生成视频 开心开心一家人
  • 机器人会提示 请发送图片:
  • 用户发送图片。
  • 机器人会在 3~5 分钟内生成视频并发送给用户。

示例

用户: 生成视频 开心开心一家人
机器人:请发送图片:
用户:[图片消息]
机器人:[视频消息]

注意事项

  • 生成一个视频大约需要 5 分钟左右,一般情况下 3~4 分钟。
  • 请确保你的 API Key 有效并且具有足够的调用额度。

Key获取

前往 GLM开放平台 获取 API Key:

  • 使用手机号注册账号。
  • 生成多个 API Key。
  • 将生成的 API Key 填入配置文件中。

负载均衡

为了提高稳定性和效率,可以使用多个 API Key 实现负载均衡。只需在配置文件中添加多个 API Key 即可:

请替换内置的 API Key,因为这些 Key 可能已经被其他用户使用。

Keywords

ai

FAQs

Package last updated on 21 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.