ComfyUI-SAI_API

ComfyUI-SAI_API
★ 60

图像生成图像编辑外扩与去背API密钥管理
将 Stability AI 平台(Stable Image v2)接入 ComfyUI,提供 SD3、Outpainting、Inpainting、Image Core、Remove Background、Creative Upscale 等图像生成与编辑节点,并支持通过环境变量、密钥文件或节点级 api_key_override 覆盖 API Key。
💡 在 ComfyUI 中调用 Stability AI 的 Stable Image v2 接口进行图像生成与编辑。
🍴 15 Forks💻 Python🔄 2025-03-04
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/86a6deb1b5f6
alt text
📄 README

Stability API nodes for ComfyUI

Usage:

Add API key to environment variable “SAI_API_KEY

Alternatively you can write your API key to file “sai_platform_key.txt

You can also use and/or override the above by entering your API key in the “api_key_override” field of each node, but be careful sharing workflows containing your API key.

Includes nodes for all the v2 (Stable Image) routes listed at https://platform.stability.ai

Nodes list:

  • Stability Conservative Upscale
  • Stability Creative Upscale
  • Stability Remove Background
  • Stability Erase
  • Stability Inpainting
  • Stability Image Core
  • Stability Image Ultra
  • Stability Search and Replace
  • Stability Outpainting
  • Stability SD3
  • Stability Control Sketch
  • Stability Control Structure
  • Stability Search And Recolor
  • Stability Control Style
  • Stability Fast Upscale
  • Stability Replace Background and Relight
  • License

    The MIT License (MIT)

    Copyright (c) 2024 Stability AI

    Permission is hereby granted, free of charge, to any person obtaining a copy

    of this software and associated documentation files (the “Software”), to deal

    in the Software without restriction, including without limitation the rights

    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

    copies of the Software, and to permit persons to whom the Software is

    furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all

    copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR

    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,

    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE

    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER

    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,

    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE

    SOFTWARE.