Commit Graph
153 Commits
Author SHA1 Message Date
Chengwei Ouyang 312d88dc21 Merge pull request #15 from Arxchibobo/feature/input-image-encryption
feat: add encryption support to Input Image node
2026-05-11 10:42:53 +08:00
bobo-clawd d4259fe1c8 fix: use safe_open_image for base64 path consistency 2026-05-10 10:38:17 +00:00
bobo-clawdandClaude Sonnet 4.5 a0e8741e38 feat: add encryption support to Input Image node
- Add XOR decryption function using same key as Video Combine Encrypt
- Add optional 'encrypt' boolean parameter (default: False)
- When enabled, decrypts image bytes in-memory before processing
- Supports all input sources: local files, HTTP URLs, and base64
- Backward compatible: default behavior unchanged
- Uses fast NumPy vectorized XOR operation

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-05-10 09:59:22 +00:00
zhongxiao-myshell 35fb28e2b1 Merge pull request #14 from Arxchibobo/feat/input-image-array
feat: add Input Image Array node (unpack array inputs into batch/list)
2026-04-20 13:18:20 +08:00
Arxchibobo 0b6fe8a052 feat: add Input Image Array node for array-structured image inputs
Adds ShellAgentPluginInputImageArray node that accepts a ShellAgent-
compliant array of images and unpacks it into a batch tensor, an
image list, and an auto-detected count.

Schema (matches the pattern used by output_image and input_audio):
  {"type": "array", "items": {"type": "string", "url_type": "image"}}

Inputs
  - input_name, default_value (JSON array / object array / {items:[]} /
    {images:[]} / newline-separated)
  - Each item: HTTP(S) URL, base64 data URI, absolute path, or filename
    relative to ComfyUI input dir
  - resize_mode: resize_to_first | pad_to_first | none_keep_list_only
  - min_items / max_items (propagated to ShellAgent schema)

Outputs
  - images_batch (IMAGE, [N,H,W,C])
  - masks_batch  (MASK,  [N,H,W])
  - images_list  (IMAGE, OUTPUT_IS_LIST, preserves original sizes)
  - count        (INT, auto-computed from len(items))

Covered by 12 E2E tests (JSON/object/wrapped/newline/base64/local-file
inputs, empty fallback, schema validation, all three resize modes).
2026-04-20 05:03:22 +00:00
ArxchiboboandClaude Sonnet 4.5 a15d4b255e feat: 集成H.264高级编码功能,支持yuv420p/yuv444p格式
新增功能:
- 添加3个新视频格式: h264-advanced, h264-high444, ffmpeg-manual
- 新增9个高级参数: preset, tune, crf, pix_fmt, colorspace等
- 支持yuv420p (Mac兼容) 和 yuv444p (专业后期) 像素格式
- 实现三级模式: 标准模式/高级模式/手动模式
- 自动处理High444 profile和色彩元数据

代码改进:
- 优化VIDEO_FORMATS字典,添加兼容性标记
- 扩展INPUT_TYPES,添加完整的高级参数支持
- 增强_create_video方法,智能处理不同模式
- 调整默认CRF值从19到20 (Mac推荐值)

文档新增:
- VIDEO_FORMATS_GUIDE.md: YUV格式完整教程
- QUICK_REFERENCE.md: 快速参考卡片
- USAGE_GUIDE.md: 详细使用指南
- INTEGRATION_SUMMARY.md: 技术整合总结
- COMPLETION_REPORT.md: 完成报告

工具脚本:
- simple_check.py: 简单验证脚本
- verify_integration.py: 完整验证脚本

h264-high444模块:
- 独立的H.264 High 4:4:4编码节点
- 支持专业yuv444p格式
- 完整的色彩管理和高级参数

技术亮点:
- 向后兼容,不影响现有工作流
- 默认配置确保Mac/iOS兼容性
- 清晰的兼容性标注和中文提示
- 完善的三层文档体系

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-04 13:34:12 +08:00
Chengwei Ouyang b40301ad2a feat: add vae and audio support for encrypt video combine 2026-01-12 17:35:44 +08:00
Chengwei Ouyang 73e610e31a feat: add encryption support for saved images and videos
- Implemented XOR encryption for image files in output_image.py, allowing users to save encrypted images.
- Introduced a new module output_video_encrypt.py for combining images into videos with optional encryption.
- Added encryption options in the save_images method and video combine functionality, ensuring output files cannot be viewed directly without decryption.
2025-12-15 17:27:23 +08:00
Chengwei Ouyang 6857027895 fix: handle PNG files with MPO metadata in input image processing 2025-12-08 17:02:23 +08:00
Chengwei Ouyang d27fafbb00 fix shellagent save audio for new version comfyui 2025-05-22 14:54:40 +08:00
Chengwei Ouyang 1f16525118 update 2025-03-12 20:35:19 +08:00
Chengwei Ouyang 4558c880ab Merge pull request #11 from myshell-ai/fix-input-image-node-new-comfyui
fix: input image error in new comfyui version
2025-03-12 15:13:30 +08:00
Chengwei Ouyang ced3e0de2f remove image 2025-03-12 15:11:54 +08:00
shanexi 0599875a79 fix: input image error in new comfyui version 2025-03-12 14:55:39 +08:00
Chengwei Ouyang 33899c19dc Merge pull request #10 from myshell-ai/fix_input_image
[Fix] Adapt to the new version comfyui
2025-03-10 23:28:05 +08:00
Chengwei Ouyang 06163a06d4 i[date 2025-03-10 23:21:36 +08:00
shanexi 087571346c Merge pull request #9 from myshell-ai/support-input-video
feat: support input audio
2025-02-13 17:44:28 +08:00
shanexi bc62e8a44c feat: support input audio 2025-02-12 18:10:01 +08:00
Xumin Yu 078b3f5ea5 Add joint dependency for Easy use (ComfyUI_IPAdapter_plus) 2025-01-16 16:03:08 +08:00
wl-zhao 31f95035b2 Merge branch 'main' of https://github.com/myshell-ai/ComfyUI-ShellAgent-Plugin into main 2025-01-13 15:55:50 +08:00
wl-zhao 04d33d8a8e add easydict 2025-01-13 15:55:40 +08:00
Wenliang Zhao 4e2bfd5620 Update dependency_checker.py 2024-12-30 14:55:30 +08:00
wl-zhao 681f716bfa update safe open image function 2024-12-18 15:18:48 +08:00
wl-zhao 580ac932df add mac_addr to check realy exist 2024-12-18 14:49:38 +08:00
wl-zhao 37eb10c327 add check_exist 2024-12-18 14:42:28 +08:00
wl-zhao 2310c33966 add get mac_addr 2024-12-18 12:01:11 +08:00
wl-zhao 637bc88fec pass validation when os.path.isfile 2024-12-17 19:24:59 +08:00
wl-zhao 604d34900a support heif image 2024-12-16 17:25:23 +08:00
wl-zhao 82f3a05f1c fix mask bug 2024-12-13 14:52:16 +08:00
wl-zhao 07c080726e kMerge branch 'main' of https://github.com/myshell-ai/ComfyUI-ShellAgent-Plugin into main 2024-12-13 11:45:50 +08:00
wl-zhao 7238c1f40b fix error message when empty input image 2024-12-13 11:45:43 +08:00
Xumin Yu f1135ac55a Update node_deps_info.json 2024-12-12 14:01:48 +08:00
Xumin Yu 676c40691f Update node_deps_info.json 2024-12-12 14:00:55 +08:00
wl-zhao 623ea454cc support input/output audio backend 2024-12-10 16:35:26 +08:00
wl-zhao 2d21584447 add route to inspect version 2024-12-03 15:20:17 +08:00
wl-zhao 27613ed685 support models in nodes / skip configs / input image support mask 2024-11-22 11:49:10 +08:00
wl-zhao 92673900c5 add glob to search models, and raise error when no models founded / multiple models founded 2024-11-14 16:31:43 +08:00
wl-zhao d9d20018be improve abs_path of file dependency 2024-11-14 10:19:59 +08:00
wl-zhao ffa4123f07 support skip model check for some nodes 2024-11-12 16:58:27 +08:00
wl-zhao 35b2700251 add backtick 2024-11-11 15:30:45 +08:00
wl-zhao 42981b7889 add validation for variable name 2024-11-11 15:28:04 +08:00
wl-zhao 091d2ff930 merge 2024-11-07 10:56:29 +08:00
wl-zhao 85e01a8711 add tree_map for dependency checker 2024-11-07 10:56:06 +08:00
Xumin Yu 4d548bfb5a support .sft for model suffix 2024-11-06 20:39:39 +08:00
wl-zhao 24c17beccf fix output video path error 2024-11-04 12:18:01 +08:00
wl-zhao 4c8e720d05 fix output video path error 2024-11-04 12:17:40 +08:00
Xumin Yu 1aa0fc15e2 revert input_video.py 2024-11-03 22:38:56 +08:00
Xumin Yu 1faaad58f0 Update input_video.py 2024-11-03 22:38:13 +08:00
wl-zhao 0904716cd0 fix input video bug 2024-11-03 22:29:12 +08:00
wl-zhao c80f154659 input video 2024-11-01 20:21:27 +08:00