Home

Awesome

midjourney-ui

Midjourney UI is an open source txt2img UI for AI draw

<div align="center"> <p> <a href="https://discord.gg/GavuGHQbV4"><img src="https://img.shields.io/discord/1082500871478329374?color=5865F2&logo=discord&logoColor=white" alt="Discord server" /></a> <a href="https://hub.docker.com/r/erictik/midjourney-ui/tags"> <img src="https://img.shields.io/docker/v/erictik/midjourney-ui?color=5865F2&logo=docker&logoColor=white" alt="Docker" /> </a> </p> </div>

discord bot example

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

Deploy

Vercel

Host your own live version of Midjourney UI with Vercel.

Deploy with Vercel

Netlify

Netlify can use ws

Deploy to Netlify

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