GithubHelp home page GithubHelp logo

lchxair / chatgpt-midjourney Goto Github PK

View Code? Open in Web Editor NEW

This project forked from licoy/chatgpt-midjourney

0.0 0.0 0.0 3.64 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% Rust 0.07% TypeScript 85.59% Dockerfile 0.32% SCSS 12.64%

chatgpt-midjourney's Introduction

🍭 ChatGPT-Midjourney

中文 | English

一键免费部署你的私人 ChatGPT+Midjourney 网页应用(基于ChatGPT-Next-Web开发)

QQ交流群 | 💥PRO版本

WordPress+ChatGPT支持

主界面

功能支持

🍭 PRO版本支持更强大的功能,宝塔5分钟部署,配置超简单,强大的在线后台管理及配置框架让你丝滑体验,占用内存不到100M包含对话+绘画账号池支持等等,支持高并发:💥 点我立即查看及体验PRO版本最低1C1G的服务器就能流畅运行

已支持

  • ChatGPT-Next-Web所有功能
  • Midjourney Imgine 想象
  • Midjourney Upscale 放大
  • Midjourney Variation 变幻
  • Midjourney Zoom 扩图
  • Midjourney Vary 变化
  • Midjourney Pan 平移
  • Midjourney Reroll 重新生成
  • Midjourney Describe 识图
  • Midjourney Blend 混图
  • Midjourney 垫图
  • 绘图进度百分比、实时图像显示
  • 自定义Discord的API、CDN、Websocket支持
  • 自身内部支持 Midjourney 服务,无需任何第三方依赖

即将支持

  • 支持Midjourney外部中转站API可选支持
  • 支持图像R2存储
  • 支持对话模型多模态支持
  • 中转GPTs支持

参数说明

MJ_SERVER_ID

Discord 服务器ID

MJ_CHANNEL_ID

Discord 频道ID

MJ_USER_TOKEN

Discord 用户Token

MJ_DISCORD_PROXY

Discord 代理域名,默认为:https://discord.com

MJ_DISCORD_WSS_PROXY

Discord Websocket代理域名,默认为:wss://gateway.discord.gg

MJ_DISCORD_WSS_PROXY

Discord CDN代理域名,默认为:https://cdn.discordapp.com

CODE

(可选)设置页面中的访问密码

其余参数

与 ChatGPT-Next-Web 一致

部署

Docker

docker run -d -p 3000:3000 \
   -e OPENAI_API_KEY="sk-xxx" \
   -e BASE_URL="https://api.openai.com" \
   -e MJ_SERVER_ID="" \
   -e MJ_CHANNEL_ID="" \
   -e MJ_USER_TOKEN="" \
   licoy/chatgpt-midjourney:v3.2.2

Vercel

Deploy with Vercel

Railway

Deploy on Railway

Sealos

手动部署

  • clone本项目到本地
  • 安装依赖
npm install
npm run build
npm run start // #或者开发模式启动: npm run dev

使用

⚠ 注意事项

  • 在绘画之前需要关闭Remix模式,否则会出现无法Vary、Pan、Zoom等无法绘画的情况:在Discord中输入/setting,然后点击Remix Mode即可关闭。

创建绘画

在输入框中以/mj开头输入您的绘画描述,即可进行创建绘画,例如:

/mj a dog

混图、识图、垫图

mj-5

提示:垫图模式/识图(describe)模式只会使用第一张图片,混图(blend)模式会按顺序使用选中的两张图片(点击图片可以移除)

截图

混图、识图、垫图

mj-4

状态实时获取

mj-2

自定义midjourney参数

mj-2

更多功能

等你自行发掘

开源协议

MIT

chatgpt-midjourney's People

Contributors

licoy avatar kennydizi avatar michaelyuhe avatar zhtwinkle avatar ezioruan avatar ai-chef avatar yangchuansheng avatar gitlayzer avatar eltociear avatar fanux avatar

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.