图龙网络科技

问答社区

原创作者: 图龙网络科技 发布时间: 2023-09-23 231.95K 人阅读

Midjourney UI 是一款基于中途的开源AI绘画UI

太极混元 发布于 9个月前 分类:CHATGPT

Midjourney-ui

下载代码请复制以下命令到终端执行:git clone https://gitee.com/tulong_co/midjourney-ui.git

Midjourney UI is an open source txt2img UI for AI draw

discord bot example

See README.dev.md for development instructions. See a screenshot of the UI

Deploy

Vercel

Host your own live version of Midjourney UI with Vercel.

Netlify

Netlify can use ws

Docker

docker run --env-file .env -p 3000:3000 erictik/midjourney-ui

or

docker run -e SALAI_TOKEN=xxxxxxxx  -e SERVER_ID=xxxxxxxx -e CHANNEL_ID=xxxxxxxx -p 3000:3000 erictik/midjourney-ui

Runnning locally

  1. clone the repo
git clone https://github.com/erictik/midjourney-ui.git
cd midjourney-ui
  1. install dependencies
npm install

or

yarn
  1. set the environment variables
    How to get your Discord SALAI_TOKEN
    How to HUGGINGFACE_TOKEN
export SALAI_TOKEN=xxxxxxxx
export SERVER_ID=xxxxxxxx
export CHANNEL_ID=xxxxxxxx
export HUGGINGFACE_TOKEN=xxx
  1. run the development server
npm run dev

or

yarn dev
  1. open http://localhost:3000 with your browser to see the result.

Build

# if needed
yarn install --frozen-lockfile

yarn build

docker build -t erictik/midjourney-ui

Route map

  •  imagine
  •  upsclae & variation
  •  prompt help
  •  chatgpt prompt generation
  •  history of generated images

1个回复

  • 太极混元

    我还没有测试过该程序,原因没有多余的服务器。如果你测试好安装成功,请留下您的方法方便大家测试。

提供中小企业建站高端正版精品系统

正品模板 购买协议