Comfy-Org / Comfy-Org/ComfyUI

调用谷歌gemini image api最新模型 gemini-2.5-flash-image-preview时出错

Open
#9,589 1 comment 0 reactions 0 assignees View on GitHub
bug-cop:answered Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Custom Node Testing

- [ ] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Expected Behavior

修改谷歌最新模型api的节点

### Actual Behavior

跑完节点乱码,且有时候不返回结果,或者结果是原图也扣积分

Image

### Steps to Reproduce

跟完节点就乱码了,有时候不返回结果,或者返回和参考图一模一样的结果也扣积分

### Debug Logs

```powershell
Prompt executed in 14.07 seconds
got prompt
Prompt executed in 12.20 seconds
got prompt
Prompt executed in 2.55 seconds
got prompt
Prompt executed in 1.60 seconds
终端日志没出错
```

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.