MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接
    1. Home
    2. cssxsh
    3. Posts
    • Profile
    • Following 0
    • Followers 129
    • Topics 61
    • Posts 2101
    • Best 158
    • Controversial 0
    • Groups 2

    Posts made by cssxsh

    • RE: OpenAI ChatBot 插件,已添加预设功能(为啥你们都想整猫娘)

      @lunailoli

      https://github.com/cssxsh/mirai-openai-plugin/releases/tag/v1.2.3

      已修复

      posted in 插件发布
      cssxsh
      cssxsh
    • RE: Mirai登录所需的设备信息。

      答案是些这网站的人理解错信息 我记得这一项配置的英语是 display

      这个生成器其实很旧了,是跟着古早mirai版本一起发布的
      有一些项目没有添加校验检查

      如果你想要生成成设备信息,可以参考这两个
      https://github.com/cssxsh/mirai-device-generator
      https://github.com/MrXiaoM/Aoki

      posted in 使用交流
      cssxsh
      cssxsh
    • 基于 Stable Diffusion web UI 的 图片生成插件

      Stable Diffusion Helper

      基于 Stable Diffusion web UI 的 图片生成插件

      maven-central
      MiraiForum

      使用前应该查阅的相关文档或项目

      • User Manual
      • Permission Command
      • Stable Diffusion web UI Wiki

      本插件对接的是 Stable Diffusion web UI 的 REST API, 请在启动配置中开启选项,详情请自行查询 Stable Diffusion web UI Wiki

      使用

      t2i

      以文生图
      权限ID: xyz.cssxsh.mirai.plugin.stable-diffusion-helper:txt2img
      例子:

      t2i 
      steps=50
      width=360
      height=540
      #德克萨斯
      night, rain, wet
      
      t2i 123456
      (8k, RAW photo, best quality, masterpiece:1.2), (realistic, photo-realistic:1.37),omertosa,1girl,(Kpop idol), 
      (aegyo sal:1),cute,cityscape, night, rain, wet, professional lighting, photon mapping, radiosity, 
      physically-based rendering, <lora:arknightsTexasThe_v10:1>, <lora:koreanDollLikeness_v10:0.5>,Black pantyhose
      
      • 设置种子 t2i $seed
      • 设置参数 key=value
      • 使用Styles #xxx
      • 第二行开始才会计入 prompt, 所以要两行以上才会触发指令

      支持的参数

      • height Height 360
      • width Width 540
      • sampler_name Sampling method Euler a
      • steps Sampling steps 32
      • batch_size Batch size 1
      • n_iter Batch count 1
      • cfg_scale CFG Scale 数字
      • restore_faces Restore faces false/true
      • tiling Tiling false/true
      • enable_hr Hires. fix false/true
      • hr_second_pass_steps Hires Steps 0
      • denoising_strength Denoising strength 0.7
      • hr_upscaler Upscaler Latent
      • hr_scale Upscale by 2.0

      styles

      查看已经载入的 Styles
      权限ID: xyz.cssxsh.mirai.plugin.stable-diffusion-helper:styles
      例子:

      styles 
      
      风格 
      

      Styles 是 Stable Diffusion web UI 自带的功能,用于快捷的填充 prompt 和 negative_prompt

      重载SD

      重载client.yml
      权限ID: xyz.cssxsh.mirai.plugin.stable-diffusion-helper:reload
      例子:

      重载SD
      

      配置

      client.yml 基本配置

      • base_url 基本网址
      • dns_over_https DNS
      • timeout API超时时间

      安装

      MCL 指令安装

      请确认 mcl.jar 的版本是 2.1.0+
      ./mcl --update-package xyz.cssxsh:stable-diffusion-helper --channel maven-stable --type plugins

      手动安装

      1. 从 Releases 或者 Maven 下载 mirai2.jar
      2. 将其放入 plugins 文件夹中

      爱发电

      posted in 插件发布
      cssxsh
      cssxsh
    • RE: OpenAI ChatBot 插件,已添加预设功能(为啥你们都想整猫娘)

      @ietda
      看readme

      posted in 插件发布
      cssxsh
      cssxsh
    • RE: OpenAI ChatBot 插件,已添加预设功能(为啥你们都想整猫娘)

      @lunailoli

      下个版本修复

      posted in 插件发布
      cssxsh
      cssxsh
    • RE: OpenAI ChatBot 插件,已添加预设功能(为啥你们都想整猫娘)

      1.2.2 已更新

      posted in 插件发布
      cssxsh
      cssxsh
    • RE: Debian服务器bot自动下线的问题

      感觉像是网络波动

      posted in BUG反馈
      cssxsh
      cssxsh
    • RE: 来点赞助或者插件定制(接单)

      顶

      posted in 摸鱼区
      cssxsh
      cssxsh
    • RE: OpenAI ChatBot 插件,已添加预设功能(为啥你们都想整猫娘)

      @Night1918

      我大概知道怎么回事了
      你打开 openai.yml 看一下 proxy 配置项
      看看是不是 有内容,如果有改成 '' 也就是置空

      我之前好像搞了一个默认的代理配置 (省的老是有人问代理的格式)

      posted in 插件发布
      cssxsh
      cssxsh
    • RE: 无法正常获取群员最后发言时间

      你可以通过时间戳拿到日期时间

      OffsetDateTime time = OffsetDateTime.ofInstant(Instant.ofEpochSecond(1677972575), ZoneId.systemDefault());
      
      posted in BUG反馈
      cssxsh
      cssxsh
    • RE: 无法正常获取群员最后发言时间

      timestamp

      那是时间戳

      posted in BUG反馈
      cssxsh
      cssxsh
    • RE: 登录状态没有保存,每次登录都要验证码

      @ma-1ming
      你只是指 mirai-console 插件项目对吧

      登录状态无法保存 这个说法偏颇
      因为你的登录状态能维持多久得看腾讯的脸色

      posted in 技术交流板块
      cssxsh
      cssxsh
    • RE: OpenAI ChatBot 插件,已添加预设功能(为啥你们都想整猫娘)

      @Night1918

      你这个返回是正常的
      至于为什么 Connection refused 就不知道了
      也许只是单纯的网络波动

      posted in 插件发布
      cssxsh
      cssxsh
    • RE: OpenAI ChatBot 插件,已添加预设功能(为啥你们都想整猫娘)

      @Night1918 在 Mirai Console OpenAI ChatBot 插件 中说:

      Connection refused

      这和 Connection reset 不一样

      请尝试使用 curl 或者其他工具检测对 https://api.openai.com/ 的连通性

      posted in 插件发布
      cssxsh
      cssxsh
    • RE: OpenAI ChatBot 插件,已添加预设功能(为啥你们都想整猫娘)

      @Night1918

      ?日志呢

      posted in 插件发布
      cssxsh
      cssxsh
    • RE: 升级 mirai 至 2.14.0, 使用新的短信验证方法解决设备验证

      @Ccl4
      f8caf120-e182-4bdd-9785-6d3699ed6e9b-image.png

      posted in 使用交流
      cssxsh
      cssxsh
    • RE: 升级 mirai 至 2.14.0, 使用新的短信验证方法解决设备验证

      @Ccl4
      3b3542e4-5c6e-4cb8-b68b-849c950fa014-image.png

      posted in 使用交流
      cssxsh
      cssxsh
    • RE: 升级 mirai 至 2.14.0, 使用新的短信验证方法解决设备验证

      @Ccl4

      mcl-2.1.2-all.jar 应该放在和脚本文件一个目录

      posted in 使用交流
      cssxsh
      cssxsh
    • RE: 使用TxCaptchaHelper获取验证码时发送请求错误怎么解决啊

      TxCaptchaHelper 已不在维护,建议使用 SakuraCaptchaHelper

      posted in BUG反馈
      cssxsh
      cssxsh
    • RE: 升级 mirai 至 2.14.0, 使用新的短信验证方法解决设备验证

      @Ccl4
      字面意思是找不到 mcl-2.1.2-all.jar

      posted in 使用交流
      cssxsh
      cssxsh
    • 1
    • 2
    • 19
    • 20
    • 21
    • 22
    • 23
    • 105
    • 106
    • 21 / 106