perf 完善文档

This commit is contained in:
kyj@bowong.ai 2025-07-31 17:10:13 +08:00
parent d09923d192
commit 8cb8cdc074
6 changed files with 56 additions and 7 deletions

View File

@ -1,10 +1,59 @@
# GUI小工具集 # AI GUI小工具集
### [n8n_video_gen_gui.py](n8n_video_gen_gui.py) n8n视频生成工具
<div align="center">
<img src=static/n8n_video_gen_gui.png width=60% />
</div>
### [comfyui_gui.py](comfyui_gui.py) comfyui换装工具
<div align="center">
<img src=static/comfyui_gui.png width=60% />
</div>
### [minimax_tts_gui.py](minimax_tts_gui.py) Minimax语音生成工具
<div align="center">
<img src=static/minimax_tts_gui.png width=60% />
</div>
## 使用方法
- n8n视频生成工具
- 使用步骤
- 全局参数配置
- 选择图片
- 生成提示词 (生成提示词的Prompt可以点击图片参数配置**右侧小齿轮**配置)
- 生成视频
- comfyui换装工具
- 使用步骤
- 配置ComfyUI服务器
- 连接服务器选择符合要求的工作流
- 配置工作流输入输出节点
- 第一个LoadImage节点对应模特
- 第二个LoadImage节点对应服装
- SaveImageAnywhere节点在对应输出文件夹中输出换装结果
- 点击开始换装 (单模特批量换装, 模特需要手动点击切换)
- Minimax语音生成工具
- 使用步骤
- 配置语音设置
- 语音ID需提前使用Voice Clone接口进行克隆
- 语速、音量、音调、情感可调
- 输入TTS文本
- 选择输出目录和文件名格式
- 点击开始转换
- video_gen.py 调用n8n生成视频小工具
- tts.py 调用Minimax生成语音
- comfyui_gui.py 调用自定义comfyui执行换装任务
## 打包指令 ## 打包指令
nuitka --standalone --onefile --windows-console-mode=disable --plugin-enable=pyside6 --windows-icon-from-ico=./static/video.ico --include-data-file=static/SourceHanSansCN-Medium.ttf=SourceHanSansCN-Medium.ttf video_gen.py - n8n视频生成工具
nuitka --standalone --onefile --windows-console-mode=disable --plugin-enable=pyside6 --windows-icon-from-ico=./static/video.ico tts.py ```
nuitka --standalone --onefile --windows-console-mode=disable --plugin-enable=pyside6 --windows-icon-from-ico=./static/comfyui_hz.ico --include-data-file=static/comfyui_hz.ico=comfyui_hz.ico comfyui_gui.py nuitka --standalone --onefile --windows-console-mode=disable --plugin-enable=pyside6 --windows-icon-from-ico=./static/video.ico --include-data-file=static/SourceHanSansCN-Medium.ttf=SourceHanSansCN-Medium.ttf n8n_video_gen_gui.py
```
- comfyui换装工具
```
nuitka --standalone --onefile --windows-console-mode=disable --plugin-enable=pyside6 --windows-icon-from-ico=./static/comfyui_hz.ico --include-data-file=static/comfyui_hz.ico=comfyui_hz.ico comfyui_gui.py
```
- Minimax语音生成工具
```
nuitka --standalone --onefile --windows-console-mode=disable --plugin-enable=pyside6 --windows-icon-from-ico=./static/video.ico minimax_tts_gui.py
```

BIN
static/comfyui_gui.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

BIN
static/minimax_tts_gui.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB