【P0】生成的视频没有标题 - 打通title全链路 #576

Closed
opened 2026-07-19 12:53:29 +08:00 by xiaoxia · 0 comments
Owner

问题

生成的视频名称是 generated-xxx.mp4,没有使用用户在智能剪辑中设置的标题。

根因

前端传了title参数,但worker中create_video_record_and_dedup没收到name参数,fallback到了默认命名。

修复内容

  1. API层确认generation_task中name/title字段传递
  2. worker的generation.py调用create_video_record_and_dedup时传入name(来自task的title)
  3. GeneratedVideo.name使用用户设置的标题

验收标准

  • 智能剪辑设置了标题的,成片库显示该标题
  • 未设置标题时使用默认兜底命名
## 问题 生成的视频名称是 generated-xxx.mp4,没有使用用户在智能剪辑中设置的标题。 ## 根因 前端传了title参数,但worker中create_video_record_and_dedup没收到name参数,fallback到了默认命名。 ## 修复内容 1. API层确认generation_task中name/title字段传递 2. worker的generation.py调用create_video_record_and_dedup时传入name(来自task的title) 3. GeneratedVideo.name使用用户设置的标题 ## 验收标准 - 智能剪辑设置了标题的,成片库显示该标题 - 未设置标题时使用默认兜底命名
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: xiaoxia/xiaoxia-saas#576