Skip to content

ye4241/midjourney-captcha-bot

Repository files navigation

Midjourney Captcha Bot

中文

A bot to solve midjourney captcha for midjourney-proxy;

Configuration

# Create a virtual environment
python -m venv venv
# Activate the virtual environment
# Linux or macOS
source venv/bin/activate
# Windows Command Prompt
venv\Scripts\activate.bat
# Windows PowerShell
venv\Scripts\activate.ps1
# Install the required packages
pip install -r requirements.txt
# Install Playwright
playwright install
# Install discord-self package if you want to use discord bot
pip install git+https://github.com/dolfies/discord.py-self.git

Run with Playwright and YesCaptcha or 2Captcha

  1. Register YesCaptcha or 2Captcha;
  2. Copy the Client Key or API Key, like 3c21....3221;
  3. Run the following command to start the server:
    # YesCaptcha
    python server.py --solver-type=playwright --yescaptcha-key=3c21....3221
    # 2Captcha
    python server.py --solver-type=playwright --2captcha-key=3c21....3221
  4. For more args, run python server.py --help;