ZHO-ZHO-ZHO / ComfyUI-Gemini

Using Gemini in ComfyUI
GNU General Public License v3.0
643 stars 58 forks source link

梯子能登录gemini,写入config.json连不上,且每次启动config.json会重置! #9

Open bluetyhyhf opened 6 months ago

bluetyhyhf commented 6 months ago

Error occurred when executing Gemini_API_S_Zho:

400 POST https://generativelanguage.googleapis.com/v1beta/models/gemini-pro-vision:generateContent?%24alt=json%3Benum-encoding%3Dint: API key expired. Please renew the API key. [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}],用梯子登录gemini可以,但是把api写入config.json里,每次重启都会重置config.json文件,希望大佬解决下,谢谢!

Elminsst commented 4 months ago

一样的问题,你是不是用的秋叶启动器? 看一下这个选项 d3f14ad9ec31831365621e02fbf347d 我这里选好就解决了

ziziran97 commented 4 months ago

一样的问题,你是不是用的秋叶启动器? 看一下这个选项 d3f14ad9ec31831365621e02fbf347d 我这里选好就解决了

奇怪,我这一项时开的, 但是还是抱错。