MiraiForum

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

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

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

      有没有好心人共享个账号

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

        @cssxsh 有考虑对接webui吗,有点想要一个webui的

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

          本地搭建naifu,输入网址http://192.168.5.152:6969后重载配置文件,在qq端无论是/nai还是/nai-fu都没反应,一点反应都没有

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

            @awaATRI
            你给权限了吗

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

              请问这个是NovelAI接口的问题吗?

              2023-03-02 09:47:05 I/novelai-helper: generate image seed: 4059228736, tags: sky
              2023-03-02 09:47:05 W/novelai-helper: Exception in executing command `[mirai:source:ids=[29985], internalIds=[-1432617401], from friend 1031905493 to 3555046041 at 1677721619]/nai-fu sky`
               command owned by novelai-helper v1.1.1 with Friend(1031905493)
              io.ktor.client.plugins.ServerResponseException: Server error(POST https://arkansas-shareware-cast-vernon.trycloudflare.com/generate-stream: 502 . Text: "502 Bad Gateway
              Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared
              "
                      at novelai-helper-1.1.1.mirai2.jar//xyz.cssxsh.novelai.NovelAiClient$http$1$3$1.invokeSuspend(NovelAiClient.kt:44)
                      at novelai-helper-1.1.1.mirai2.jar//xyz.cssxsh.novelai.NovelAiClient$http$1$3$1.invoke(NovelAiClient.kt)
                      at novelai-helper-1.1.1.mirai2.jar//xyz.cssxsh.novelai.NovelAiClient$http$1$3$1.invoke(NovelAiClient.kt)
                      at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.client.plugins.HttpCallValidator.validateResponse(HttpCallValidator.kt:47)
                      at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.client.plugins.HttpCallValidator.access$validateResponse(HttpCallValidator.kt:40)
                      at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.client.plugins.HttpCallValidator$Companion$install$3.invokeSuspend(HttpCallValidator.kt:148)
                      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                      at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
                      at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
                      at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14)
                      at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
                      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
                      at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
                      at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
                      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
                      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
                      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
              
              1 条回复 最后回复 回复 引用 0
              • Referenced by  cssxsh cssxsh 
              • 芸
                芸婉佳本芸 最后由 编辑

                大佬为什么我用naifu会这样啊image.png
                image.png

                cssxsh 1 条回复 最后回复 回复 引用 0
                • cssxsh
                  cssxsh @芸婉佳本芸 最后由 编辑

                  @芸婉佳本芸

                  日志不是都说了吗,你没有协议前缀
                  协议前缀 http:// 或者 https:// 呢?

                  芸 2 条回复 最后回复 回复 引用 0
                  • 芸
                    芸婉佳本芸 @cssxsh 最后由 编辑

                    @cssxsh 因为只有那个地址生成过图片,生成一次之后就报错了。后面地址怎么换都不行。加https不行,还有那个localhost:6969也不行 1e704512-1df8-4ab2-bd4c-1981fc870c49-image.png

                    1 条回复 最后回复 回复 引用 0
                    • 芸
                      芸婉佳本芸 @cssxsh 最后由 编辑

                      @cssxsh 问题解决了,要用trycloudflare那个网址才行。而且不能热加载

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

                        QQ图片20230410080127.png莫名奇妙报编码问题了,之前还能正常用的

                        1 条回复 最后回复 回复 引用 0
                        • 幽
                          幽体離脱 最后由 编辑

                          5f811786-5c74-4ce8-80f7-23b0c4fbe197-图片.png 运行/nai 1时报错。

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

                            使用/nai 时报编码错误
                            2024-03-26 10:38:44 V/Bot.3689647775: 水祀(2311152420) -> /nai <1girl, solo, red eyes, white hair,>
                            2024-03-26 10:38:44 I/novelai-helper: generate image seed: 397181145, tags: red, white parabellum, hair,>, solo,, <1girl,, eyes,
                            2024-03-26 10:38:49 W/novelai-helper: Exception in executing command [mirai:source:ids=[20432], internalIds=[1198336397], from friend 2311152420 to 3689647775 at 1711420725]/nai <1girl, solo, red eyes, white hair,>
                            command owned by novelai-helper v1.1.1 with Friend(2311152420)
                            io.ktor.utils.io.core.internal.MalformedUTF8InputException: Expected 1 more character bytes
                            at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.utils.io.core.internal.UTF8Kt.malformedByteCount(UTF8.kt:342)
                            at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.utils.io.core.StringsKt.readUTF8UntilDelimiterToSlowUtf8(Strings.kt:831)
                            at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.utils.io.core.StringsKt.readUTF8UntilDelimiterTo(Strings.kt:137)
                            at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.utils.io.core.StringsKt.readUTF8UntilDelimiter(Strings.kt:107)
                            at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.utils.io.core.StringsKt.readUTF8UntilDelimiter$default(Strings.kt:105)
                            at novelai-helper-1.1.1.mirai2.jar//xyz.cssxsh.novelai.ai.AIController.generateImage(AIController.kt:93)
                            at novelai-helper-1.1.1.mirai2.jar//xyz.cssxsh.novelai.ai.AIController$generateImage$1.invokeSuspend(AIController.kt)
                            at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                            at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
                            at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
                            at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14)
                            at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
                            at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
                            at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
                            at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
                            at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14)
                            at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
                            at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
                            at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
                            at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
                            at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14)
                            at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
                            at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
                            at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
                            at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
                            at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14)
                            at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
                            at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
                            at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
                            at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
                            at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
                            at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
                            at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

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