trueai-org/midjourney-proxy

🦄 The world's largest Midjourney drawing API, generating over 1 million drawings daily, supporting Discord Youchuan Midjourney 🐂!

What it solves

Midjourney does not provide an official public API, making it difficult for developers to integrate Midjourney's image generation capabilities into their own applications or websites. This project provides a proxy API that bridges the gap between external applications and Midjourney's Discord-based interface.

How it works

The project acts as a middleware that proxies requests to Midjourney's Discord channels, the Midjourney website, and Youchuan. It manages a pool of Midjourney accounts, handles the prompt submission and result retrieval, and exposes these functions via a standard API. It also includes features for account management, task queueing, and automated handling of CloudFlare human verification.

Who it’s for

Developers who want to build AI image generation apps, service providers offering Midjourney access as a service, and users who want a more programmable way to interact with Midjourney.

Highlights

  • Comprehensive Command Support: Supports Imagine, Blend, Describe, Shorten, Pan, Zoom, and Vary (Region).
  • Account Management: Features a dynamic account pool with support for multiple account selection modes (Random, Weight, Polling, etc.) and speed modes (Fast, Relax, Turbo).
  • **- Face Swapping: Integrated one-click face swapping for both images and videos.
  • **- Enterprise-Grade Infrastructure: Supports distributed deployment, load balancing via Consul, and multiple database backends (MySQL, PostgreSQL, SQL Server, MongoDB, SQLite).
  • **- Automation: Includes automated CloudFlare verification and 2FA support to maintain account stability.
  • **- Storage Integration: Supports saving images to local storage, Aliyun OSS, S3, and Cloudflare R2 with CDN acceleration options.

Related

  • Project
  • Project
  • Project
  • Project
  • Project