Initial TrueGrowth source import
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# Change: 对齐爆款视频与爆款 MV 的创作流程
|
||||
|
||||
## Why
|
||||
爆款 MV 已经沉淀出一组更完整的创作交互,但爆款视频仍缺少角色编辑、生成重置和统一导出,导致两条流程体验分叉、优秀实践无法复用。
|
||||
|
||||
## What Changes
|
||||
- 为爆款视频脚本页补充角色描述编辑
|
||||
- 为爆款视频生成页补充重置生成与素材 ZIP 下载
|
||||
- 抽取爆款视频与爆款 MV 共用的生成结果重置与 ZIP 导出能力
|
||||
- 统一两边生成页底部操作区文案与布局,保留各自领域特有批量生成能力
|
||||
|
||||
## Impact
|
||||
- Affected specs: video-mv-workflow-parity
|
||||
- Affected code: `packages/drawnix/src/components/video-analyzer/`, `packages/drawnix/src/components/mv-creator/`, `packages/drawnix/src/components/shared/`
|
||||
@@ -0,0 +1,34 @@
|
||||
## ADDED Requirements
|
||||
### Requirement: Script Page Character Editing Parity
|
||||
The system SHALL let users edit detected character descriptions in the video analyzer script page, using the same interaction pattern as the MV creator.
|
||||
|
||||
#### Scenario: Edit character descriptions in video analyzer
|
||||
- **GIVEN** a video analyzer record contains detected characters
|
||||
- **WHEN** the user edits a character description on the script page
|
||||
- **THEN** the updated description is persisted on the record
|
||||
- **AND** subsequent generation uses the updated character description
|
||||
|
||||
### Requirement: Shared Generation Reset
|
||||
The system SHALL provide a consistent "reset generated assets" action for both video analyzer and MV creator generation pages.
|
||||
|
||||
#### Scenario: Reset generation assets
|
||||
- **GIVEN** a record has generated first frames, last frames, videos, or character reference images
|
||||
- **WHEN** the user clicks the reset action
|
||||
- **THEN** generated asset URLs and suppressed generated URLs are cleared
|
||||
- **AND** character reference images are cleared
|
||||
- **AND** script content, selected models, and workflow versions remain unchanged
|
||||
|
||||
### Requirement: Shared ZIP Export Contract
|
||||
The system SHALL export generated workflow assets from both video analyzer and MV creator using the same ZIP manifest contract.
|
||||
|
||||
#### Scenario: Export video analyzer assets
|
||||
- **GIVEN** a video analyzer record has generated assets
|
||||
- **WHEN** the user exports the workflow assets
|
||||
- **THEN** the ZIP contains the script markdown, manifest file, download helper script, and generated shot assets
|
||||
- **AND** the manifest keeps the shared structure used by MV creator
|
||||
- **AND** music-related fields are empty when no music asset exists
|
||||
|
||||
#### Scenario: Export MV creator assets
|
||||
- **GIVEN** an MV creator record has generated assets and optionally a selected music clip
|
||||
- **WHEN** the user exports the workflow assets
|
||||
- **THEN** the ZIP contains the shared manifest structure plus the selected music asset when available
|
||||
@@ -0,0 +1,6 @@
|
||||
## 1. Implementation
|
||||
- [x] 1.1 为爆款视频脚本页补充角色描述编辑并持久化到现有记录
|
||||
- [x] 1.2 抽取共用的素材 ZIP 导出与生成结果重置 helper
|
||||
- [x] 1.3 将共用 helper 接入爆款 MV 生成页,保持现有行为
|
||||
- [x] 1.4 为爆款视频生成页补充重置生成、素材下载 ZIP 与底部操作区对齐
|
||||
- [x] 1.5 补充或更新相关测试,验证导出与重置逻辑
|
||||
Reference in New Issue
Block a user