Files
WeChatHookBot/plugins/GrokVideo/config.toml

48 lines
1.4 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[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做图生视频。"