一键免费部署你的私人 ChatGPT+Midjourney 商业版网页应用
- 原
ChatGPT-Next-Web
所有功能 - midjourney
imgine
想象 - midjourney
upscale
放大 - midjourney
variation
变幻 - midjourney
describe
识图 - midjourney
blend
混图 - midjourney 垫图
- 绘图进度百分比、实时图像显示
- 授权卡密功能(带到期时间)
- 接入自己的发卡系统(推荐使用异次元发卡网)支持支付宝、微信、QQ、银行卡、PayPal等支付方式
- 用户系统
- 知识库
- 免登录体验
MIDJOURNEY_PROXY_URL=http://yourip:port
⚠️ 注意:如果你使用的是Docker部署,那么这里的地址应该是http://公网IP:port
,而不是http://localhost:port
,因为Docker中的容器是隔离的,localhost
指向的是容器内部的地址,而不是宿主机的地址。
(可选)midjourney-proxy
的API请求密钥,防止他人恶意调用,可在环境变量中配置。
修改代码位置 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
/>
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
- clone本项目到本地
- 安装依赖
npm install
npm run build
npm run start // #或者开发模式启动: npm run dev
- 运行
midjourney-proxy
(Midjourney API服务,更多参数配置可以参考:midjourney-proxy)
在输入框中以/mj
开头输入您的绘画描述,即可进行创建绘画,例如:
/mj a dog
提示:垫图模式/识图(describe)模式只会使用第一张图片,混图(blend)模式会按顺序使用选中的两张图片(点击图片可以移除)
- 等你自行发掘