{"id":13646184,"url":"https://github.com/a616567126/gpt-web-java","last_synced_at":"2025-04-21T17:32:16.333Z","repository":{"id":148761311,"uuid":"620059973","full_name":"a616567126/GPT-WEB-JAVA","owner":"a616567126","description":"基于JDK8 AI 聊天机器人！微信公众号 Midjourney画图、卡密兑换、web 支持ChatGPT、Midjourney画图、sd画图，卡密兑换，易支付，公众号引流，邮件注册🔥","archived":false,"fork":false,"pushed_at":"2024-08-27T00:19:55.000Z","size":1134,"stargazers_count":734,"open_issues_count":7,"forks_count":199,"subscribers_count":12,"default_branch":"Mj-plus","last_synced_at":"2024-11-09T19:41:31.054Z","etag":null,"topics":["bard-api","chatgpt","google","midjourney-api","spark","stable-diffusion"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/a616567126.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-28T00:26:43.000Z","updated_at":"2024-10-29T03:26:46.000Z","dependencies_parsed_at":"2023-06-09T09:30:39.455Z","dependency_job_id":"fbec1eb7-9f81-4518-a982-dad43aeb3abc","html_url":"https://github.com/a616567126/GPT-WEB-JAVA","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a616567126%2FGPT-WEB-JAVA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a616567126%2FGPT-WEB-JAVA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a616567126%2FGPT-WEB-JAVA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a616567126%2FGPT-WEB-JAVA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a616567126","download_url":"https://codeload.github.com/a616567126/GPT-WEB-JAVA/tar.gz/refs/heads/Mj-plus","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250100654,"owners_count":21374979,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bard-api","chatgpt","google","midjourney-api","spark","stable-diffusion"],"created_at":"2024-08-02T01:02:50.108Z","updated_at":"2025-04-21T17:32:12.774Z","avatar_url":"https://github.com/a616567126.png","language":"Java","funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cp style=\"font-size:40px;font-weight: 800;color: coral\"\u003eSiana 智能Ai机器人 \u003c/p\u003e\n\u003c/div\u003e\n\u003cdiv align=\"center\" style=\"text-align:center;margin-top:30px;margin-bottom:20px\"\u003e\n    \u003cimg alt=\"Java version\" src=\"https://img.shields.io/static/v1?label=openjdk\u0026message=8\u0026logo=openjdk\" /\u003e \u0026nbsp; \u0026nbsp;\n    \u003cimg alt=\"MySql version\" src=\"https://img.shields.io/static/v1?label=mysql\u0026message=8.0\u0026logo=mysql\u0026color=green\" /\u003e\u0026nbsp; \u0026nbsp;\n    \u003cimg alt=\"Redis version\" src=\"https://img.shields.io/static/v1?label=redis\u0026message=7\u0026logo=redis\u0026color=ff69b4\" /\u003e\u0026nbsp; \u0026nbsp;\n    \u003ca style=\"padding-left:10px\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/a616567126/GPT-WEB-JAVA\"/\u003e\u003c/a\u003e\u0026nbsp; \u0026nbsp;\n    \u003ca style=\"padding-left:10px\"\u003e\u003cimg src=\"https://img.shields.io/github/forks/a616567126/GPT-WEB-JAVA?color=red\u0026logo=red\"/\u003e\u003c/a\u003e\u0026nbsp; \u0026nbsp;\n\n\n\u003c/div\u003e\n\n\u003ch1 align=\"center\"\u003e 🎉 最新版地址：https://super.aisiana.top\u003c/h1\u003e\n\u003ch1 align=\"center\"\u003e 🎉 稳定版地址：https://bot.aisiana.top\u003c/h1\u003e  \n\u003cp align=\"center\"\u003e🧧 3.0全新ui，客户端与管理端移动端，购买后加入VIP群持续更新，扫码下方作者微信添加好友咨询加群\u003c/p\u003e\n\u003cp align=\"center\"\u003e 后台管理ui演示地址地址：https://github.com/a616567126/GPT-WEB-JAVA/wiki/%E5%90%8E%E5%8F%B0%E7%AE%A1%E7%90%86ui%E6%BC%94%E7%A4%BA \u003c/p\u003e\n\n\n\u003ch2\u003e📌 功能项\u003c/h2\u003e\n\n- [x] GPt对话(基于SSE WebSocket流式推送,支持3.5,4.0等模型,支持官方,第三方api地址,支持GPT4.0图片识别,dall-e-3模型)\n- [x] 星火大模型(基于SSE WebSocket流式推送,支持2,3,3.5模型)\n- [x] Midjourney画图(/imagine(文生图),/describe(图生文),重做,--relax,--fast(切换出图模式),U放大，V变换,Strong,Subtle,U2x,U4x,ZoomOut 2x,ZoomOut 1.5x,➡️⬅️⬆️⬇️位置偏移,/shorten(咒语解析),/blend(混合生图),垫图,账号池)\n- [x] Stable-Diffusion画图(模型选择,Lora选择,支持高清修复,垫图)\n- [x] 个人信息(剩余次数，身份，昵称,头像，密码)\n- [x] 产品查询购买\n- [x] 支付方式 易支付、卡密兑换、微信支付\n- [x] 图片存储方式本地/oss存储，可动态配置\n\n\n## 💬  使用 GPT\n- 1.在gpt_key中配置对应的gpt key，注意区分3.5与4.0\n- 2.若国内环境使用请使用代理访问，或使用cloudflare搭理，[教程地址](https://github.com/x-dr/chatgptProxyAPI)\n- 3.gpt使用sse方式进行消息推送与前端交互，若使用nginx请查看上方nginx配置\n\n\n## 🧩  使用 Image Upload(图片上传)\n- 1.创建指定的文件夹如：/usr/local/upload\n- 2.创建成功后在\"sys_config\"表中\"img_upload_url\"配置第一步创建的目录记得最后边加上\"/\"如：/usr/local/upload/\n- 3.使用nginx进行文件夹代理\n- 4.nginx代理的域名或ip配置到sys_config中img_return_url如：\"https://www.baidu.com\"\n- 5.上传的图片会以每天的年月日来进行创建文件夹\n- 6.图片名称分为两种，Midjourney的名字为任务id，其余的图片为当前时间戳\n- 7.图片最终的地址为：\"img_return_url\"+\"img_upload_url\"+文件名，如：\"https://www.baidu.com/20230618/123.jpg\"\n\n\n## 🎨  使用 Stable-Diffusion\n- 1.在\"sd_model\"表中配置模型（名字（全部内容包括后缀），图片）\n- 2.若有lora在\"sd_lora\"表中配置lora（名字，图片）\n- 3.配置\"sys_config\"表中\"is_open_sd\"为1，开启状态\n- 4.配置\"sys_config\"表中\"sd_url\"的地址，本地默认地址为http://127.0.0.1:7860(记得打开api开关)\n\n\n## 🎨  使用 Midjourney\n- 1.注册 MidJourney创建自己的频道、[参考地址](https://docs.midjourney.com/docs/quick-start)\n- 2.添加成功之后查看浏览器中的地址如：\u003cSMALL\u003ehttps://discord.com/channels/123/456 \u003c/SMALL\u003e 其中123为mj_guild_id,456为mj_channel_id\n- 3.获取mj_user_token，浏览器打开F12随便发送一个信息查看Network,Authorization为用户token\n\n\n## 🪜  使用 Proxy（代理）\n\u003cp align=\"center\"\u003eGPT、Midjourney 国内网络环境下使用代理访问\u003c/p\u003e  \n\n- 代理使用，配置流程、[参考地址](https://github.com/a616567126/GPT-WEB-JAVA/wiki/%E4%BD%BF%E7%94%A8%E4%BB%A3%E7%90%86%E8%AF%B7%E6%B1%82GPT%E3%80%81Midjourney)\n\n\n## 📄  使用 百度翻译，内容审核  \n\u003cp align=\"center\"\u003eGPT、Midjourney、Stable-Diffusion 使用文本审核，Midjourney、Stable-Diffusion，使用百度翻译\u003c/p\u003e    \n\n- 1.百度翻译申请，配置流程、[参考地址](https://github.com/a616567126/GPT-WEB-JAVA/wiki/%E7%94%B3%E8%AF%B7%E7%99%BE%E5%BA%A6%E7%BF%BB%E8%AF%91)\n- 1.百度文本审核申请，配置流程、[参考地址](https://github.com/a616567126/GPT-WEB-JAVA/wiki/%E7%94%B3%E8%AF%B7%E7%99%BE%E5%BA%A6%E5%86%85%E5%AE%B9%E5%AE%A1%E6%A0%B8%E5%B9%B3%E5%8F%B0-%E6%96%87%E6%9C%AC)\n\n\n## 🍾  作者推荐\n- 作者使用服务器地址：[浅夏云](https://www.qxqxa.com/aff/ZGWPEDLQ)\n- 作者使用机场地址：[新华云](https://cxcxcxcxin.mengmengcn.cc/#/register?code=fMYmE5Ri)\n- SSL自动续签：[httpsok](https://httpsok.com/?p=4lyB)\n\n\n\n\n## 🥤  Reward（有能力的可以请作者喝一杯冰可落）\n- 支付宝  \n\n\u003cimg src=\"https://user-images.githubusercontent.com/43660702/228105535-144d09cd-6326-4c22-b9b9-8c69c299caac.png\" width=\"100px\" height=\"100px\"\u003e  \n\n- 微信  \n\n\u003cimg src=\"https://user-images.githubusercontent.com/43660702/228105188-09c49078-9156-40bc-8327-f2b05c5bc5fa.png\" width=\"100px\" height=\"100px\"\u003e \n\n## ✉  Scan code to add friends（扫码添加微信好友）⭐  记得点一个Star哦!!!!\n![扫码添加好友](https://user-images.githubusercontent.com/43660702/232187172-9d971a97-b7a3-407f-9ba1-a35516505733.jpeg)\n\n\n\n## \n[![Star History Chart](https://api.star-history.com/svg?repos=a616567126/GPT-WEB-JAVA\u0026type=Timeline)](https://star-history.com/#a616567126/GPT-WEB-JAVA\u0026Timeline)  \n\n\n## SPONSOR\n本项目由[JetBranins](https://www.jetbrains.com/?from=Unity3DTraining)赞助相关开发工具  \n\u003ca href=\"https://www.jetbrains.com/?from=Unity3DTraining\"\u003e\u003cimg src=\"https://github.com/XINCGer/Unity3DTraining/blob/master/Doc/images/jetbrains.png\" width = \"150\" height = \"150\" div align=center /\u003e\u003c/a\u003e  \n\n\n## License\n\nApache License 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa616567126%2Fgpt-web-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa616567126%2Fgpt-web-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa616567126%2Fgpt-web-java/lists"}