MiraiForum

    • 注册
    • 登录
    • 搜索
    • 热门
    • 最新
    • 未解决
    • 标签
    • 群组
    • 友情链接

    NovelAi Helper AI图片生成, 可对接自建/colab在线运行的 Naifu api

    插件发布
    novelai ai 图片生成
    54
    232
    45666
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • cssxsh
      cssxsh @2196328649 最后由 编辑

      @2196328649
      不知道,也许是你本地有什么奇怪的问题,导致必定超时

      1 条回复 最后回复 回复 引用 0
      • kouki
        kouki 最后由 编辑

        此回复已被删除!
        1 条回复 最后回复 回复 引用 0
        • kouki
          kouki 最后由 编辑

          @cssxsh

          虽然觉得麻烦不好,但.....
          2022-10-17 13:43:08 E/novelai-helper: Exception in coroutine Plugin xyz.cssxsh.mirai.plugin.novelai-helper of novelai-helper
          javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
          at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source)
          at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
          at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
          at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
          at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(Unknown Source)
          at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(Unknown Source)
          at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(Unknown Source)
          at java.base/sun.security.ssl.SSLHandshake.consume(Unknown Source)
          at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
          at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
          at java.base/sun.security.ssl.TransportContext.dispatch(Unknown Source)
          at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
          at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
          at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
          at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
          at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
          at novelai-helper-1.0.9.mirai2 .jar[private]//okhttp3.internal.connection.RealConnection.connectTls(RealConnection.kt:379)
          at novelai-helper-1.0.9.mirai2 .jar[private]//okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.kt:337)
          at novelai-helper-1.0.9.mirai2 .jar[private]//okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:209)
          at novelai-helper-1.0.9.mirai2 .jar[private]//okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
          at novelai-helper-1.0.9.mirai2 .jar[private]//okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
          at novelai-helper-1.0.9.mirai2 .jar[private]//okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
          at novelai-helper-1.0.9.mirai2 .jar[private]//okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
          at novelai-helper-1.0.9.mirai2 .jar[private]//okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
          at novelai-helper-1.0.9.mirai2 .jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
          at novelai-helper-1.0.9.mirai2 .jar[private]//okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
          at novelai-helper-1.0.9.mirai2 .jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
          at novelai-helper-1.0.9.mirai2 .jar[private]//okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
          at novelai-helper-1.0.9.mirai2 .jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
          at novelai-helper-1.0.9.mirai2 .jar[private]//okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
          at novelai-helper-1.0.9.mirai2 .jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
          at novelai-helper-1.0.9.mirai2 .jar[private]//okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
          at novelai-helper-1.0.9.mirai2 .jar[private]//okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.base/java.lang.Thread.run(Unknown Source)
          Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
          at java.base/sun.security.validator.PKIXValidator.doBuild(Unknown Source)
          at java.base/sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
          at java.base/sun.security.validator.Validator.validate(Unknown Source)
          at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
          at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
          ... 32 more
          Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
          at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)
          at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
          at java.base/java.security.cert.CertPathBuilder.build(Unknown Source)
          ... 37 more

          (顺便我改了timeout也会超时)

          cssxsh 1 条回复 最后回复 回复 引用 0
          • cssxsh
            cssxsh 最后由 编辑

            @kouki
            @bably7
            @2196328649
            @CherryPeel

            https://github.com/cssxsh/novelai-helper/releases/tag/v1.0.10
            你们可以试一下

            kouki 1 条回复 最后回复 回复 引用 0
            • kouki
              kouki @cssxsh 最后由 编辑

              @cssxsh #目移

              1 条回复 最后回复 回复 引用 0
              • 茶
                茶色cha 最后由 编辑

                scale还有长宽的格式要怎么输入啊,我这里输入一直显示无效参数(

                cssxsh kouki 2 条回复 最后回复 回复 引用 0
                • cssxsh
                  cssxsh @茶色cha 最后由 编辑

                  @茶色cha
                  官方页面的 比例可以参考一下
                  63f7cf6d-860c-46f8-9e1a-fc7e2d3aead4-image.png

                  scale 是 ai 的训练参数,不是画面的比例

                  1 条回复 最后回复 回复 引用 0
                  • kouki
                    kouki @茶色cha 最后由 编辑

                    @茶色cha /nai swimsuit #steps=28 #scale=7 #width=768 #height=512 “萝莉,精灵”
                    这样

                    1 条回复 最后回复 回复 引用 0
                    • kouki
                      kouki 最后由 编辑

                      此回复已被删除!
                      1 条回复 最后回复 回复 引用 0
                      • cssxsh
                        cssxsh @kouki 最后由 编辑

                        @kouki
                        官方 api 还是 naifu ?

                        kouki 1 条回复 最后回复 回复 引用 0
                        • kouki
                          kouki @cssxsh 最后由 编辑

                          @cssxsh naifu,但他好像报错但不影响使用,我打算撤回了(

                          cssxsh 1 条回复 最后回复 回复 引用 0
                          • cssxsh
                            cssxsh @kouki 最后由 编辑

                            @kouki
                            哦,那是词典下载失败了,所以不影响,下个版本修复一下 日志信息格式

                            kouki 1 条回复 最后回复 回复 引用 0
                            • kouki
                              kouki @cssxsh 最后由 编辑

                              @cssxsh 好吓人...

                              1 条回复 最后回复 回复 引用 0
                              • shihuang214
                                shihuang214 最后由 编辑

                                目前准备自己本地搭建,主要是谷歌那个不能持久化,可能返回的包格式问题,一片红,等下查下日志,使用的搭建是:https://www.bilibili.com/video/BV1144y1f7ZH/?spm_id_from=333.999.0.0&vd_source=0eeecf6eb2f868f680ac7b1a07dcecaa

                                cssxsh 1 条回复 最后回复 回复 引用 0
                                • cssxsh
                                  cssxsh @shihuang214 最后由 编辑

                                  @shihuang214
                                  我这个插件对接的是 naifu
                                  https://www.bilibili.com/video/BV14e4y1E74X

                                  1 条回复 最后回复 回复 引用 0
                                  • Z
                                    zyckk4 摸鱼 @bably7 最后由 编辑

                                    @bably7 其实图转图也不用点数,步数小于等于28都不用点数,图转图时直接api请求可以设置步数小于等于28但是网站上只能50

                                    1 条回复 最后回复 回复 引用 0
                                    • M
                                      MegaShuckle 最后由 编辑

                                      image.png
                                      翻译词典一直下个不停......
                                      能不能关掉自动更新或者设置个重试次数上限(

                                      1 条回复 最后回复 回复 引用 0
                                      • Y
                                        yuanxin8701 最后由 编辑

                                        插件正常加载了,了但是输入/nai /naifu等命令没有反应,请问是咋回事呢

                                        cssxsh 1 条回复 最后回复 回复 引用 0
                                        • cssxsh
                                          cssxsh @yuanxin8701 最后由 cssxsh 编辑

                                          @yuanxin8701
                                          https://github.com/project-mirai/chat-command/releases/tag/0.5.1

                                          5b71ccf8-f4df-4add-a2f3-c61491fec77b-image.png

                                          1 条回复 最后回复 回复 引用 0
                                          • L
                                            lycxx 最后由 编辑

                                            大佬考虑加个显示余额的功能吗

                                            1 条回复 最后回复 回复 引用 0
                                            • 1
                                            • 2
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 9 / 12
                                            • First post
                                              Last post
                                            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact