14 Commits

Author SHA1 Message Date
Your Name
c68c1a1964 fix: 修复enhance API中image字段可能是base64字符串而非URL的问题,添加URL验证
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2025-12-29 02:03:36 +08:00
Your Name
f239642716 fix: 修复FormData Buffer转换时chunk类型错误,确保所有chunk都转换为Buffer
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2025-12-29 01:59:31 +08:00
Your Name
477d84accc fix: 修复FormData stream未触发的问题,使用pipe触发stream读取
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2025-12-29 01:56:38 +08:00
Your Name
4d50509cf7 debug: 添加FormData Buffer转换完成的日志
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2025-12-29 01:53:25 +08:00
Your Name
e9cbca3042 debug: 添加轮询进度日志,监控任务处理状态
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2025-12-29 01:50:18 +08:00
Your Name
4e4c5e6bba debug: 添加请求体处理步骤的调试日志
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2025-12-29 01:47:02 +08:00
Your Name
e3f15b8bef debug: 添加更多enhance API调试日志
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2025-12-29 01:44:44 +08:00
Your Name
b64cefccb5 debug: 添加enhance API请求追踪日志
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2025-12-29 01:42:12 +08:00
Your Name
bacac837bd fix: 增加enhance API的超时时间,解决499错误(客户端关闭连接)
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2025-12-29 01:29:23 +08:00
Your Name
05ea65964b refactor: 根据官方示例重写enhance API,使用异步模式(创建任务+轮询)
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2025-12-29 01:21:48 +08:00
Your Name
94c45bbc4e fix: 修复ArrayBuffer类型错误,使用Uint8Array替代
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2025-12-29 01:18:04 +08:00
Your Name
73690e7434 fix: 修复FormData Buffer转换问题
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2025-12-29 01:14:49 +08:00
Your Name
d12e831f93 fix: 修复变清晰API中FormData的使用 - 使用form-data包并正确处理Buffer转换
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2025-12-29 01:08:17 +08:00
Your Name
e9ceedb3bf feat: 添加图片变清晰功能
- 创建 /api/enhance 路由,实现图片变清晰API集成
- 在图片标注组件中添加变清晰按钮(Sparkles图标)
- 在相册页面添加变清晰按钮
- 系统设置:将抠图设置改名为本地AI设置,添加变清晰API配置
- 支持同步和异步两种模式
- 自动上传到S3存储桶并保存到数据库
- 在相册和出图记录中显示处理后的图片
2025-12-29 00:33:12 +08:00