feat: 同步最新生图与身份能力

This commit is contained in:
GouJ committed 2026-09-22 19:56:12 +08:00
1 parent 65e8f9c3ba
commit be06caaa9f
18 files changed
+583 -69

No files matched your search

+4
View File
@@ -6,6 +6,7 @@ import type {
GenerateQualityVideosInput,
KeyframeBatchResult,
KeyframeReadiness,
KeyframeGenerationPreview,
KeyframeSpec,
ProjectVideoStatus,
PromptReadiness,
@@ -106,6 +107,9 @@ export const productionApi = {
request<ShotKeyframe[]>(`${shotPath(shotId)}/keyframes`, { signal }),
keyframeSpec: (shotId: string, signal?: AbortSignal) =>
request<KeyframeSpec>(`${shotPath(shotId)}/keyframe-spec`, { signal }),
/** 预览最终参考图规划与 Provider Prompt,不创建首帧任务。 */
previewKeyframe: (shotId: string) =>
request<KeyframeGenerationPreview>(`${shotPath(shotId)}/keyframe/preview`, { method: 'POST', body: {} }),
generateKeyframe: (shotId: string, input: GenerateKeyframeInput) =>
request<ShotKeyframe | null>(`${shotPath(shotId)}/keyframe`, {
method: 'POST',