feat: 对齐后端能力并补齐形态提示词与生产诊断
This commit is contained in:
1 parent
7d8074f90e
commit
f71d2bf0a4
30 files changed
+1707
-66
No files matched your search
@@ -9,6 +9,7 @@ import type {
|
||||
KeyframeSpec,
|
||||
ProjectVideoStatus,
|
||||
PromptReadiness,
|
||||
ProductionPipelineResult,
|
||||
RetryVideosResult,
|
||||
ShotKeyframe,
|
||||
ShotVideo,
|
||||
@@ -29,6 +30,12 @@ function shotPath(id: string) {
|
||||
|
||||
/** 生产链 API;生成请求不设置客户端短超时,也不自动重试。 */
|
||||
export const productionApi = {
|
||||
startPipeline: (projectId: string) =>
|
||||
request<ProductionPipelineResult>(`${projectPath(projectId)}/production/start`, {
|
||||
method: 'POST',
|
||||
body: { imageProvider: 'seedream', videoProvider: 'seedance' },
|
||||
timeoutMs: 0
|
||||
}),
|
||||
promptReadiness: (projectId: string, force: boolean, signal?: AbortSignal) =>
|
||||
request<PromptReadiness>(`${projectPath(projectId)}/video-prompts/readiness?force=${force}`, { signal }),
|
||||
generatePrompts: (projectId: string, input: StoryboardBatchInput) =>
|
||||
|
||||
Reference in new issue
Block a user