元編程參考文件

ComfyUI 介面

6 個節點

本頁內容 6

高階影像生成

函數

此節點沒有文件說明。

簽名
高階影像生成 -> Pixel Image
    正向提示詞: 文字
    反向提示詞: 文字
    模型: 文字
    配置: ComfyUIAPIHelper.ComfyUIAPIServiceConfiguration
PixelImage AdvancedGenerateImage(
    string posive,
    string negative,
    string model = "sd3.5_large_fp8_scaled.safetensors",
    ComfyUIAPIHelper.ComfyUIAPIServiceConfiguration configuration)

參數

名稱型別預設值說明
正向提示詞文字—
反向提示詞文字—
模型文字sd3.5_large_fp8_scaled.safetensors
配置ComfyUIAPIHelper.ComfyUIAPIServiceConfiguration—

返回

結果Pixel Image
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
ComfyUI 介面
所屬包
生成式 AI

配置 ComfyUI 服務

函數

此節點沒有文件說明。

簽名
配置 ComfyUI 服務 -> ComfyUIAPIHelper.ComfyUIAPIServiceConfiguration
    自訂伺服器: 文字
    存取令牌: 文字
ComfyUIAPIHelper.ComfyUIAPIServiceConfiguration ConfigureComfyUIService(
    string customServer = "http://127.0.0.1:8188",
    string accessToken)

參數

名稱型別預設值說明
自訂伺服器文字http://127.0.0.1:8188
存取令牌文字—

返回

結果ComfyUIAPIHelper.ComfyUIAPIServiceConfiguration
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
ComfyUI 介面
所屬包
生成式 AI

由工作流生成

函數

此節點沒有文件說明。

簽名
由工作流生成 -> Pixel Image 陣列
    工作流 JSON: 文字
    配置: ComfyUIAPIHelper.ComfyUIAPIServiceConfiguration
PixelImage[] GenerateFromWorkflow(
    string workflowJson,
    ComfyUIAPIHelper.ComfyUIAPIServiceConfiguration configuration)

參數

名稱型別預設值說明
工作流 JSON文字—
配置ComfyUIAPIHelper.ComfyUIAPIServiceConfiguration—

返回

結果Pixel Image 陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
ComfyUI 介面
所屬包
生成式 AI

由工作流檔案生成

函數

此節點沒有文件說明。

簽名
由工作流檔案生成 -> Pixel Image 陣列
    工作流 API JSON 檔案: 文字
    配置: ComfyUIAPIHelper.ComfyUIAPIServiceConfiguration
PixelImage[] GenerateFromWorkflowFile(
    string workflowPromptAPIJsonFile,
    ComfyUIAPIHelper.ComfyUIAPIServiceConfiguration configuration)

參數

名稱型別預設值說明
工作流 API JSON 檔案文字—
配置ComfyUIAPIHelper.ComfyUIAPIServiceConfiguration—

返回

結果Pixel Image 陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
ComfyUI 介面
所屬包
生成式 AI

簡單影像生成

函數

此節點沒有文件說明。

簽名
簡單影像生成 -> Pixel Image
    正向提示詞: 文字
    反向提示詞: 文字
    模型: 文字
    配置: ComfyUIAPIHelper.ComfyUIAPIServiceConfiguration
PixelImage SimpleGenerateImage(
    string posive,
    string negative,
    string model = "v1-5-pruned-emaonly-fp16.safetensors",
    ComfyUIAPIHelper.ComfyUIAPIServiceConfiguration configuration)

參數

名稱型別預設值說明
正向提示詞文字—
反向提示詞文字—
模型文字v1-5-pruned-emaonly-fp16.safetensors
配置ComfyUIAPIHelper.ComfyUIAPIServiceConfiguration—

返回

結果Pixel Image
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
ComfyUI 介面
所屬包
生成式 AI

簡單影像修改

函數

此節點沒有文件說明。

簽名
簡單影像修改 -> Pixel Image
    原圖: Pixel Image
    正向提示詞: 文字
    反向提示詞: 文字
    模型: 文字
    配置: ComfyUIAPIHelper.ComfyUIAPIServiceConfiguration
PixelImage SimpleModifyImage(
    PixelImage original,
    string posive,
    string negative,
    string model = "v1-5-pruned-emaonly-fp16.safetensors",
    ComfyUIAPIHelper.ComfyUIAPIServiceConfiguration configuration)

參數

名稱型別預設值說明
原圖Pixel Image—
正向提示詞文字—
反向提示詞文字—
模型文字v1-5-pruned-emaonly-fp16.safetensors
配置ComfyUIAPIHelper.ComfyUIAPIServiceConfiguration—

返回

結果Pixel Image
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
ComfyUI 介面
所屬包
生成式 AI