You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
找到问题原因了。gemini的key只能用于生图。作者用了两个不同的库导致的。
Google AI Studio generativelanguage.googleapis.com API Key (Simple)
Vertex AI (GCP) aiplatform.googleapis.com OAuth2 / IAM (Service Account)
找到问题原因了。gemini的key只能用于生图。作者用了两个不同的库导致的。 Google AI Studio generativelanguage.googleapis.com API Key (Simple) Vertex AI (GCP) aiplatform.googleapis.com OAuth2 / IAM (Service Account)
Activity
cfyuanyi commentedon Dec 4, 2025
同意! 问生图阶段一直失败, 在comfyUI里面就一切正常.
tonyklose1984 commentedon Dec 4, 2025
确实,怎么都生成失败。
weichen-ink commentedon Dec 4, 2025
原来我不是一个人啊哈哈,花了2天时间捣鼓,只有tuziapi的原价模型成功了,其他都失败了,关键是原价贵啊,一次烧掉20刀,有点可怕。用他们默认的分组,怎么都不成功
tonebean commentedon Dec 4, 2025
你们不是一个人,哈哈哈
wang153723482 commentedon Dec 5, 2025
`03:26:47 | WARNING | backend.services.image
└─ 图片 [0] 生成失败 (尝试 3/3): ❌ 模型不存在
【可能原因】
【解决方案】
`
地区应该没问题,毕竟调用gemini-2.0-flash-exp生成大纲已经成功了。
拼写肯定没问题,直接复制粘贴的imagen-3.0-generate-002 。
如果使用 gemini-2.0-flash-exp-image-generation 会提示不允许指定长宽比。
哪位能指点一二,感谢。
wanai2024 commentedon Dec 5, 2025
HisMax commentedon Dec 5, 2025
有些中转站可能缩水了。其实我也是想做很多适配的,但是我发现大部分中转站对于新出来的nanobanana的这个格式支持的不是很好,文档也不是很全。主要是文档不全,而且怎么处理的都有。预计这周末会上一个适配跟全面的版本
0RAJA commentedon Dec 6, 2025
@Zwj9527668 实际验证了下:gemini-2.5-flash 和 gemini-3-pro-image-preview 分别作为文本和图片的模型是 ok 的
mefoxmefox commentedon Dec 6, 2025
localhost:12398 显示
Vertex Al 无法通过 API Key 测试连接(需要 OAuth2 认证)。请在实际生成图片时验证配置是否正确。
折腾了两天都,还特意开了Gemini的付费API,一直不行,跟大家发现的问题都一样。
作者可否来回复下什么情况?多谢了
HisMax commentedon Dec 7, 2025
@mefoxmefox Gemini的付费API是肯定可以的,请检查API供应商的设置以及本地配置。
mefoxmefox commentedon Dec 7, 2025
感谢回复。经过折腾,这个问题已经解决了。另外500报错问题,已经补充后端日志重新提交issue,再麻烦佬帮忙看看。感谢感谢。
laoma528 commentedon Dec 9, 2025
看来只能使用官方api,这个成本有点贵呢
现在使用的中转api
文本生成没问题,文生图要么是生成失败,要么是完全错误的生成。文本和图片内容 完全不搭嘎
LTNdeep commentedon Dec 9, 2025
可以适配一下豆包的文生图api吗?
xiaofeiyang104 commentedon Dec 10, 2025
请问google的base url要填什么啊
4 remaining items
hehuapei commentedon Dec 12, 2025
weynechen commentedon Dec 13, 2025
这个后面是怎么解决的,我也遇到了。我的Google AI Studio API是有费用的 @
weynechen commentedon Dec 13, 2025
找到问题原因了。gemini的key只能用于生图。作者用了两个不同的库导致的。
Google AI Studio generativelanguage.googleapis.com API Key (Simple)
Vertex AI (GCP) aiplatform.googleapis.com OAuth2 / IAM (Service Account)
RononChen commentedon Dec 13, 2025
敢问老师那这个怎么解决呢?
RononChen commentedon Dec 13, 2025
RononChen commentedon Dec 14, 2025
同问楼上一样的问题.感谢大佬
handsomeboyck commentedon Dec 16, 2025
成本太高了
Zhang-zhi-guo commentedon Dec 17, 2025
BULIBULI501 commentedon Dec 17, 2025
我也是七牛,绘图阶段只能首页成功,其他都失败。
musingsz commentedon Dec 19, 2025
大哥你的效果也很好,用的豆包哪个模型
rayMax0 commentedon Dec 19, 2025
HisMax commentedon Dec 23, 2025
不要在issue里打广告哦,第一次删,第二次直接屏蔽拉黑! PS:这周末会上大更新!
siknet commentedon Dec 29, 2025
中转站全部出错,提示:
❌ 连接失败:Missing dependencies for SOCKS support.
wsfwas commentedon Jan 9, 2026
测试跑得通,实际生成不可以