ComfyUI Extension: Comfyui_ToAPIs_nano_banana
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.
Custom ComfyUI node for calling ToAPIs image generation interface with support for text-to-image and image-to-image operations. (Description by CC)
Looking for a different extension?
Custom Nodes (0)
README
Comfyui_ToAPIs_nano_banana
一个用于 ComfyUI 的自定义节点,可直接调用 ToAPIs 图像生成接口。
支持:
text-to-imageimage-to-image
ComfyUI 中的节点名称:
ToAPIs Image Generation
安装
将仓库放到 ComfyUI 的 custom_nodes 目录:
cd ComfyUI/custom_nodes
git clone https://github.com/zhangyi196/Comfyui_ToAPIs_nano_banana.git
安装依赖:
pip install requests pillow numpy
然后重启 ComfyUI。
使用
在 ComfyUI 中添加 ToAPIs Image Generation 节点。
文生图
mode选择text-to-image- 填写
api_key - 输入
prompt - 选择
model、resolution、size
图生图
mode选择image-to-image- 给
image_1连接输入图片 - 填写
api_key - 输入
prompt - 选择
model、resolution、size
输入参数
必填参数:
modeapi_keypromptmodelresolutionsizeseed
可选图片输入:
image_1到image_10
当前版本实际只使用了 image_1。
输出
image:生成后的图片image_url:结果图片 URLresponse:接口响应内容
当前支持的模型
gemini-3-pro-image-previewgemini-3.1-flash-image-previewgemini-2.5-flash-image-preview
注意事项
- 需要可用的 ToAPIs API Key
- 需要网络访问
https://toapis.com image-to-image模式下必须传入image_1- 默认最长等待时间约为
240秒
已知限制
seed目前没有实际传入 APIimage_2到image_10暂未启用- 目前还没有提供工作流示例 JSON
License
MIT 许可证。
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.