GithubHelp home page GithubHelp logo

midjourney-proxy-plus's Introduction

midjourney-proxy-plus

主要功能

  • 支持 Imagine 指令和相关动作
  • Imagine 时支持添加图片base64,作为垫图
  • 支持 Blend(图片混合)、Describe(图生文) 指令
  • 支持Upscale(2x),Upscale(4x)放大分辨率命令
  • 支持Zoom Out 1.5x,Zoom Out 2x缩放命令
  • 支持Vary(Subtle),Vary(Strong)轻微变化和强烈变化命令
  • 支持上下左右延伸变化命令
  • 支持任务实时进度
  • 支持任务内存存储和Redis存储
  • 支持中文prompt翻译,需配置百度翻译或gpt
  • prompt 敏感词预检测,支持覆盖调整
  • user-token 连接 wss,可以获取错误信息和完整功能
  • 支持多账号配置,每个账号可设置对应的任务队列

使用前提

  1. 注册并订阅 MidJourney,创建自己的服务器和频道,参考 https://docs.midjourney.com/docs/quick-start
  2. 获取用户Token、服务器ID、频道ID:获取方式

本地开发

  • 依赖java17和maven
  • 更改配置项: 修改src/main/application.yml
  • 项目运行: 启动ProxyApplication的main函数

配置项

  • mj.accounts: 参考 账号池配置
  • mj.task-store.type: 任务存储方式,默认in_memory(内存\重启后丢失),可选redis
  • mj.task-store.timeout: 任务存储过期时间,过期后删除,默认30天
  • mj.api-secret: 接口密钥,为空不启用鉴权;调用接口时需要加请求头 mj-api-secret
  • mj.translate-way: 中文prompt翻译成英文的方式,可选null(默认)、baidu、gpt
  • 更多配置查看 配置项

相关文档

  1. API接口说明

注意事项

  1. 作图频繁等行为,可能会触发midjourney账号警告,请谨慎使用

midjourney-proxy-plus's People

Contributors

baiweijieku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

midjourney-proxy-plus's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.