Skip to content

Midjourney UI, latest features contains vary region

License

Notifications You must be signed in to change notification settings

mcarlucci/midjourney-ui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 https://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
  • Vary Region

Enable Auth

  1. No auth

No addition environment variables.

  1. Code
NEXT_PUBLIC_AUTH_PROVIDER=code
NEXT_PUBLIC_AUTH_CODE=123456

Input code to launch app code

  1. Netlify
export NEXT_PUBLIC_AUTH_PROVIDER=netlify

Need open netlify identity on netlify.

Enable Vary Region

Vary Region

  1. Local setting
# for macOS
export PUPPETEER_CHROME_BIN="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"

# for windows (Depends on your installation path)
export PUPPETEER_CHROME_BIN="C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe"
  1. Docker

Already be set up, can run directly.

  1. Netlify

Since the function has a 10s limit, it can't be called successfully.

About

Midjourney UI, latest features contains vary region

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 90.0%
  • CSS 6.3%
  • JavaScript 2.4%
  • Dockerfile 1.3%