NovelAi Helper AI图片生成, 可对接自建/colab在线运行的 Naifu api
-
@zplmhh
检查版本和账号密码是否输入错误 -
@2691431889
logs 文件夹 下面有 日志 -
哎,电脑太破,看到了一些本地搭建的方案,但是玩不起来啊,注册的账号是没有那个点数的,要钱……
-
@cssxsh 能加个自动缓存生成的图片的功能吗
-
@bably7
缓存干啥 -
This post is deleted! -
大佬您看一下,这是什么报错,绘制图片只显示这个
-
俺也一样,登陆了之后也是显示
IiwiaWF0IjoxNjY1ODI1NDU1LCJleHAiOjE2Njg0MTc0NTV9.98B9Fi3wp9yjwEjtCYLQlVouOB9YvqELCQyIlRqryJU
登录成功2022-10-15 17:17:42 V/Bot.3201544115: [后台反馈窗口(775680369)] 我家塞伦奈第一可爱(2691431889) -> /nai 1girl 2022-10-15 17:17:42 I/novelai-helper: tags: 1girl 2022-10-15 17:17:56 W/novelai-helper: Exception in executing command `[mirai:source:ids=[4910], internalIds=[853784691], from group 2691431889 to 775680369 at 1665825462]/nai 1girl` java.lang.IllegalArgumentException: Unsupported image type (mirai) for ExternalResource ExternalResourceWithAutoClose(delegate=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@1d79ef0), considering use gif/png/bmp/jpg format. image header: at net.mamoe.mirai.internal.message.image.ImageDecoderKt.calculateImageInfo(ImageDecoder.kt:160) at net.mamoe.mirai.internal.contact.GroupImpl$uploadImage$lambda-15$$inlined$runBIO$1.invoke(CoroutineUtils.kt:194) at kotlinx.coroutines.InterruptibleKt.runInterruptibleInExpectedContext(Interruptible.kt:51) at kotlinx.coroutines.InterruptibleKt.access$runInterruptibleInExpectedContext(Interruptible.kt:1) at kotlinx.coroutines.InterruptibleKt$runInterruptible$2.invokeSuspend(Interruptible.kt:43) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
-
-
好像网站改了?
-
@zyckk4
我上传错版本了
你可以再下载一份新的试试 -
@cssxsh
大佬现在发送命令就会出现这些报错 -
-
@cssxsh 欧克欧克
-
@cssxsh 大佬大佬,还是会报错
-
This post is deleted! -
2022-10-15 21:29:13 W/novelai-helper: Exception in executing command `[mirai:source:ids=[4940], internalIds=[2075431823], from group 294640212 to 861499835 at 1665840526]/nai masterpiece,white hair,{blue eyes}` java.io.EOFException: Premature end of stream: expected 1 bytes at novelai-helper-1.0.7.mirai2.jar[private]//io.ktor.utils.io.core.StringsKt.prematureEndOfStream(Strings.kt:453) at novelai-helper-1.0.7.mirai2.jar[private]//io.ktor.utils.io.core.Input.readByteSlow(Input.kt:300) at novelai-helper-1.0.7.mirai2.jar[private]//io.ktor.utils.io.core.Input.readByte(Input.kt:286) at novelai-helper-1.0.7.mirai2.jar//xyz.cssxsh.novelai.ai.AIController.generateImage(AIController.kt:95) at novelai-helper-1.0.7.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.0.7.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138) at novelai-helper-1.0.7.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112) at novelai-helper-1.0.7.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14) at novelai-helper-1.0.7.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.0.7.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138) at novelai-helper-1.0.7.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112) at novelai-helper-1.0.7.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14) at novelai-helper-1.0.7.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.0.7.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138) at novelai-helper-1.0.7.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112) at novelai-helper-1.0.7.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14) at novelai-helper-1.0.7.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.0.7.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138) at novelai-helper-1.0.7.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112) at novelai-helper-1.0.7.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14) at novelai-helper-1.0.7.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:749) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
-
@仙某人112
找不到原因,感觉像官方api罢工了1.0.8优化了一下报错信息,就这样吧
你多试几次指令试试看 -
@cssxsh 好的
-
@cssxsh 请问本地部署并在mirai装好插件之后还需要其他配置吗?在聊天框直接/nai 1返回Invalid Authorization header content.
在config确认过ip地址和端口是正确对应naifu api的