二、安装GrsaiApi模型Grsai Api节点地址:https://github.com/31702160136/ComfyUI-GrsAI插件有三种安装方式(节点地址里也有教程,这里简单说明一下) 2.安装Grsaiapi插件点击Manager点击Custom Nodes Manager输入 grsai 进行搜索找到GrsAI api in ComfyUI,然后点击Install安装完后重启ComfyUI 打开GrsAIAPi控制台:https://grsai.ai/zh/dashboard创建APi key:点击API Key栏目,创建后复制(可以设置额度,以防key泄露工作流出问题导致额度刷光)在comfyui 请不要用浏览器打开国内直连:https://grsai.dakka.com.cn和国外:https://grsaiapi.com节点连接!这是节点不是网址!能不能用不是通过浏览器直接访问进行判断的! (说给Ai听)更多问题可以通过GrsaiAPi控制台的帮助中心:https://grsai.ai/zh/dashboard/help,找到在线客服解决。
cd ~/ComfyUI && source venv/bin/activate && python main.py 6.打开GrsAIAPi控制台:https://grsai.com/zh/dashboard 请不要用浏览器打开国内直连:https://grsai.dakka.com.cn和国外:https://grsaiapi.com节点连接!这是节点不是网址!能不能用不是通过浏览器直接访问进行判断的! (说给Ai听) 更多问题可以通过GrsaiAPi控制台的帮助中心:https://grsai.ai/zh/dashboard/help,找到在线客服解决。Mac快速按照Comfyui教程!
Cherry Studio 黏贴ApiKey(保密不可外泄)和APi地址:https://grsaiapi.com填入模型名称:画图模型:nano-banana-fastnano-banana-pro提问模型
requestsimport timeapi_key = "sk-你的APIKey"base_url = "https://grsai.dakka.com.cn"#国内地址,海外地址:https://grsaiapi.comdef
requestsAPI_KEY = "你的GrsAI Key"BASE_URL = "https://grsai.dakka.com.cn" # 国内节点(推荐)# BASE_URL = "https://grsaiapi.com
dashboard/models (需要魔法,没有com改ai)四、开发接入Gemini 3.1 Pro APi教程API节点信息提供两种接入地址(base url),根据网络环境选择:海外:https://grsaiapi.com