New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ feat: support midjourney-proxy API secret #29
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thank you for raising your pull request and contributing to our Community |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #29 +/- ##
======================================
Coverage ? 1.60%
======================================
Files ? 59
Lines ? 2999
Branches ? 69
======================================
Hits ? 48
Misses ? 2893
Partials ? 58 ☔ View full report in Codecov by Sentry. |
我想知道如何使用到可以输入key的 mj |
bump |
@YangHanlin 构建有报错,我下周看下原因 |
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
This PR adds support for configuring the API secret to be passed as
Mj-Api-Secret
header to midjourney-proxy(-plus).Users have the flexibility to set the API secret in two ways: on the server side, it can be specified through the
MIDJOURNEY_PROXY_API_SECRET
environment variable; on the client side, it can be configured via the LobeChat plugin settings or through the settings dialog available in the standalone web UI, similar to the process for configuring the proxy URL.Closes #14, closes #24, closes #25
📝 补充信息 | Additional Information
I found that LobeChat seems to have a small bug that will prevent the Midjourney plugin from working after this PR is merged, and have proposed a PR lobehub/lobe-chat#1991 for that. Please review that PR before this. Thanks!