Baidu Meux ComfyTools is a collection of custom nodes for ComfyUI used by the Baidu Meux asset platform.
Current version: 1.7.1
Main nodes:
MeuxImageLoader: load an image from ComfyUI/input or an HTTP/HTTPS URL.MeuxMaskLoader: load a mask from ComfyUI/input or an HTTP/HTTPS URL and align it to a reference image.MeuxMaskFillHoles: fill enclosed holes in a mask.MeuxMaskBlurPlus: blur or feather a mask.MeuxSeed: workflow-compatible seed passthrough node.MeuxMultiSaveImage: save up to sixteen image batches with optional resizing.MeuxAdvancedImageCrop: crop images by pixels or percentage with optional alignment.MeuxSimpleLLMNode: call a chat-completions style LLM API inside a workflow.MeuxTextAreaInput: multi-line text input helper.MeuxArtisticTextPreview: advanced transparent text preview with fill, outline, spacing, shadow, glow, and mask output.MeuxSmartEmptyLatent: generate a safe-sized empty latent tensor.MeuxSizePresetSafe: compute aligned generation sizes.MeuxOutpaintSizePresetSafe: compute safe per-side outpaint expansion sizes.MeuxSmartExactResize: crop or pad to an exact target size.MeuxRMBG: BiRefNet-based background removal.MeuxRealESRGANUpscale: local RealESRGAN upscaling.Workflow-compatible aliases:
Mask Fill HolesMaskBlur+SeedComfyUI/input/meux_downloads.text_align and vertical_align controls to MeuxArtisticTextPreview.MeuxArtisticTextPreview for transparent text preview rendering with fill, outline, spacing, mask output, and preset-based effects.fonts/ directory and made it the first font lookup location for the preview node.MeuxArtisticTextPreview.MeuxMaskLoader as a dedicated mask-loading node.MeuxMaskFillHoles, MeuxMaskBlurPlus, MeuxSeed.Mask Fill Holes, MaskBlur+, Seed.scipy dependency for hole-filling behavior aligned with upstream workflows.MeuxRMBG for local/remote BiRefNet background removal.MeuxRealESRGANUpscale for local RealESRGAN upscaling.MeuxOutpaintSizePresetSafe.MeuxSmartEmptyLatent, MeuxSizePresetSafe, and MeuxSmartExactResize.MeuxImageLoader with URL downloading support.nodes/.MeuxMultiSaveImage.Clone into ComfyUI/custom_nodes/:
cd ComfyUI/custom_nodes
git clone https://github.com/fchangjun/Baidu_Meux_ComfyTools.git
Update when needed:
cd ComfyUI/custom_nodes/Baidu_Meux_ComfyTools
git pull
Install dependencies:
cd ComfyUI/custom_nodes/Baidu_Meux_ComfyTools
pip install -r requirements.txt
Restart ComfyUI.
source_type = local: select a file from ComfyUI/inputsource_type = url: download from an HTTP/HTTPS URLComfyUI/input/meux_downloads when persist_to_input = trueIMAGE and the derived mask from alpha or grayscale when presentreference_image is required so the mask can match the image sizesource_type = local | urlmask_channel, mask_invert, and resize_to_referenceMASKRecommended pairing:
MeuxImageLoader.image -> downstream image pipelineMeuxImageLoader.image -> MeuxMaskLoader.reference_imageMeuxMaskLoader.mask -> downstream mask pipelineMeuxMaskFillHoles / Mask Fill Holes: fill enclosed regions inside a maskMeuxMaskBlurPlus / MaskBlur+: feather a maskMeuxSeed / Seed: expose a workflow-compatible seed valueMeuxMultiSaveImage: batch image savingMeuxAdvancedImageCrop: crop by pixels or percentageMeuxSimpleLLMNode: direct LLM API callsMeuxTextAreaInput: long prompt inputMeuxArtisticTextPreview: advanced transparent text preview with optional gradient fill, outline, shadow, inner shadow, glow, and mask outputMeuxSmartEmptyLatent: safe latent initializationMeuxSizePresetSafe: safe size planningMeuxOutpaintSizePresetSafe: safe outpaint size planningMeuxSmartExactResize: exact resize with crop/pad logicMeuxRMBG: local background removalMeuxRealESRGANUpscale: local image upscalingIMAGE preview and a matching MASKBaidu_Meux_ComfyTools/fonts first, then falls back to bundled/system fontsfixed and fit font sizing modesfont_name, char_spacing, bold, and italicRecommended first test:
MeuxArtisticTextPreviewtext = Hellofont_size_mode = fixedfont_size = 128outline_type = solidimage output to a preview or save nodeParameters:
Basic
text: preview text, supports multiple linesfont_name: font dropdown, reads project fonts/ firstwidth / height: output canvas sizefont_size_mode: fixed uses the exact font size, fit scales text to the canvasfont_size: base font size or max fitting sizechar_spacing: character spacing in pixelsline_spacing: line spacing in pixels; 0 keeps the automatic spacing rule, positive values increase spacing, negative values pull lines closer togetherbold: prefer bold font variants, otherwise use a fallback bold draw modeitalic: prefer italic font variants, otherwise use a fallback italic transformbackground_color: preview background colorbackground_opacity: preview background opacity, 0 means fully transparentpadding_percent: safe area margin inside the canvasFill
fill_type: solid, gradient, or nonefill_color_1: solid fill color, or the start color of a gradientfill_color_2: end color of a gradientfill_direction: fill gradient directionOutline
outline_type: none, solid, or gradientoutline_width: outline thicknessoutline_opacity: outline alphaoutline_color_1: solid outline color, or the start color of an outline gradientoutline_color_2: end color of an outline gradientoutline_direction: outline gradient directionEffects
effect_preset: one-click effect preseteffect_strength: preset intensity multipliershadow_mode: preset uses preset shadow settings, custom ignores preset shadow placement/blur and uses manual values belowshadow_color: shadow color; still works in preset modeshadow_offset_x: custom shadow horizontal offsetshadow_offset_y: custom shadow vertical offsetshadow_opacity: custom shadow alphashadow_blur: custom shadow blur radius; 0 means a solid hard-edged shadow, > 0 means a blurred shadownone: no extra effectsoft_shadow: light shadowheavy_shadow: heavier shadowsoft_glow: soft glowneon_glow: stronger glowengraved: inner-shadow style engraved lookshadow_glow: combines shadow and glowOutputs
image: rendered preview imagemask: alpha mask derived from the text resultBaidu_Meux_ComfyTools/
├── __init__.py
├── fonts/
│ └── README.md
├── pyproject.toml
├── requirements.txt
└── nodes/
├── advanced_image_crop.py
├── image_loader.py
├── mask_blur_plus.py
├── mask_fill_holes.py
├── mask_loader.py
├── artistic_text_preview.py
├── multi_save_image.py
├── outpaint_size_preset_safe.py
├── realesrgan_upscale.py
├── rmbg_birefnet.py
├── seed_node.py
├── simple_llm_node.py
├── size_preset_safe.py
├── smart_empty_latent.py
├── smart_exact_resize.py
└── text_area_input.py
Baidu Meux ComfyTools 是一组用于 ComfyUI 的自定义节点,服务于百度 Meux 资产平台相关工作流。
当前版本:1.7.1
主要节点:
MeuxImageLoader:从 ComfyUI/input 或 HTTP/HTTPS URL 加载图片MeuxMaskLoader:从 ComfyUI/input 或 HTTP/HTTPS URL 加载遮罩,并对齐到参考图尺寸MeuxMaskFillHoles:填充遮罩内部封闭空洞MeuxMaskBlurPlus:对遮罩做模糊/羽化MeuxSeed:兼容工作流的种子透传节点MeuxMultiSaveImage:一次保存最多 16 组图像,可选统一尺寸MeuxAdvancedImageCrop:按像素或百分比裁剪图像MeuxSimpleLLMNode:在工作流中调用聊天式 LLM 接口MeuxTextAreaInput:多行文本输入辅助节点MeuxArtisticTextPreview:在透明画布上渲染高级文字预览,支持填充、描边、字距、阴影、内阴影、外发光,并输出遮罩MeuxSmartEmptyLatent:生成安全尺寸的空白 latentMeuxSizePresetSafe:计算安全生成尺寸MeuxOutpaintSizePresetSafe:计算安全外扩尺寸MeuxSmartExactResize:精确尺寸裁剪/补边MeuxRMBG:基于 BiRefNet 的抠图节点MeuxRealESRGANUpscale:本地 RealESRGAN 放大节点工作流兼容别名:
Mask Fill HolesMaskBlur+SeedComfyUI/input/meux_downloadsMeuxArtisticTextPreview 新增 text_align 和 vertical_align 对齐控制MeuxArtisticTextPreview,用于透明背景文字预览,支持填充、描边、字距、遮罩输出和预设效果。fonts/ 目录,并作为预览节点的第一字体读取位置。MeuxArtisticTextPreview 的节点参数说明文档。MeuxMaskLoaderMeuxMaskFillHoles、MeuxMaskBlurPlus、MeuxSeedMask Fill Holes、MaskBlur+、Seedscipy 依赖,用于按上游逻辑填充遮罩空洞MeuxRMBG,支持本地/远端 BiRefNet 抠图MeuxRealESRGANUpscale,支持本地 RealESRGAN 放大MeuxOutpaintSizePresetSafeMeuxSmartEmptyLatent、MeuxSizePresetSafe、MeuxSmartExactResizeMeuxImageLoader,支持 URL 下载nodes/ 模块化结构MeuxMultiSaveImage 初版克隆到 ComfyUI/custom_nodes/:
cd ComfyUI/custom_nodes
git clone https://github.com/fchangjun/Baidu_Meux_ComfyTools.git
更新代码:
cd ComfyUI/custom_nodes/Baidu_Meux_ComfyTools
git pull
安装依赖:
cd ComfyUI/custom_nodes/Baidu_Meux_ComfyTools
pip install -r requirements.txt
重启 ComfyUI。
source_type = local:从 ComfyUI/input 选择本地文件source_type = url:运行时下载 HTTP/HTTPS 图片persist_to_input = true 时,URL 下载文件会保存到 ComfyUI/input/meux_downloadsIMAGE,以及图片自带 alpha/灰度派生的 MASKreference_image,用于保证遮罩尺寸和原图一致source_type = local | urlmask_channel、mask_invert、resize_to_referenceMASK推荐连法:
MeuxImageLoader.image 接图像处理链路MeuxImageLoader.image 接 MeuxMaskLoader.reference_imageMeuxMaskLoader.mask 接遮罩处理链路MeuxMaskFillHoles / Mask Fill Holes:填充遮罩内部封闭区域MeuxMaskBlurPlus / MaskBlur+:做遮罩羽化MeuxSeed / Seed:输出兼容工作流的 seedMeuxMultiSaveImage:批量保存图片MeuxAdvancedImageCrop:按像素或百分比裁剪MeuxSimpleLLMNode:直接调用 LLM APIMeuxTextAreaInput:长文本输入MeuxArtisticTextPreview:高级透明文字预览节点,支持渐变填充、描边、字距、阴影、内阴影、外发光和遮罩输出MeuxSmartEmptyLatent:安全 latent 初始化MeuxSizePresetSafe:安全尺寸规划MeuxOutpaintSizePresetSafe:安全外扩尺寸规划MeuxSmartExactResize:精确尺寸裁剪/补边MeuxRMBG:本地抠图MeuxRealESRGANUpscale:本地放大IMAGE 预览图,以及对应的 MASKBaidu_Meux_ComfyTools/fonts 目录中的字体,再回退到内置字体和系统字体fixed 和 fit 两种字号模式font_name、char_spacing、bold、italic建议先用下面这组参数测试:
MeuxArtisticTextPreviewtext = Hellofont_size_mode = fixedfont_size = 128outline_type = solidimage 输出连接到预览或保存节点参数说明:
基础参数
text:预览文字,支持多行font_name:字体下拉,优先读取项目根目录 fonts/width / height:输出画布尺寸font_size_mode:fixed 使用固定字号,fit 自动适配画布font_size:基础字号,或自动适配时的最大字号char_spacing:字符间距,单位为像素line_spacing:行间距,单位为像素;0 表示继续使用自动行间距规则,正数拉开行距,负数压缩行距bold:优先匹配粗体字体,没有时走伪粗体回退italic:优先匹配斜体字体,没有时走伪斜体回退background_color:预览背景颜色background_opacity:背景透明度,0 表示完全透明padding_percent:文字与画布边缘的安全边距比例填充参数
fill_type:solid 纯色,gradient 渐变,none 无填充fill_color_1:纯色填充时使用它;渐变时是起始色fill_color_2:渐变结束色fill_direction:填充渐变方向描边参数
outline_type:none 无描边,solid 纯色描边,gradient 渐变描边outline_width:描边宽度outline_opacity:描边透明度outline_color_1:纯色描边时使用它;渐变时是起始色outline_color_2:渐变结束色outline_direction:描边渐变方向效果参数
effect_preset:一键效果预设effect_strength:预设效果强度倍率shadow_mode:preset 使用预设阴影参数,custom 使用下面的自定义阴影参数shadow_color:阴影颜色;在预设模式下也会生效shadow_offset_x:自定义阴影水平偏移shadow_offset_y:自定义阴影垂直偏移shadow_opacity:自定义阴影透明度shadow_blur:自定义阴影模糊半径;0 表示实心硬边阴影,> 0 表示模糊阴影none:不加额外效果soft_shadow:轻阴影heavy_shadow:重阴影soft_glow:柔和发光neon_glow:更强的霓虹发光engraved:偏内阴影的雕刻感shadow_glow:阴影和发光组合输出
image:渲染后的预览图mask:由文字 alpha 生成的遮罩Baidu_Meux_ComfyTools/
├── __init__.py
├── fonts/
│ └── README.md
├── pyproject.toml
├── requirements.txt
└── nodes/
├── advanced_image_crop.py
├── image_loader.py
├── mask_blur_plus.py
├── mask_fill_holes.py
├── mask_loader.py
├── artistic_text_preview.py
├── multi_save_image.py
├── outpaint_size_preset_safe.py
├── realesrgan_upscale.py
├── rmbg_birefnet.py
├── seed_node.py
├── simple_llm_node.py
├── size_preset_safe.py
├── smart_empty_latent.py
├── smart_exact_resize.py
└── text_area_input.py
68 commits
1 commits
Python
100.0%
Baidu Meux ComfyTools is a collection of custom nodes for ComfyUI used by the Baidu Meux asset platform.
Current version: 1.7.1
Main nodes:
MeuxImageLoader: load an image from ComfyUI/input or an HTTP/HTTPS URL.MeuxMaskLoader: load a mask from ComfyUI/input or an HTTP/HTTPS URL and align it to a reference image.MeuxMaskFillHoles: fill enclosed holes in a mask.MeuxMaskBlurPlus: blur or feather a mask.MeuxSeed: workflow-compatible seed passthrough node.MeuxMultiSaveImage: save up to sixteen image batches with optional resizing.MeuxAdvancedImageCrop: crop images by pixels or percentage with optional alignment.MeuxSimpleLLMNode: call a chat-completions style LLM API inside a workflow.MeuxTextAreaInput: multi-line text input helper.MeuxArtisticTextPreview: advanced transparent text preview with fill, outline, spacing, shadow, glow, and mask output.MeuxSmartEmptyLatent: generate a safe-sized empty latent tensor.MeuxSizePresetSafe: compute aligned generation sizes.MeuxOutpaintSizePresetSafe: compute safe per-side outpaint expansion sizes.MeuxSmartExactResize: crop or pad to an exact target size.MeuxRMBG: BiRefNet-based background removal.MeuxRealESRGANUpscale: local RealESRGAN upscaling.Workflow-compatible aliases:
Mask Fill HolesMaskBlur+SeedComfyUI/input/meux_downloads.text_align and vertical_align controls to MeuxArtisticTextPreview.MeuxArtisticTextPreview for transparent text preview rendering with fill, outline, spacing, mask output, and preset-based effects.fonts/ directory and made it the first font lookup location for the preview node.MeuxArtisticTextPreview.MeuxMaskLoader as a dedicated mask-loading node.MeuxMaskFillHoles, MeuxMaskBlurPlus, MeuxSeed.Mask Fill Holes, MaskBlur+, Seed.scipy dependency for hole-filling behavior aligned with upstream workflows.MeuxRMBG for local/remote BiRefNet background removal.MeuxRealESRGANUpscale for local RealESRGAN upscaling.MeuxOutpaintSizePresetSafe.MeuxSmartEmptyLatent, MeuxSizePresetSafe, and MeuxSmartExactResize.MeuxImageLoader with URL downloading support.nodes/.MeuxMultiSaveImage.Clone into ComfyUI/custom_nodes/:
cd ComfyUI/custom_nodes
git clone https://github.com/fchangjun/Baidu_Meux_ComfyTools.git
Update when needed:
cd ComfyUI/custom_nodes/Baidu_Meux_ComfyTools
git pull
Install dependencies:
cd ComfyUI/custom_nodes/Baidu_Meux_ComfyTools
pip install -r requirements.txt
Restart ComfyUI.
source_type = local: select a file from ComfyUI/inputsource_type = url: download from an HTTP/HTTPS URLComfyUI/input/meux_downloads when persist_to_input = trueIMAGE and the derived mask from alpha or grayscale when presentreference_image is required so the mask can match the image sizesource_type = local | urlmask_channel, mask_invert, and resize_to_referenceMASKRecommended pairing:
MeuxImageLoader.image -> downstream image pipelineMeuxImageLoader.image -> MeuxMaskLoader.reference_imageMeuxMaskLoader.mask -> downstream mask pipelineMeuxMaskFillHoles / Mask Fill Holes: fill enclosed regions inside a maskMeuxMaskBlurPlus / MaskBlur+: feather a maskMeuxSeed / Seed: expose a workflow-compatible seed valueMeuxMultiSaveImage: batch image savingMeuxAdvancedImageCrop: crop by pixels or percentageMeuxSimpleLLMNode: direct LLM API callsMeuxTextAreaInput: long prompt inputMeuxArtisticTextPreview: advanced transparent text preview with optional gradient fill, outline, shadow, inner shadow, glow, and mask outputMeuxSmartEmptyLatent: safe latent initializationMeuxSizePresetSafe: safe size planningMeuxOutpaintSizePresetSafe: safe outpaint size planningMeuxSmartExactResize: exact resize with crop/pad logicMeuxRMBG: local background removalMeuxRealESRGANUpscale: local image upscalingIMAGE preview and a matching MASKBaidu_Meux_ComfyTools/fonts first, then falls back to bundled/system fontsfixed and fit font sizing modesfont_name, char_spacing, bold, and italicRecommended first test:
MeuxArtisticTextPreviewtext = Hellofont_size_mode = fixedfont_size = 128outline_type = solidimage output to a preview or save nodeParameters:
Basic
text: preview text, supports multiple linesfont_name: font dropdown, reads project fonts/ firstwidth / height: output canvas sizefont_size_mode: fixed uses the exact font size, fit scales text to the canvasfont_size: base font size or max fitting sizechar_spacing: character spacing in pixelsline_spacing: line spacing in pixels; 0 keeps the automatic spacing rule, positive values increase spacing, negative values pull lines closer togetherbold: prefer bold font variants, otherwise use a fallback bold draw modeitalic: prefer italic font variants, otherwise use a fallback italic transformbackground_color: preview background colorbackground_opacity: preview background opacity, 0 means fully transparentpadding_percent: safe area margin inside the canvasFill
fill_type: solid, gradient, or nonefill_color_1: solid fill color, or the start color of a gradientfill_color_2: end color of a gradientfill_direction: fill gradient directionOutline
outline_type: none, solid, or gradientoutline_width: outline thicknessoutline_opacity: outline alphaoutline_color_1: solid outline color, or the start color of an outline gradientoutline_color_2: end color of an outline gradientoutline_direction: outline gradient directionEffects
effect_preset: one-click effect preseteffect_strength: preset intensity multipliershadow_mode: preset uses preset shadow settings, custom ignores preset shadow placement/blur and uses manual values belowshadow_color: shadow color; still works in preset modeshadow_offset_x: custom shadow horizontal offsetshadow_offset_y: custom shadow vertical offsetshadow_opacity: custom shadow alphashadow_blur: custom shadow blur radius; 0 means a solid hard-edged shadow, > 0 means a blurred shadownone: no extra effectsoft_shadow: light shadowheavy_shadow: heavier shadowsoft_glow: soft glowneon_glow: stronger glowengraved: inner-shadow style engraved lookshadow_glow: combines shadow and glowOutputs
image: rendered preview imagemask: alpha mask derived from the text resultBaidu_Meux_ComfyTools/
├── __init__.py
├── fonts/
│ └── README.md
├── pyproject.toml
├── requirements.txt
└── nodes/
├── advanced_image_crop.py
├── image_loader.py
├── mask_blur_plus.py
├── mask_fill_holes.py
├── mask_loader.py
├── artistic_text_preview.py
├── multi_save_image.py
├── outpaint_size_preset_safe.py
├── realesrgan_upscale.py
├── rmbg_birefnet.py
├── seed_node.py
├── simple_llm_node.py
├── size_preset_safe.py
├── smart_empty_latent.py
├── smart_exact_resize.py
└── text_area_input.py
Baidu Meux ComfyTools 是一组用于 ComfyUI 的自定义节点,服务于百度 Meux 资产平台相关工作流。
当前版本:1.7.1
主要节点:
MeuxImageLoader:从 ComfyUI/input 或 HTTP/HTTPS URL 加载图片MeuxMaskLoader:从 ComfyUI/input 或 HTTP/HTTPS URL 加载遮罩,并对齐到参考图尺寸MeuxMaskFillHoles:填充遮罩内部封闭空洞MeuxMaskBlurPlus:对遮罩做模糊/羽化MeuxSeed:兼容工作流的种子透传节点MeuxMultiSaveImage:一次保存最多 16 组图像,可选统一尺寸MeuxAdvancedImageCrop:按像素或百分比裁剪图像MeuxSimpleLLMNode:在工作流中调用聊天式 LLM 接口MeuxTextAreaInput:多行文本输入辅助节点MeuxArtisticTextPreview:在透明画布上渲染高级文字预览,支持填充、描边、字距、阴影、内阴影、外发光,并输出遮罩MeuxSmartEmptyLatent:生成安全尺寸的空白 latentMeuxSizePresetSafe:计算安全生成尺寸MeuxOutpaintSizePresetSafe:计算安全外扩尺寸MeuxSmartExactResize:精确尺寸裁剪/补边MeuxRMBG:基于 BiRefNet 的抠图节点MeuxRealESRGANUpscale:本地 RealESRGAN 放大节点工作流兼容别名:
Mask Fill HolesMaskBlur+SeedComfyUI/input/meux_downloadsMeuxArtisticTextPreview 新增 text_align 和 vertical_align 对齐控制MeuxArtisticTextPreview,用于透明背景文字预览,支持填充、描边、字距、遮罩输出和预设效果。fonts/ 目录,并作为预览节点的第一字体读取位置。MeuxArtisticTextPreview 的节点参数说明文档。MeuxMaskLoaderMeuxMaskFillHoles、MeuxMaskBlurPlus、MeuxSeedMask Fill Holes、MaskBlur+、Seedscipy 依赖,用于按上游逻辑填充遮罩空洞MeuxRMBG,支持本地/远端 BiRefNet 抠图MeuxRealESRGANUpscale,支持本地 RealESRGAN 放大MeuxOutpaintSizePresetSafeMeuxSmartEmptyLatent、MeuxSizePresetSafe、MeuxSmartExactResizeMeuxImageLoader,支持 URL 下载nodes/ 模块化结构MeuxMultiSaveImage 初版克隆到 ComfyUI/custom_nodes/:
cd ComfyUI/custom_nodes
git clone https://github.com/fchangjun/Baidu_Meux_ComfyTools.git
更新代码:
cd ComfyUI/custom_nodes/Baidu_Meux_ComfyTools
git pull
安装依赖:
cd ComfyUI/custom_nodes/Baidu_Meux_ComfyTools
pip install -r requirements.txt
重启 ComfyUI。
source_type = local:从 ComfyUI/input 选择本地文件source_type = url:运行时下载 HTTP/HTTPS 图片persist_to_input = true 时,URL 下载文件会保存到 ComfyUI/input/meux_downloadsIMAGE,以及图片自带 alpha/灰度派生的 MASKreference_image,用于保证遮罩尺寸和原图一致source_type = local | urlmask_channel、mask_invert、resize_to_referenceMASK推荐连法:
MeuxImageLoader.image 接图像处理链路MeuxImageLoader.image 接 MeuxMaskLoader.reference_imageMeuxMaskLoader.mask 接遮罩处理链路MeuxMaskFillHoles / Mask Fill Holes:填充遮罩内部封闭区域MeuxMaskBlurPlus / MaskBlur+:做遮罩羽化MeuxSeed / Seed:输出兼容工作流的 seedMeuxMultiSaveImage:批量保存图片MeuxAdvancedImageCrop:按像素或百分比裁剪MeuxSimpleLLMNode:直接调用 LLM APIMeuxTextAreaInput:长文本输入MeuxArtisticTextPreview:高级透明文字预览节点,支持渐变填充、描边、字距、阴影、内阴影、外发光和遮罩输出MeuxSmartEmptyLatent:安全 latent 初始化MeuxSizePresetSafe:安全尺寸规划MeuxOutpaintSizePresetSafe:安全外扩尺寸规划MeuxSmartExactResize:精确尺寸裁剪/补边MeuxRMBG:本地抠图MeuxRealESRGANUpscale:本地放大IMAGE 预览图,以及对应的 MASKBaidu_Meux_ComfyTools/fonts 目录中的字体,再回退到内置字体和系统字体fixed 和 fit 两种字号模式font_name、char_spacing、bold、italic建议先用下面这组参数测试:
MeuxArtisticTextPreviewtext = Hellofont_size_mode = fixedfont_size = 128outline_type = solidimage 输出连接到预览或保存节点参数说明:
基础参数
text:预览文字,支持多行font_name:字体下拉,优先读取项目根目录 fonts/width / height:输出画布尺寸font_size_mode:fixed 使用固定字号,fit 自动适配画布font_size:基础字号,或自动适配时的最大字号char_spacing:字符间距,单位为像素line_spacing:行间距,单位为像素;0 表示继续使用自动行间距规则,正数拉开行距,负数压缩行距bold:优先匹配粗体字体,没有时走伪粗体回退italic:优先匹配斜体字体,没有时走伪斜体回退background_color:预览背景颜色background_opacity:背景透明度,0 表示完全透明padding_percent:文字与画布边缘的安全边距比例填充参数
fill_type:solid 纯色,gradient 渐变,none 无填充fill_color_1:纯色填充时使用它;渐变时是起始色fill_color_2:渐变结束色fill_direction:填充渐变方向描边参数
outline_type:none 无描边,solid 纯色描边,gradient 渐变描边outline_width:描边宽度outline_opacity:描边透明度outline_color_1:纯色描边时使用它;渐变时是起始色outline_color_2:渐变结束色outline_direction:描边渐变方向效果参数
effect_preset:一键效果预设effect_strength:预设效果强度倍率shadow_mode:preset 使用预设阴影参数,custom 使用下面的自定义阴影参数shadow_color:阴影颜色;在预设模式下也会生效shadow_offset_x:自定义阴影水平偏移shadow_offset_y:自定义阴影垂直偏移shadow_opacity:自定义阴影透明度shadow_blur:自定义阴影模糊半径;0 表示实心硬边阴影,> 0 表示模糊阴影none:不加额外效果soft_shadow:轻阴影heavy_shadow:重阴影soft_glow:柔和发光neon_glow:更强的霓虹发光engraved:偏内阴影的雕刻感shadow_glow:阴影和发光组合输出
image:渲染后的预览图mask:由文字 alpha 生成的遮罩Baidu_Meux_ComfyTools/
├── __init__.py
├── fonts/
│ └── README.md
├── pyproject.toml
├── requirements.txt
└── nodes/
├── advanced_image_crop.py
├── image_loader.py
├── mask_blur_plus.py
├── mask_fill_holes.py
├── mask_loader.py
├── artistic_text_preview.py
├── multi_save_image.py
├── outpaint_size_preset_safe.py
├── realesrgan_upscale.py
├── rmbg_birefnet.py
├── seed_node.py
├── simple_llm_node.py
├── size_preset_safe.py
├── smart_empty_latent.py
├── smart_exact_resize.py
└── text_area_input.py
68 commits
1 commits
Python
100.0%