NovelAi Helper AI图片生成, 可对接自建/colab在线运行的 Naifu api
-
有没有好心人共享个账号
-
@cssxsh 有考虑对接webui吗,有点想要一个webui的
-
本地搭建naifu,输入网址http://192.168.5.152:6969后重载配置文件,在qq端无论是/nai还是/nai-fu都没反应,一点反应都没有
-
@awaATRI
你给权限了吗 -
请问这个是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)
-
-
大佬为什么我用naifu会这样啊
-
日志不是都说了吗,你没有协议前缀
协议前缀http://
或者https://
呢? -
@cssxsh 因为只有那个地址生成过图片,生成一次之后就报错了。后面地址怎么换都不行。加https不行,还有那个localhost:6969也不行
-
@cssxsh 问题解决了,要用trycloudflare那个网址才行。而且不能热加载
-
莫名奇妙报编码问题了,之前还能正常用的
-
运行/nai 1时报错。
-
使用/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)