feat: 片段调整 - 调速 + 音量 + 裁剪 + 批量调速 #400

Merged
xiaoxia merged 1 commits from feat/clip-adjustments into develop 2026-07-17 10:01:35 +08:00

1 Commits

Author SHA1 Message Date
CI Bot e7bdc48c49 feat: 片段调整 - 调速 + 音量 + 裁剪 + 批量调速
CI Build & Deploy Pipeline / Build Staging API Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Staging Worker Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Staging Web Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production API Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production Web Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production Worker Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI Build & Deploy Pipeline / Deploy Production (pull_request) Has been skipped
CI Build & Deploy Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI Build & Deploy Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI Build & Deploy Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 17s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 51s
AI Code Review / AI Code Review (pull_request) Successful in 1m58s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Successful in 2m52s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 2m55s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 2m8s
- PUT /clips/{id}/speed 调速(0.25~4.0倍)
- PUT /clips/{id}/volume 音量调节(0~2.0倍)
- PUT /clips/{id}/trim 裁剪(trim_start + trim_end)
- PUT /clips/{id}/adjustments 统一调整(speed+volume+trim)
- POST /{plan_id}/clips/batch-speed 批量调速
- 裁剪时长校验,不能超过片段总时长
- 音量/裁剪存储在 clip.config,零侵入数据模型
- 25个单元测试全覆盖
2026-07-17 09:38:56 +08:00