17 Commits

Author SHA1 Message Date
Your Name
6628a6b2d0 feat: enhance workflow controls and media settings
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-04-20 14:39:41 +08:00
Your Name
0bdc16492d refactor: reuse shared rmbg service for box cutout
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-03-07 10:12:57 +08:00
Your Name
055652cc91 feat: add box cutout flow for canvas images
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-03-07 09:45:52 +08:00
Your Name
12583cdd10 feat: sync latest canvas and media updates
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-03-06 17:31:32 +08:00
Your Name
2a40607fc1 fix(scene-fusion): strengthen random-bg replacement, UI actions, and gallery persistence
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-03-06 00:56:42 +08:00
Your Name
4ac636f8d1 feat(scene-fusion): preprocess product with rmbg before fusion
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-03-05 22:07:40 +08:00
Your Name
f6979f0196 feat: 完善无限画布3D生成与实时画布能力
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-02-28 22:33:16 +08:00
Your Name
458b15f889 放宽AOS抠图请求超时并延长轮询窗口
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-02-15 23:13:11 +08:00
Your Name
49e8731e7f 修复AOS抠图轮询状态判断错误导致误判失败
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-02-15 23:06:18 +08:00
Your Name
2987bd793e 新增AOS抠图服务商配置并接入异步任务调用
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-02-15 22:56:34 +08:00
Your Name
ab583c38ef feat: add PhotoRoom background removal support in RMBG settings
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-27 22:15:29 +08:00
Your Name
6a2cbb1b49 feat: use image URLs instead of Base64 for canvas image operations
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- Modified ImageNode to upload images to storage bucket before use
- Updated RMBG API to support imageUrl parameter (fetch from URL and convert to Base64 internally)
- Updated Enhance API to support imageUrl parameter
- Updated canvas service layer to use imageUrl for all image processing APIs
- All processed images are saved to storage bucket and user gallery
2026-01-24 20:58:15 +08:00
Your Name
00b8755838 修复路由冲突:删除重复的 detect-object 路由
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Next.js 16.1.1 不允许重复路由。
删除 app/(chat)/api/detect-object/route.ts,保留 app/api/detect-object/route.ts 作为主要API路由。
2026-01-01 12:38:55 +08:00
Your Name
d38ee5d98b fix: 改进网络错误检测 - 检查error.cause中的EHOSTUNREACH等错误码
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2025-12-29 00:13:36 +08:00
Your Name
30a0c09cf3 fix: 改进RMBG API错误处理 - 添加超时控制和网络连接错误提示
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2025-12-29 00:11:41 +08:00
Your Name
997afdd694 fix: 修复RMBG API密钥请求头格式 - 使用X-API-Key而不是Authorization Bearer
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2025-12-29 00:08:38 +08:00
Your Name
88df4d8793 feat: 添加画图标注抠图功能
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- 新增抠图API路由 (/api/rmbg)
  - 从数据库读取RMBG API配置
  - 调用外部RMBG服务进行抠图
  - 上传处理后的图片到S3存储桶(缩略图+原图)
  - 保存图片记录到GeneratedImage表
  - 返回S3 URL和Base64给前端

- 在画图标注组件中添加抠图功能
  - 添加抠图按钮(带Scissors图标)
  - 调用抠图API处理画布图片
  - 使用S3 URL替换画布图片
  - 显示处理状态和成功提示

- 在系统设置中添加抠图API配置
  - 新增抠图设置标签页
  - API地址和密钥配置
  - 配置保存到SystemSettings表(key: rmbg_api_config)

- 功能特点:
  - 图片自动上传到S3存储桶
  - 自动生成缩略图(500px,PNG格式保持透明)
  - 保存到数据库,可在相册和出图记录中查看
  - 支持透明背景PNG格式
  - 完整的错误处理和用户提示
2025-12-28 23:38:51 +08:00