Skip to content

Commit a604687

Browse files
ChanMoclaude
andcommitted
Release v0.8.2: AI图片标题生成智能压缩优化
添加Pillow依赖实现图片自动压缩,在生成标题时将图片调整至1536px最长边并进行质量压缩,大幅降低token消耗和提升响应速度,同时保持生成质量不受影响。 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 57f87bb commit a604687

File tree

3 files changed

+171
-8
lines changed

3 files changed

+171
-8
lines changed

poetry.lock

Lines changed: 131 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "TikLocal"
3-
version = "0.8.1"
3+
version = "0.8.2"
44
description = "A local media server that combines the features of TikTok and Pinterest"
55
authors = ["ChanMo <chan.mo@outlook.com>"]
66
readme = "README.md"
@@ -18,6 +18,7 @@ flask = "^3.1.0"
1818
waitress = "^3.0.2"
1919
pyyaml = "^6.0"
2020
requests = "^2.32.0"
21+
pillow = "^11.0.0"
2122

2223
[[tool.poetry.source]]
2324
name = "aliyun"

0 commit comments

Comments
 (0)