Midjourney UI: An elegantly designed, highly customizable interface, purpose-built to enhance the prompt engineering with ChatGPT.
- Midjourney with highly customizalbe UI
- User gallery
- ChatGPT prompt helper
from https://github.com/George-iam/Midjourney_api#midjourney_api
- Create Discord account and create your server(instruction here: https://discord.com/blog/starting-your-first-discord-server)
- Create Midjourney account and invite Midjourney Bot to your server (instruction here: https://docs.midjourney.com/docs/invite-the-bot)
- Make sure generation works from your server
- Log in to Discord in Chrome browser, open your server's text channel, click on three points upper right corner, then More Tools and then Developer Tools. Select Network tab, you'll see all the network activity of your page.
- Now type any prompt to generate in your text channel, and after you press Enter to send message with prompt, you'll see in Network Activity new line named "interaction". Press on it and choose Payload tab and you'll see payload_json - that's what we need! Copy channelid, application_id, guild_id, session_id, version and id values, we'll need it a little bit later. Then move from Payload tab to Headers tab and find "authorization" field, copy it's value too.
- Copy and paste payload and header values to
.env
file. (Rename.env.template
to.env
) - Get OpenAI API key from here and copy/paste into
.env
. - Rename
mj.db.template
tomj.db
to prepare sqlite3 database. - Run:
$ pip install -r requirements.txt
$ streamlit run Imagine.py
- streamlit==1.22.0
- streamlit_extras==0.2.7
- streamlit_pills==0.3.0
- apsw==3.41.2.0
- htbuilder==0.6.1
- openai==0.27.6
- pandas==1.4.4
- python-dotenv==1.0.0
- Requests==2.30.0
- Midjourney
- YouTube 빵형의 개발도상국