完善快速编辑参考图与生成占位

- 快速编辑支持最多8张额外参考图,并将原图自动作为最后一张参考图提交

- 快速编辑尺寸和模型沿用原图配置,按禁用态参数胶囊展示

- 快速编辑提交前同步改写原图引用为实际图序号

- 快速编辑生成改为创建独立画布生成占位,并支持键盘删除生成中对象

- 对齐生成类面板参考图图标、规范类固定参数和相关文档测试
This commit is contained in:
2026-06-18 22:39:03 +08:00
parent b04b6cee2b
commit ea29887d9c
65 changed files with 2819 additions and 531 deletions
@@ -46,6 +46,7 @@ export type EditorProjectResourceSnapshot = {
model?: string | null;
provider?: string | null;
taskId?: string | null;
durationSeconds?: number | null;
sourceResourceId?: string | null;
createdAt?: string;
updatedAt?: string;
@@ -76,6 +77,7 @@ export type EditorAssetSnapshot = {
model?: string | null;
provider?: string | null;
taskId?: string | null;
durationSeconds?: number | null;
createdAt?: string;
updatedAt?: string;
};
@@ -252,6 +254,7 @@ export type EditorAudioGenerationResult = {
taskId: string;
priceMudPoints: number;
audioKind: 'sound-effect' | 'background-music';
durationSeconds?: number | null;
};
export type EditorProjectSnapshot = {
@@ -295,6 +298,7 @@ export type EditorProjectResourceCreateInput = {
model?: string | null;
provider?: string | null;
taskId?: string | null;
durationSeconds?: number | null;
sourceResourceId?: string | null;
};
@@ -312,6 +316,7 @@ export type EditorAssetCreateInput = {
model?: string | null;
provider?: string | null;
taskId?: string | null;
durationSeconds?: number | null;
};
export type EditorAssetUpdateInput = {