Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Release v3.1.1

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Jun 11:10
37f52c8

版本说明

注意该版本对 CIL 参数进行了更改,为了避免问题请你仔细阅读最新 CIL 帮助文档

  • 2025/06/30 更新
    • 新增 size_range 选项,允许用户输入照片文件大小的最小值和最大值,尝试在保持质量的同时确保文件大小在范围内
    • 新增 target_size 选项,用于控制照片文件大小
    • 新增 RMBG-2.0 与 yolov8 较高迭代版本的支持(需要在 Latest 环境下)
    • 新增 CLI/BAT/WEBUI 版本的自动构建
    • 新增 模型路径配置选项
    • 修复 已知BUG

本发布包含以下三种版本:

CLI 版本

  • Compatible: Python 3.8.10 + onnxruntime 1.14.0
    • 仅包含命令行界面的单个可执行文件(pyinstaller打包)
    • 体积最小,启动最快
    • 仅支持命令行参数运行
    • 适合自动化脚本或批处理调用
    • 兼容性最好,适合较老的系统
  • Latest: Python 3.11.8 + onnxruntime >=1.14.0
    • 与Compatible版本功能相同,但使用更新的Python和依赖
    • 性能更好,适合较新的系统

BAT 版本

  • Compatible: Python 3.8.10 (Embedded) + onnxruntime 1.14.0
    • 包含完整的Python环境(嵌入式)
    • 不包含WebUI相关组件
    • 支持命令行和批处理脚本运行
    • 兼容性好,适合较老的系统
  • Latest: Python 3.11.8 (Embedded) + onnxruntime >=1.14.0
    • 与Compatible版本功能相同,但使用更新的Python和依赖
    • 性能更好,适合较新的系统

WebUI 版本

  • Compatible: Python 3.8.10 (Embedded) + gradio 4.44.1
    • 完整版本,包含所有功能
    • 包含WebUI图形界面
    • 包含完整的Python环境(嵌入式)
    • 支持命令行、批处理脚本和网页界面运行
    • 兼容性好,适合较老的系统
  • Latest: Python 3.11.8 (Embedded) + gradio >=4.44.1
    • 与Compatible版本功能相同,但使用更新的Python和依赖
    • 性能更好,适合较新的系统

选择建议

  • 如果您只需要命令行功能,推荐使用 CLI 版本
  • 如果您需要批处理脚本功能,推荐使用 BAT 版本
  • 如果您需要完整功能,推荐使用 WebUI 版本
  • 如果您的系统较老或遇到兼容性问题,请选择 Compatible 版本
  • 如果您的系统较新且想要获得最佳性能,请选择 Latest 版本

Version Description

Note: This version includes changes to CIL parameters. Please carefully read the latest CIL help documentation to avoid issues.

  • 2025/06/30 Update
    • Added size_range option, allowing users to input a min and max file size, attempting to maintain quality while keeping the file size within the range.
    • Added target_size option to control the photo file size.
    • Added support for RMBG-2.0 and higher iterations of yolov8 (requires Latest environment).
    • Added automatic builds for CLI/BAT/WEBUI versions.
    • Added model path configuration options.
    • Fixed known bugs.

This release includes three different versions:

CLI Version

  • Compatible: Python 3.8.10 + onnxruntime 1.14.0
    • Single executable file with command-line interface only (pyinstaller packaged)
    • Smallest size and fastest startup
    • Supports command-line parameters only
    • Ideal for automation scripts or batch processing
    • Best compatibility, suitable for older systems
  • Latest: Python 3.11.8 + onnxruntime >=1.14.0
    • Same functionality as Compatible version but with newer Python and dependencies
    • Better performance, suitable for newer systems

BAT Version

  • Compatible: Python 3.8.10 (Embedded) + onnxruntime 1.14.0
    • Includes complete Python environment (embedded)
    • Does not include WebUI components
    • Supports command-line and batch script execution
    • Good compatibility, suitable for older systems
  • Latest: Python 3.11.8 (Embedded) + onnxruntime >=1.14.0
    • Same functionality as Compatible version but with newer Python and dependencies
    • Better performance, suitable for newer systems

WebUI Version

  • Compatible: Python 3.8.10 (Embedded) + gradio 4.44.1
    • Complete version with all features
    • Includes WebUI graphical interface
    • Includes complete Python environment (embedded)
    • Supports command-line, batch scripts, and web interface
    • Good compatibility, suitable for older systems
  • Latest: Python 3.11.8 (Embedded) + gradio >=4.44.1
    • Same functionality as Compatible version but with newer Python and dependencies
    • Better performance, suitable for newer systems

Selection Recommendations

  • If you only need command-line functionality, choose the CLI version
  • If you need batch script functionality, choose the BAT version
  • If you need complete functionality, choose the WebUI version
  • If you have an older system or encounter compatibility issues, choose the Compatible version
  • If you have a newer system and want the best performance, choose the Latest version