Comments (9)
可能是你的配置错了。默认是不用配置midjourneyapi的。
from chatgptwithmidjourney.
可能是你的配置错了。默认是不用配置midjourneyapi的。
设置的页面不需要填入 midjourneyapi 吗?
from chatgptwithmidjourney.
可以不写
from chatgptwithmidjourney.
可以不写
我看您写的示例 .env.local 需要创建,然后添加参数
意思是在项目跟目录创建这个文件,然后加入示例的那四个参数吗?
还是说,这个不需要,直接部署运行后在设置里输入opai的key 和 mj的key 就可以了
我想的场景是,项目里配置opai的key和mj的key,用户只需要输入密码就可以使用了。如本项目原版那样,在部署的时候通过环境变量就可以设置默认的opaikey。
from chatgptwithmidjourney.
项目里配置opai的key和mj的key 你理解的是对的。其他不用配置就能跑。
from chatgptwithmidjourney.
非肥肠感谢您的回答,还有一个疑问,是否只需要在项目跟目录下创建 env.local 文件,并只配置 MIDJOURNEY_API_KEY= 一个参数即可。
from chatgptwithmidjourney.
只是做图是够了。
from chatgptwithmidjourney.
只是做图是够了。
您好,我在本地开发进行测试,根目录下创建 env.local 文件,并只配置 MIDJOURNEY_API_KEY= 这一个参数,然后在使用的时候总会报错(操作失败,Required request body is missing: public org.jeecg.common.api.vo.Result<?> org.jeecg.modules.midjourney.controller.WebhookController.request(org.jeecg.modules.midjourney.data.Msg,javax.servlet.http.HttpServletRequest)) 并不知道是不是网络的问题,现在我准备放弃本地开发,如果在 vercel 上部署,不想让用户输入,可否使用 Environment Variables 环境变量来指定 MIDJOURNEY 的key呢?
from chatgptwithmidjourney.
嗯可以的
from chatgptwithmidjourney.
Related Issues (20)
- [Bug] mj生成的图片链接访问不了 HOT 6
- [Bug] mj绘图余额不足时报错 HOT 1
- [Feature] 是否考虑接入novicezk/midjourney-proxy 类似的 HOT 1
- [Bug] https://midjourneyapi.zxx.im/main 付款后报错 HOT 1
- [Feature] 快速制图怎么默认关闭 HOT 2
- [Feature] 提pr到主项目 HOT 1
- MIDJOURNEY_API_KEY和MIDJOURNEY_API_URL可以通过Docker环境变量配置吗? HOT 1
- 能否添加ARM架构的容器镜像
- [Bug] 不挂代理mj图片不显示 HOT 4
- [Bug] 现在api站不赠送积分了嘛 HOT 6
- [Bug] AI绘画出问题了 HOT 1
- [Bug] docker还没更新吗 HOT 8
- [Bug] 图片显示不出来 HOT 2
- 为什么创建了 输入了秘钥 加载不出来图片呢 HOT 9
- [Bug] 输入/mj指令不返回内容 HOT 11
- 你好,这个支持图生图,垫图这个功能吗?api 是快速出图的吗? HOT 3
- [Bug] 你好,也就是说购买了快速线路,就可以使用积分 同时做多个图了,是这个意思吗? HOT 5
- [Feature]
- [Bug] 作图失败时CREDIT点数不退还 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatgptwithmidjourney.