diff --git a/assets/bundles/Chat18x/Image/Girls/10006/video/10006_video_5.mp4 b/assets/bundles/Chat18x/Image/Girls/10006/video/10006_video_5.mp4 new file mode 100644 index 00000000..97ad0799 Binary files /dev/null and b/assets/bundles/Chat18x/Image/Girls/10006/video/10006_video_5.mp4 differ diff --git a/assets/bundles/Chat18x/Image/Girls/10006/video/10006_video_6.mp4 b/assets/bundles/Chat18x/Image/Girls/10006/video/10006_video_6.mp4 new file mode 100644 index 00000000..b219dbd2 Binary files /dev/null and b/assets/bundles/Chat18x/Image/Girls/10006/video/10006_video_6.mp4 differ diff --git a/assets/bundles/Chat18x/Image/Girls/10008/video/10008_video_3.mp4 b/assets/bundles/Chat18x/Image/Girls/10008/video/10008_video_3.mp4 new file mode 100644 index 00000000..b7251b15 Binary files /dev/null and b/assets/bundles/Chat18x/Image/Girls/10008/video/10008_video_3.mp4 differ diff --git a/assets/bundles/Chat18x/Image/Girls/10008/video/10008_video_4.mp4 b/assets/bundles/Chat18x/Image/Girls/10008/video/10008_video_4.mp4 new file mode 100644 index 00000000..08d14268 Binary files /dev/null and b/assets/bundles/Chat18x/Image/Girls/10008/video/10008_video_4.mp4 differ diff --git a/assets/bundles/Chat18x/Image/Girls/10008/video/10008_video_5.mp4 b/assets/bundles/Chat18x/Image/Girls/10008/video/10008_video_5.mp4 new file mode 100644 index 00000000..42aa718f Binary files /dev/null and b/assets/bundles/Chat18x/Image/Girls/10008/video/10008_video_5.mp4 differ diff --git a/assets/bundles/Chat18x/Image/Girls/10009/video/10009_video_4.mp4 b/assets/bundles/Chat18x/Image/Girls/10009/video/10009_video_4.mp4 new file mode 100644 index 00000000..dbf086ab Binary files /dev/null and b/assets/bundles/Chat18x/Image/Girls/10009/video/10009_video_4.mp4 differ diff --git a/assets/bundles/Chat18x/Image/Girls/10009/video/10009_video_5.mp4 b/assets/bundles/Chat18x/Image/Girls/10009/video/10009_video_5.mp4 new file mode 100644 index 00000000..421172c2 Binary files /dev/null and b/assets/bundles/Chat18x/Image/Girls/10009/video/10009_video_5.mp4 differ diff --git a/assets/bundles/Chat18x/Image/Girls/10009/video/10009_video_6.mp4 b/assets/bundles/Chat18x/Image/Girls/10009/video/10009_video_6.mp4 new file mode 100644 index 00000000..68b1386b Binary files /dev/null and b/assets/bundles/Chat18x/Image/Girls/10009/video/10009_video_6.mp4 differ diff --git a/assets/bundles/Chat18x/Image/Girls/gen_blur.bat b/assets/bundles/Chat18x/Image/Girls/gen_blur.bat index 195be6b8..4a51263e 100644 --- a/assets/bundles/Chat18x/Image/Girls/gen_blur.bat +++ b/assets/bundles/Chat18x/Image/Girls/gen_blur.bat @@ -1,16 +1,35 @@ @echo off setlocal enabledelayedexpansion -:: 设置需要匹配的关键字(修改这里) set keyword=_thumbnail -:: 遍历当前目录及所有子目录 -for /r %%i in (*.jpg *.png) do ( +:: 遍历 JPG +for /r %%i in (*.jpg) do ( set filename=%%~nxi echo !filename! | findstr /i "%keyword%" >nul - if !errorlevel! == 0 ( - echo 生成模糊图: %%i - ffmpeg -y -i "%%i" -vf "gblur=sigma=50" "%%~dpi%%~ni_blur%%~xi" + if !errorlevel! equ 0 ( + set "blurfile=%%~dpi%%~ni_blur%%~xi" + if not exist "!blurfile!" ( + echo 生成模糊图: %%i + ffmpeg -y -i "%%i" -vf "gblur=sigma=50" "!blurfile!" + ) else ( + echo 已存在模糊图: !blurfile! + ) + ) +) + +:: 遍历 PNG +for /r %%i in (*.png) do ( + set filename=%%~nxi + echo !filename! | findstr /i "%keyword%" >nul + if !errorlevel! equ 0 ( + set "blurfile=%%~dpi%%~ni_blur%%~xi" + if not exist "!blurfile!" ( + echo 生成模糊图: %%i + ffmpeg -y -i "%%i" -vf "gblur=sigma=50" "!blurfile!" + ) else ( + echo 已存在模糊图: !blurfile! + ) ) ) diff --git a/assets/bundles/Chat18x/Image/Girls/gen_thumbnail.bat b/assets/bundles/Chat18x/Image/Girls/gen_thumbnail.bat index 351942c8..de940be0 100644 --- a/assets/bundles/Chat18x/Image/Girls/gen_thumbnail.bat +++ b/assets/bundles/Chat18x/Image/Girls/gen_thumbnail.bat @@ -12,17 +12,22 @@ for /r %%i in (*.mp4) do ( REM 生成输出文件名(与视频文件同名,不同扩展名) set "output_file=%%~ni_thumbnail.jpg" - REM 提取第一帧 - echo 正在处理: %%~nxi - ffmpeg -i "%%i" -vframes 1 -q:v 4 "!file_path!!output_file!" -y 2>nul - - if !errorlevel! equ 0 ( - echo 成功: !output_file! + REM 判断目标文件是否存在 + if not exist "!file_path!!output_file!" ( + REM 提取第一帧 + echo 正在处理: %%~nxi + ffmpeg -i "%%i" -vframes 1 -q:v 4 "!file_path!!output_file!" -y 2>nul + + if !errorlevel! equ 0 ( + echo 成功: !output_file! + ) else ( + echo 失败: %%~nxi + ) + echo. ) else ( - echo 失败: %%~nxi + echo 已存在截图: !output_file!, 跳过生成. ) - echo. ) echo 所有视频处理完成! -pause \ No newline at end of file +pause diff --git a/comfyui_work/prompts/character_generate_foldername.xlsx b/comfyui_work/prompts/character_generate_foldername.xlsx new file mode 100644 index 00000000..17bee916 Binary files /dev/null and b/comfyui_work/prompts/character_generate_foldername.xlsx differ diff --git a/comfyui_work/prompts/character_generate_prompt.xlsx b/comfyui_work/prompts/character_generate_prompt.xlsx index 47684bdf..176563bb 100644 Binary files a/comfyui_work/prompts/character_generate_prompt.xlsx and b/comfyui_work/prompts/character_generate_prompt.xlsx differ diff --git a/comfyui_work/prompts/character_prompt.xlsx b/comfyui_work/prompts/character_prompt.xlsx index 6151f5e0..c930a8f4 100644 Binary files a/comfyui_work/prompts/character_prompt.xlsx and b/comfyui_work/prompts/character_prompt.xlsx differ diff --git a/comfyui_work/prompts/less_porn_prompt.xlsx b/comfyui_work/prompts/less_porn_prompt.xlsx new file mode 100644 index 00000000..8ded739d Binary files /dev/null and b/comfyui_work/prompts/less_porn_prompt.xlsx differ diff --git a/xchat_cfg b/xchat_cfg index 51d963aa..86c51c6c 160000 --- a/xchat_cfg +++ b/xchat_cfg @@ -1 +1 @@ -Subproject commit 51d963aac1e24615d5a03aceee548745ff897add +Subproject commit 86c51c6c060ab3abae980692378f33930ffd5e6f