Skip to content

Latest commit

 

History

History
111 lines (91 loc) · 4.48 KB

README_EN.md

File metadata and controls

111 lines (91 loc) · 4.48 KB

ChatGPT-Midjourney

中文 | English | 日本語

One-click free deployment of your private ChatGPT+Midjourney web application (based on ChatGPT-Next-Web development)

QQ Group | PRO VERSION

Deploy with Vercel Deploy with Railway

WordPress+ChatGPT支持

Main interface

Support

  • All features of the original ChatGPT-Next-Web
  • midjourney imagine
  • midjourney upscale Zoom in
  • midjourney variation
  • midjourney describe
  • midjourney blend
  • midjourney pad figure
  • Drawing progress percentage, live image display
  • Supports midjournal API on its own

Parameter Description

MIDJOURNEY_PROXY_URL

MIDJOURNEY_PROXY_URL=http://yourip:port

⚠️ Note: If you are using Docker deployment, the address here should be http://public IP:port, not http://localhost:port, because the container in Docker is isolated , localhost points to the address inside the container, not the address of the host.

  • in the interface

mj-6

MIDJOURNEY_PROXY_API_SECRET

(optional) The API request key of midjourney-proxy, to prevent malicious calls from others, can be configured in environment variables.

CODE

(optional) Set the access password on the page to prevent it from being easily used by others to consume the balance

Deployment

ChatGPT-Midjourney front-end deployment

Docker

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" \
    licoy/chatgpt-midjourney:v1.3.8

Vercel

Deploy with Vercel

Manual deployment

  • clone this project to local
  • Install dependencies
npm install
npm run build
npm run start // #or start in development mode: npm run dev

midjourney-proxy service deployment

Docker

  • Run midjourney-proxy (Midjourney API service, for more parameter configuration, please refer to: midjourney-proxy)
docker run -d --name midjourney-proxy \
  -p 8080:8080 \
  -e mj.discord.guild-id=xxx \
  -e mj.discord.channel-id=xxx \
  -e mj.discord.user-token=xxx\
  -e mj.discord.bot-token=xxx\
  --restart=always \
  novicezk/midjourney-proxy:2.3

Railway

Railway is a platform that provides flexible deployment solutions. The service is overseas, which is convenient for MidJourney to call.

Reference: midjourney-proxy - Railway Deployment Tutorial

Use

Enter your painting description starting with /mj in the input box to create a painting, for example:

/mj a dog

Mixing images, recognizing images, matting images

mj-5

Tips: Pad mode/describe mode will only use the first picture, and blend mode will use the two selected pictures in order (click on the picture to remove)

Screenshot

Mixing images, recognizing images, matting images

mj-4

Status real-time acquisition

mj-2

Custom midjourney parameters

mj-2

More features

  • Waiting for you to discover

Acknowledgments

Open source agreement

Anti 996 LICENSE