Giter Site home page Giter Site logo

licoy / chatgpt-midjourney Goto Github PK

View Code? Open in Web Editor NEW
6.0K 6.0K 1.8K 3.34 MB

🍭 一键拥有你自己的 ChatGPT+Midjourney 网页服务 | Own your own ChatGPT+Midjourney web service with one click

Home Page: https://chat-gpt-midjourney-pink.vercel.app

License: MIT License

Shell 0.41% JavaScript 0.98% Dockerfile 0.32% TypeScript 85.59% SCSS 12.64% Rust 0.07%
chatgpt chatgpt-web discord discord-bot midjourney niji openai stable-diffusion

chatgpt-midjourney's Introduction

chatgpt-midjourney's People

Contributors

ai-chef avatar eltociear avatar ezioruan avatar fanux avatar gitlayzer avatar kennydizi avatar lala-0x3f avatar licoy avatar michaelyuhe avatar ok3721 avatar yangchuansheng avatar zhtwinkle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chatgpt-midjourney's Issues

关于MIDJOURNEY_PROXY_URL

docker布署,如果宿主机处于可以直接访问openai的环境(比如国内全局代理的虚拟机、海外vps),MIDJOURNEY_PROXY_URL可以填写宿主机ip(避免封号风险,避开香港节点vps/代理——此风险未确认,但香港不在openai使用地区);如果宿主机开启代理访问openai(PROXY_URL部分填写了代理),那么MIDJOURNEY_PROXY_URL要填写公网ip(docker映射出公网)。

不算Bug,但是不是特别人性化

1.关键词切换提议
我在使用的时候/mj,会提示不少关键词出来,我这个时候在想是否可以做一下,下方的点击按钮,功能是点击切换提示词,因为chat的提示词混在用画图的时候特别不适。
image
2.由于在画图期间,chat的关键词干扰,导致我输入prompt,还是有一条或者几条提升跟随,正常很多人习惯回车打到输入框内,就会将和画画无关的chat提示词完全覆盖掉刚才的输入,由于是/mj,正常我们输入chat没有这个问题,是因为,我们正常问问题,很少使用”/“,因此在我们使用”/mj“,输入回车,只要有提示,就会被覆盖,给人一种不友好的感觉
image

[Bug] docker pull not found

Describe the bug
centos7
docker
docker pull not found

To Reproduce
Steps to reproduce the behavior:

  1. docker pull licoy/chatgpt-midjourney:v1.3.2

Expected behavior
pull success
but
manifest for docker.io/licoy/chatgpt-midjourney:v1.3.2 not found

[Bug]

使用的时候报错信息
[Time] 2023/6/14 18:28:53
[Auth] admin did not provide an api key
[Proxy] v1/chat/completions?path=v1&path=chat&path=completions
[Base Url] https://api.openai.com
[OpenAI] [TypeError: RequestInit: duplex option is required when sending a body.]

增加付费功能[Feature]

为了提高交流效率,我们设立了官方 QQ 群和 QQ 频道,如果你在使用或者搭建过程中遇到了任何问题,请先第一时间加群或者频道咨询解决,除非是可以稳定复现的 Bug 或者较为有创意的功能建议,否则请不要随意往 Issue 区发送低质无意义帖子。

点击加入官方群聊

这个功能与现有的问题有关吗?
如果有关,请在此列出链接或者描述问题。

你想要什么功能或者有什么建议?
类似于gptlink增加付费功能

有没有可以参考的同类竞品?
可以给出参考产品的链接或者截图。

其他信息
可以说说你的其他考虑。

Azure API

大神求助azure 的api如何可以使用,chatgpt的api付费实在搞不定

Midjourney使用Bug:Failed to fetch、Load failed

反馈须知

⚠️ 注意:不遵循此模板的任何帖子都会被立即关闭,如果没有提供下方的信息,我们无法定位你的问题。

请在下方中括号内输入 x 来表示你已经知晓相关内容。

  • 我确认已经在 常见问题 中搜索了此次反馈的问题,没有找到解答;
  • 我确认已经在 Issues 列表(包括已经 Close 的)中搜索了此次反馈的问题,没有找到解答。
  • 我确认已经在 Vercel 使用教程 中搜索了此次反馈的问题,没有找到解答。

描述问题
使用Vercel部署ChatGPT-Midjourney前端,使用境外VPS部署midjourney-proxy使用正常,但使用zeabur部署midjourney-proxy时在Windows11Edge浏览器中提示Failed to fetch,在iOS15.6的Safari浏览器中提示任务提交失败:Load failed但查看discord频道发现midjourney-proxy运行正常

如何复现
使用/mj百分百出现
截图
image
image
image

一些必要的信息

  • 系统:windows 11、ios 15
  • 浏览器: Edge、Safari
  • 版本:20230704
  • 部署方式:vercel

[Feature] 建议在设置中加入Authorization请求头的设置功能

这个功能与现有的问题有关吗?
问题出现的场景:使用nginx进行反代,在配置中使用HTTP basic auth设置访问密码。

在输入密码进入主页面之后,请求/completion接口的时候,请求头没有带上Authorization字段,导致出现401错误。

你想要什么功能或者有什么建议?
可以在设置中自行设置Authorization(就像访问密码的功能一样),在设置之后,使用ajax发送请求的时候带上这个头。

请教一下avatar定义

我想添加一些自定义的Mask,但是不太清楚avatar的定义,不知道怎么引用图标,有没有哪里可以查到avatar图标对应的代码?
image
是不是有个预定义的图标库啊?知道的朋友麻烦指点一下,谢谢!

[Bug] midjourney绘图用V的时候会提交但是没有后续

绘图选择V的时候会提交但是没有后续返回
画面描述: VARIATION::1::3525525412808094
任务ID: 7709611621575780
任务状态: [2023/6/18 16:17:44] - 任务已提交至Midjourney服务器

discord里V的按钮是绿色的 但是估计没有提交的,因为如果在discord手动点V1-4是会弹窗提示要确定的 不知道是不是midjourney-proxy那边没有做处理

[Bug] midjourney-proxy 日志报错

2023-06-14 16:35:23.183 DEBUG
1
:推送任务变更失败,任务ID:8980646060104986,描述:
ReadingThread] c.g.n.m.wss.user.UserMessageListener
:CREATE - Midiourney Bot : [8980646060104986] Thre
任务状态:[2023/6/14 16:36:02]- 任务正在运行,进度:93%
e is clean and bright, and photos are taken
-ar 129:77
- <01110764319504875601> (Waiting
fo start)
2023-06-14 16:35:23.190 WARN 1
TaskNotify-2] c.g.n.m.service.NotifyServiceImp1
:推送任务变更失败,任务ID:8980646060104986,描述:
2023-06-14 16:35:36.474 DEBUG 1
ReadingThread] c.g.n.m.wss.user.UserMessageListener
:UPDATE - Midjourney Bot : [8980646060104986] Thre
e is clean and bright, and photos are taken --ar 129:77
- <@1110764319504875601> (0%) (fas*)
2023-06-14 16:35:36.480 WARN 1---
TaskNotify-3] c.g.n.m.service.NotifyServiceImp1
2023-06-14 16:35:42.539 DEBUG 1
ReadingThread]c.g.n.m.wss.user.UserMessageListener
:推送任务变更失败,任务ID:8980646日60104986,描述:
::UPDATE - Midjourney Bot : [8980646060104986] Thre
e is clean and bright, and photos are taken
--ar 129:77
- <@1110764319504875601> (15%) (fast)
2023-06-14 16:35:42.546 WARN 1
TaskNotify-4] c.g.n.m.service.NotifyServiceImp1
2023-06-14 16:35:46.247 DEBUG 1
ReadingThread] c.g.n.m.wss.user.UserMessageListener
:推送任务变更失败,任务ID: 8980646060104986,描述:
:UPDATE - Midjourney Bot: [8980646060104986〕 Thre
e is clean and bright, and photos are taken --ar 129:77
- <01110764319504875601> (31%) (fast)

[Bug] 突然用不了

前面还出图正常,现在提交一直提示FAILURE,去midjourney proxy里状态查询也是提示异常如下:
"action": "IMAGINE",
"id": "7564193164428700",
"prompt": "Seascape, Coastal view, Beach sunset, Waves crashing, Sandy shores",
"promptEn": "Seascape, Coastal view, Beach sunset, Waves crashing, Sandy shores",
"description": "/imagine Seascape, Coastal view, Beach sunset, Waves crashing, Sandy shores",
"state": null,
"submitTime": 1686998127218,
"startTime": 1686998127234,
"finishTime": 1686998127596,
"imageUrl": null,
"status": "FAILURE",
"progress": "",
"failReason": "Invalid Form Body"

discord里的midjourney账号正常的。

[Bug] 更新后提示这个

/mj prompt提交后秒提示下面错误
任务提交失败:
状态码:401
响应体:{"error":true,"msg":"empty access code"}
(ChatGPT-Midjourney最新版本0625)

Midjourney-proxy(最新版本2.3.2)没有收到任何提交过来的信息。
Discord账号正常 获取的token也是正常的(在另一个服务测试正常使用)

较长的midjourney prompt无法执行

描述问题
较长的midjourney prompt无法执行,提示:任务提交失败:未知的任务类型

如何复现
比如这个prompt:
/mj Seeing a bloom under white light, Flowing transparent fabric, sleek glass thickness, transparent, pink and white and blue holographic, in the style of precise hyperrealism, mesmerizing colorscapes, i can't believe how beautiful this is, zen buddhism influence, luminous color palette, fanciful, dreamlike imagery ::3 Stockphoto, datamoshing, analytical art, urban energy, contained chaos, low bitrate high - key lighting, abstraction - création kodak elite chrome extra color, juxtaposition of light and shadow, clear colors smooth, modern minimalist, 3d render, unreal engine 5, industrial design, studio lighting, zoomed shoot, isometric, blender ::1 --ar 3:2

截图
image

Zeabur部署使用MJ图片加载不出来

反馈须知

⚠️ 注意:不遵循此模板的任何帖子都会被立即关闭,如果没有提供下方的信息,我们无法定位你的问题。

请在下方中括号内输入 x 来表示你已经知晓相关内容。

  • 我确认已经在 常见问题 中搜索了此次反馈的问题,没有找到解答;
  • 我确认已经在 Issues 列表(包括已经 Close 的)中搜索了此次反馈的问题,没有找到解答。
  • 我确认已经在 Vercel 使用教程 中搜索了此次反馈的问题,没有找到解答。

描述问题
1.我是使用Zeabur部署的,fork的本项目和Midjourney-proxy项目,已同步,今天使用的时候图加载不出来,点击图片报错1101;
2.有时候提交任务后显示:任务已提交至Midjourney服务器,其实discord里已经执行完了,然后就任务超时了,不显示图片。
如何复现
问题1、2复现:使用Zeabur部署,使用/mj 命令作图
截图

83f6d963abcbb3742e1c447961bc94b3

一些必要的信息

  • 系统:macos 13.4
  • 浏览器: chrome
  • 版本:114.0.5735.198
  • 部署方式:Zeabur

在网页输入画图指令时,也显示图片成功画出,discord中也能看到,但无法在ChatGPT new wab中返回图片

请在下方中括号内输入 x 来表示你已经知晓相关内容。

  • [ x ] 我确认已经在 常见问题 中搜索了此次反馈的问题,没有找到解答;
  • [ x ] 我确认已经在 Issues 列表(包括已经 Close 的)中搜索了此次反馈的问题,没有找到解答。
  • [ x ] 我确认已经在 Vercel 使用教程 中搜索了此次反馈的问题,没有找到解答。

描述问题
在网页输入画图指令时,也显示图片成功画出,discord中也能看到,但无法在ChatGPT new wab中返回图片

如何复现
未知,Midjourney代理使用的谷歌海外服务器,

截图
image
image

一些必要的信息

  • 系统:[mac air]
  • 浏览器: [chrome,]
  • 版本: [m-p-2.2.3]
  • 部署方式:[docker]

[Feature] 绘画进行一半,中途退出,或者刷新页面,能否请求一下最新结果

你想要什么功能或者有什么建议?
绘画进行一半,中途退出,或者刷新页面,就在也看不到这个绘图的最终结果,作者大大,初次加载页面或刷新页面能否根据任务状态,如果是任务进行中的任务,都请求一下最新结果?

其他信息
图片的每一次进度,会出现一闪一闪的情况,能否实现无感的切换,或者给页面加个固定高度?

[Bug] 请问哪里获取付费Midjourney的服务器ID?谢谢。

请问楼上各位大佬,我遇到下面的问题该如何处理?
画面描述: a tiger
任务ID: 1692067317731634
任务状态: [2023/8/15 10:41:55] - 未知频道

任务提交失败:关联任务状态错误

我是MJ付费会员,频道ID也有了;但看了教程后不知道哪里去服务器ID。

URL上只有@me这种信息,例如:

https://discord.com/channels/@me/107415488680*****94

https://cdn.discordapp.com/attachments/107415488680*****94/1139373882772553758/concordance6_a_slim_and_pretty_woman_on_the_beach_in_her_bikini_7bdb6f12-dea2-47f7-a388-69f6a82843e4.png
https://cdn.discordapp.com/attachments/107415488680*****94/1134049235961122937/concordance6_a_baby_monk_wearing_an_asian_robe_in_front_of_a_wa_8c16c671-006b-4c30-95c6-c77228ceea82.png
https://cdn.discordapp.com/attachments/107415488680*****94/1118673420243189760/concordance6_captain_commandos_mack_in_Pixar_style_3fd784c1-0e87-436c-a8f9-fd57cf7a72af.png

还望各位老大指点迷津,谢谢谢谢。

Zeabur部署项目后,手机端不能使用

反馈须知

⚠️ 注意:不遵循此模板的任何帖子都会被立即关闭,如果没有提供下方的信息,我们无法定位你的问题。

请在下方中括号内输入 x 来表示你已经知晓相关内容。

  • [ x ] 我确认已经在 常见问题 中搜索了此次反馈的问题,没有找到解答;
  • [x ] 我确认已经在 Issues 列表(包括已经 Close 的)中搜索了此次反馈的问题,没有找到解答。
  • [ x] 我确认已经在 Vercel 使用教程 中搜索了此次反馈的问题,没有找到解答。

描述问题
请在此描述你遇到了什么问题。
Zeabur部署项目后,手机端不能使用,电脑端能正常使用。手机端访问会出现

{
  "error": true,
  "message": "Failed to execute 'fetch' on 'Window': Failed to read the 'headers' property from 'RequestInit': String contains non ISO-8859-1 code point."
}

如何复现
请告诉我们你是通过什么操作触发的该问题。
手机端登录就出现这个问题

截图
请在此提供控制台截图、屏幕截图或者服务端的 log 截图。
Screenshot_2023-06-23-18-22-25-42_df198e732186825c8df26e3c5a10d7cd

一些必要的信息

  • 系统:[比如 windows 10/ macos 12/ linux / android 11 / ios 16] 手机端
  • 浏览器: [比如 chrome, safari] Edge浏览器
  • 版本: [填写设置页面的版本号]
  • 部署方式:[比如 vercel、docker 或者服务器部署]Zeabur

有没有可能给绘图指令加个密码保护

现在页面上会对chatgpt有密码和api key来保护gpt不被滥用,但是在没有密码和api key的情况下,/mj指令还是可以正常使用的,我不想在页面上暴露mj proxy api的地址,有没有可能给/mj指令也加个保护,可以设置一个或多个密码,没密码不让用/mj指令。

[Feature] 异步获取绘画结果,增加灵犀Midjourney-API支持

这个功能与现有的问题有关吗?
这篇文档: https://docs.qq.com/doc/DYnN4dXNDTk5UekRW 给出了免部署Midjourney-api接口,只需要MJ 的token就能生成api,并给出了利用生成的API部署本项目的命令(无需部署除本项目之外的其他项目):

docker run -d -p 3000:3000
-e OPENAI_API_KEY="sk-xxxxxxxxx"
-e BASE_URL="http://ai.4387.top:8010"
-e MIDJOURNEY_PROXY_URL="http://ai.4387.top:8609"
-e MIDJOURNEY_PROXY_API_SECRET="sk-xxxxxxxx"
licoy/chatgpt-midjourney:v1.3.1

你想要什么功能或者有什么建议?
建议增加异步获取绘画结果,参考API接口文档:https://docs.qq.com/doc/DYmpqVVR3U3JnaVho

有没有可以参考的同类竞品?
可以给出参考产品的链接或者截图。

其他信息
可以说说你的其他考虑。

[Bug] TypeError: RequestInit: duplex option is required when sending a body. 这是什么问题

反馈须知

⚠️ 注意:不遵循此模板的任何帖子都会被立即关闭,如果没有提供下方的信息,我们无法定位你的问题。

请在下方中括号内输入 x 来表示你已经知晓相关内容。

  • 我确认已经在 常见问题 中搜索了此次反馈的问题,没有找到解答;
  • 我确认已经在 Issues 列表(包括已经 Close 的)中搜索了此次反馈的问题,没有找到解答。
  • 我确认已经在 Vercel 使用教程 中搜索了此次反馈的问题,没有找到解答。

描述问题
请在此描述你遇到了什么问题。
在最新版的的代码中,我下的是1.3.9版本, 部署到服务器中后,问答报这个错误。
TypeError: RequestInit: duplex option is required when sending a body.
但是在本地运行的就可以正常问答,这是为什么

如何复现
请告诉我们你是通过什么操作触发的该问题。

截图
请在此提供控制台截图、屏幕截图或者服务端的 log 截图。
image
一些必要的信息

  • 系统:linux debain
  • 浏览器:chrome
  • 版本:1.3.9
  • 部署方式:服务器部署

使用命令”/Mj"后,对话框总是强制到底

使用命令”/Mj"后,对话框到最下面,很合理,但是一直强制到底,无法看到上面历史记录了,我这边属于使用了"/mj"就会一直强制到对话框的最底部,无法看到上面的历史记录,即使图片生成完毕,也是一直强制到对话框最底部

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.