{"id":24044482,"url":"https://github.com/luoling8192/mj-router","last_synced_at":"2026-06-11T18:31:05.405Z","repository":{"id":270454695,"uuid":"910433331","full_name":"luoling8192/mj-router","owner":"luoling8192","description":"A FastAPI service that provides a unified interface for generating images using various AI providers (DALL-E, Midjourney, OpenRouter).","archived":false,"fork":false,"pushed_at":"2025-01-01T11:33:05.000Z","size":242,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-05T03:08:30.969Z","etag":null,"topics":["dalle","fastapi","midjourney","openrouter"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luoling8192.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-31T09:02:03.000Z","updated_at":"2025-05-06T06:04:42.000Z","dependencies_parsed_at":"2024-12-31T09:36:14.035Z","dependency_job_id":"94a653c0-3a8c-443b-ac04-71c607f49b9c","html_url":"https://github.com/luoling8192/mj-router","commit_stats":null,"previous_names":["luoling8192/mj-router"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/luoling8192/mj-router","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luoling8192%2Fmj-router","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luoling8192%2Fmj-router/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luoling8192%2Fmj-router/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luoling8192%2Fmj-router/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luoling8192","download_url":"https://codeload.github.com/luoling8192/mj-router/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luoling8192%2Fmj-router/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34213180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dalle","fastapi","midjourney","openrouter"],"created_at":"2025-01-08T23:31:30.766Z","updated_at":"2026-06-11T18:31:05.386Z","avatar_url":"https://github.com/luoling8192.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Image Generation API\n\nA unified FastAPI service for generating images through multiple AI providers (DALL-E, Midjourney). Integrates with [midjourney-proxy](https://github.com/novicezk/midjourney-proxy) for Midjourney support.\n\n## Key Features\n\n🎨 Core Features:\n- 🔄 Asynchronous image generation with real-time progress tracking\n- 🤖 Support for multiple AI providers (DALL-E, Midjourney)\n- 📚 Comprehensive API documentation with OpenAPI/Swagger\n\n⚙️ Technical Features:\n- 🔌 Provider-agnostic interface with extensible provider system\n- 🛡️ Robust error handling and retry mechanisms\n- ⏳ Rate limiting and request queueing\n- 📊 Structured logging and monitoring\n\n## Getting Started\n\n### System Requirements\n\n- Python 3.12 or higher\n- Package manager: uv\n- For Midjourney integration:\n  - Running midjourney-proxy instance\n  - Discord account with active Midjourney subscription\n  - Discord server and channel configuration\n\n### Setup Guide\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/luoling8192/mj-router.git\n   cd mj-router\n   ```\n\n2. Set up Python environment:\n   ```bash\n   python -m venv .venv\n   source .venv/bin/activate  # Windows: `.venv\\Scripts\\activate`\n   ```\n\n3. Install dependencies:\n   ```bash\n   uv venv\n   uv pip install -r requirements.txt\n   ```\n\n4. Configure environment:\n   ```bash\n   cp .env.example .env\n   # Edit .env with your configuration\n   ```\n\n5. Launch development server:\n   ```bash\n   uvicorn src.main:app --reload --port 8000\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluoling8192%2Fmj-router","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluoling8192%2Fmj-router","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluoling8192%2Fmj-router/lists"}