chore: sync current WechatHookBot workspace
This commit is contained in:
47
plugins/GrokVideo/config.toml
Normal file
47
plugins/GrokVideo/config.toml
Normal file
@@ -0,0 +1,47 @@
|
||||
[api]
|
||||
server_url = "https://freeapi.dgbmc.top"
|
||||
model_id = "grok-imagine-1.0-video"
|
||||
api_key = "sk-vtr56l4f1VIiTqiT8DDihq11U5Fs92SOS3FTgBKu5WIFjce8" # 填入你的 Grok API Key
|
||||
timeout = 360
|
||||
|
||||
[proxy]
|
||||
enabled = false
|
||||
type = "socks5"
|
||||
host = "38.55.107.103"
|
||||
port = 53054
|
||||
username = "" # 可选
|
||||
password = "" # 可选
|
||||
|
||||
[behavior]
|
||||
enabled = true
|
||||
enabled_groups = [] # 留空表示所有群可用
|
||||
disabled_groups = [] # 禁用的群列表
|
||||
|
||||
[points]
|
||||
enabled = true # 是否启用积分系统
|
||||
cost = 2 # 每次生成视频消耗的积分
|
||||
admins = ["wxid_rm8cr2qjf45n12"] # 管理员列表(免费使用)- 修复为实际的wxid
|
||||
|
||||
[database]
|
||||
# MySQL 数据库连接配置(与签到插件共用)
|
||||
host = "43.137.46.150"
|
||||
port = 3306
|
||||
user = "wechat_sign"
|
||||
password = "80012029Lz"
|
||||
database = "wechat_sign"
|
||||
charset = "utf8mb4"
|
||||
|
||||
[queue]
|
||||
max_concurrent = 1 # 最大并发处理数(建议设为1,避免API限流)
|
||||
max_queue_size = 10 # 最大队列长度
|
||||
|
||||
[video_generation]
|
||||
fixed_video_length = 6 # ??????????????? 6s
|
||||
fixed_resolution = "SD" # ?????
|
||||
command_preset = "normal" # ???????????
|
||||
|
||||
[llm_tool]
|
||||
enabled = true
|
||||
tool_name = "grok_video_generation"
|
||||
tool_description = "Grok视频生成工具。当用户明确要求生成视频/短视频/短片/MV/VLOG时调用;可仅传prompt做文生视频,也可额外传image_base64做图生视频。"
|
||||
|
||||
Reference in New Issue
Block a user