Skip to content

erictik/midjourney-ui

Repository files navigation

midjourney-ui

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 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

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