Extensions/comfyUI-tool-2lab
ComfyUI Extension

comfyUI-tool-2lab

tool set for developing workflow and publish to web api server

By AI2lab·Created 2 years ago·Updated 2 years ago· 23
AI2lab/comfyUI-tool-2lab
Nodes59
On cloudLocal install
Category🦊2lab/workflow2Api, 🦊2lab/llm
Stars23
Updated2 years ago

Nodes (59)

load available checkpoint 载入可用的模型

Only shows the models the 2lab server will accept

🦊2lab/workflow2Api
load available vae 载入可用的VAE

Pick a VAE, but only from the platform's shortlist

🦊2lab/workflow2Api
Azure OpenAI GPT

All five Azure fields, so you can point it at your own deployment

🦊2lab/llm
Azure OpenAI GPT

The Azure node that only needs a deployment — because the 2lab server owns the rest

🦊2lab/api
Baidu translator 百度翻译

Your own Baidu app credentials, translated text straight into the graph

🦊2lab/llm
Baidu translator 百度翻译

Same name, no keys — this one rides on the 2lab cloud

🦊2lab/api
input or convert boolean 输入或转换布尔值

Flip one switch, feed a boolean and a string at once

🦊2lab/util/number
ChatGLM chatGPT 智谱AI

The version with no key field — because it's the 2lab server doing the calling

🦊2lab/api
ChatGLM chatGPT 智谱AI

Plug your Zhipu key in and get a text response for your prompt chain

🦊2lab/llm
concat text 合并文本

The boring string-joiner that actually keeps your prompts sane

🦊2lab/util/text
crop image 剪裁图片

Cut an image to a region on the canvas, no numeric boxes

🦊2lab/image
Baidu translator 百度翻译 (Factx API)

Baidu Translate inside the graph — English and Chinese, and that's it

🦊2lab/factxApi/llm
Youdao translator 有道翻译 (Factx API)

Chinese text in, English out, with your Youdao app key

🦊2lab/factxApi/llm
Azure OpenAI GPT (Factx API)

Azure OpenAI through the Factx marketplace — bring your deployment name

🦊2lab/factxApi/llm
ChatGLM chatGPT 智谱AI (Factx API)

ChatGLM from Zhipu AI, reached through the Factx API marketplace

🦊2lab/factxApi/llm
input or convert float 输入或转换浮点数

One float in, three types out — the conversion node you keep reaching for

🦊2lab/util/number
image batch 图片批处理

ImageBatch with nine slots instead of two — batching without the extension pack

🦊2lab/util/batch
upscale image to side 放大图片

Same job as the other scaler, and one footgun of a default

🦊2lab/image
Image scale to ratio (2lab)

Resize an image to a target size without wrecking its aspect ratio

☁️2lab/image
Image scale to side (2lab)

Force an image to a target edge — the pack's better scaler

☁️2lab/image
input float 输入浮点数

An input box that can become an API parameter — the workflow2api idea

🦊2lab/workflow2Api
load image 读入图片

Core LoadImage, wearing a workflow2api name tag

🦊2lab/workflow2Api
input int 输入整数

One integer in, three types out — and an export flag for API workflows

🦊2lab/workflow2Api
seed 生成随机数

The seed input that marks itself as user-facing when you publish

🦊2lab/workflow2Api
input Text 输入文本

A labeled text input that doubles as an exported API parameter

🦊2lab/workflow2Api
input user key 输入用户密钥

The pack's oddest node — a key input with nowhere to plug in

🦊2lab/workflow2Api
Insert Text 插入文本 (2lab)

Slot four snippets into a template and get one string out

☁️2lab/util
input or convert int 输入或转换整数

One integer, three sockets — the pack's tiny type converter

🦊2lab/util/number
latent batch 潜空间批处理

The latent-side batch node — nine inputs, one tensor, fewer KSampler passes

🦊2lab/util/batch
Load Image By Path (2lab)

Load an image from anywhere on disk, not just the input folder

☁️2lab/image
Mask Invert 蒙版反转

Flip your selection — and yes, core ComfyUI already has this

🦊2lab/image
OpenAI chatGPT

Call OpenAI from inside your graph — with a model list frozen in late 2023

🦊2lab/llm
output image 输出图片

The pack's save button, tuned for publishing renders

🦊2lab/workflow2Api
output text 输出文字

The 'return this' marker for a workflow2api graph

🦊2lab/workflow2Api
parameter hub 参数集中输入框

Every generation parameter in one box — the pack's actual centerpiece

🦊2lab/util/loader
Preview Image By Path (2lab)

Eyeball images straight off the filesystem — no graph detour required

☁️2lab/image
Preview Image By Url (2lab)

Preview remote images by URL — handy, and worth one security thought

☁️2lab/image
publish to 2lab 发布到2lab服务器

Ship your ComfyUI workflow to the 2lab server as an API

🦊2lab/workflow2Api
replace text 替换文本

Find-and-replace for your prompts (and any other string that annoys you)

🦊2lab/util/text
Save Image By Path (2lab)

Turn a list of file paths into saved images

☁️2lab/image
Save Image By Url (2lab)

Download a whole list of images without leaving the graph

☁️2lab/image
Save Text 保存文本 (2lab)

Write text to disk from inside your workflow

☁️2lab/util
Save Video By Url (2lab)

Batch-download videos by URL from inside ComfyUI

☁️2lab/image
Show image size & count (2lab)

Finally, a node that tells you your batch size

☁️2lab/image
show text 显示文字

A preview panel so you can actually see what your string nodes are doing

🦊2lab/util/preview
Show Text 显示文本 (2lab)

See the string without a debug print

☁️2lab/util
show web image 显示网图

Load an image from a URL as an actual tensor

🦊2lab/util/preview
stop queue 停止绘图 (2lab)

A stop button you can wire into your graph

☁️2lab/util
string hub 文本集中输入框

Nine prompts in one box

🦊2lab/util/loader
text 输入文本

The simplest text input in the pack

🦊2lab/util/text
Text 固定文本 (2lab)

A fixed-text node that just works

☁️2lab/util
Text To List 多个文本合成列表 (2lab)

Four strings, one list, hello batching

☁️2lab/util
Text Concat 拼接文本 (2lab)

The four-input concat the pack added after the two-input one

☁️2lab/util
List Concatenate 多个列表合成列表 (2lab)

Splice lists together for batch pipelines

☁️2lab/util
trim text 消除文本前后空格

Kill the stray spaces breaking your prompt

🦊2lab/util/text
VideoParamHub (2lab)

One place for frames and fps

🦊2lab/util/loader
calculate watermark offset 计算水印在主图上的坐标

Pixel math for watermark placement, solved

🦊2lab/image
Youdao translator 有道翻译

Translate your prompt before it hits the sampler

🦊2lab/llm
Youdao translator 有道翻译

The Youdao translator that needs no key

🦊2lab/api
Readme

comfyUI-tool-2lab

toolkits