Skip to content

一款聚合ChatGPT和Midjourney的商业版,可对接自己的发卡网,卡密自带到期时间。A commercial version that integrates ChatGPT and Midjourney, which can be connected to your own card issuing network, and the card password has its own expiration time.

License

Notifications You must be signed in to change notification settings

1441853031/ChatGpt_Midjourney_Business

Repository files navigation

ChatGPT-Midjourney-Business

一键免费部署你的私人 ChatGPT+Midjourney 商业版网页应用

(基于ChatGPT-Next-Web,ChatGPT-Midjourney开发)

Deploy with Vercel

主界面

收益效果

收益效果

功能支持

  • ChatGPT-Next-Web所有功能
  • midjourney imgine 想象
  • midjourney upscale 放大
  • midjourney variation 变幻
  • midjourney describe 识图
  • midjourney blend 混图
  • midjourney 垫图
  • 绘图进度百分比、实时图像显示
  • 授权卡密功能(带到期时间)
  • 接入自己的发卡系统(推荐使用异次元发卡网)支持支付宝、微信、QQ、银行卡、PayPal等支付方式

开发计划

  • 用户系统
  • 知识库
  • 免登录体验

参数说明

MIDJOURNEY_PROXY_URL

MIDJOURNEY_PROXY_URL=http://yourip:port

⚠️注意:如果你使用的是Docker部署,那么这里的地址应该是http://公网IP:port,而不是http://localhost:port,因为Docker中的容器是隔离的,localhost指向的是容器内部的地址,而不是宿主机的地址。

MIDJOURNEY_PROXY_API_SECRET

(可选)midjourney-proxy的API请求密钥,防止他人恶意调用,可在环境变量中配置。

授权码

授权码生成方式 + 微信 : awm8u8获取 img.png

嵌入到自己的发卡

修改代码位置 1./app/locales/cn.ts

Error: {
    Unauthorized:
        "前往[登录](/#/auth)输入授权码\n 购买地址https://faka.gptsb.cn/",
}

2./app/components/sidebar.tsx

<IconButton
          icon={<AlipayIcon />}
        text={shouldNarrow ? undefined : "获取授权码"}
        className={styles["sidebar-bar-button"]}
        onClick={() => (window.location.href = "https://faka.gptsb.cn/")}
        shadow
        />

部署

ChatGPT-Midjourney-Business 前端部署

docker run -d -p 3000:3000 \
   -e OPENAI_API_KEY="sk-xxx" \
   -e CODE="123456" \
   -e BASE_URL="https://api.openai.com" \
   -e MIDJOURNEY_PROXY_URL="http://ip:port" \
   1441853031/chatgpt-midjourney-business:v1.0.2

Vercel

Deploy with Vercel

手动部署

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

midjourney-proxy 服务部署

  • 运行 midjourney-proxy (Midjourney API服务,更多参数配置可以参考:midjourney-proxy)

使用

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

/mj a dog

混图、识图、垫图

mj-5

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

截图

混图、识图、垫图

mj-4

状态实时获取

mj-2

自定义midjourney参数

mj-2

更多功能

  • 等你自行发掘

鸣谢

Plus版本

演示地址http://gpt.414uj.cn/chat image image

image image image image image image

About

一款聚合ChatGPT和Midjourney的商业版,可对接自己的发卡网,卡密自带到期时间。A commercial version that integrates ChatGPT and Midjourney, which can be connected to your own card issuing network, and the card password has its own expiration time.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages