feat: 补齐前端主流程并收紧工作台布局

统一工作台紧凑头部与形态图库间距,修复主体身份布局,并接入正式严格视频质量流水线。
This commit is contained in:
GouJ authored and GitHub committed 2026-09-08 09:25:14 +08:00
1 parent 0f8b2074e4
commit 4edb0ff6cc
25 files changed
+355 -233

No files matched your search

+11 -7
View File
@@ -3,7 +3,7 @@ import type { PromptBatchResult, StoryboardBatchInput } from '../storyboard/type
import type {
GenerateKeyframeInput,
GenerateKeyframesInput,
GenerateVideosInput,
GenerateQualityVideosInput,
KeyframeBatchResult,
KeyframeReadiness,
KeyframeSpec,
@@ -13,7 +13,9 @@ import type {
RetryVideosResult,
ShotKeyframe,
ShotVideo,
VideoBatchResult,
ShotVideoQualityResult,
VideoQualityBatchResult,
VideoQualityConfig,
VideoGenerationSpec,
VideoReadiness
} from './types'
@@ -54,8 +56,9 @@ export const productionApi = {
}),
videoReadiness: (projectId: string, force: boolean, signal?: AbortSignal) =>
request<VideoReadiness>(`${projectPath(projectId)}/videos/readiness?force=${force}`, { signal }),
generateVideos: (projectId: string, input: GenerateVideosInput) =>
request<VideoBatchResult>(`${projectPath(projectId)}/videos/generate`, {
/** 启动项目级严格视频质量流水线;创建后由后端自动完成校验、有限修复与晋升。 */
generateQualityVideos: (projectId: string, input: GenerateQualityVideosInput) =>
request<VideoQualityBatchResult>(`${projectPath(projectId)}/videos/generate-quality`, {
method: 'POST',
body: input,
timeoutMs: 0
@@ -86,10 +89,11 @@ export const productionApi = {
request<VideoGenerationSpec>(`${shotPath(shotId)}/video-generation-spec`, { signal }),
listVideos: (shotId: string, signal?: AbortSignal) =>
request<ShotVideo[]>(`${shotPath(shotId)}/videos`, { signal }),
generateVideo: (shotId: string) =>
request<ShotVideo | null>(`${shotPath(shotId)}/videos`, {
/** 启动单镜头严格视频质量流水线;返回初始候选,最终主视频以后端状态为准。 */
generateQualityVideo: (shotId: string, input: VideoQualityConfig) =>
request<ShotVideoQualityResult>(`${shotPath(shotId)}/videos/generate-quality`, {
method: 'POST',
body: {},
body: input,
timeoutMs: 0
}),
refreshVideo: (videoId: string, signal?: AbortSignal) =>