Open
Conversation
- 修改 VideoComposeRequest schema,使用 project_id 替代 scenes 和 project_title - 修改 /compose 接口从数据库查询所有场景和对话数据 - 确保包含所有场景信息:image_url、audio_url、对话等 - 按 sequence 排序确保场景顺序正确 - 从 Dialogue 表查询对话数据并构造 DialogueLine 对象 Closes #166 Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: dthcle <23205652+dthcle@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
修改视频合成接口,不再使用前端传来的场景数据,而是通过
project_id从数据库读取所有场景和对话数据,确保视频生成时包含完整信息。Changes
VideoComposeRequestschema,使用project_id替代scenes和project_title/compose接口从数据库查询所有场景和对话数据image_url、audio_url、对话等sequence排序确保场景顺序正确Dialogue表查询对话数据并构造DialogueLine对象Technical Details
修改前:
scenes、project_title参数修改后:
project_id参数Scene和Dialogue表查询完整数据Closes #166
🤖 Generated with codeagent