feat: Production 启动前端接收后台执行 ID
This commit is contained in:
1 parent
10d83e570f
commit
00032cf30d
1 file changed
+2
-3
@@ -77,10 +77,9 @@ export const productionApi = {
|
|||||||
keyframeLimit?: number
|
keyframeLimit?: number
|
||||||
}
|
}
|
||||||
) =>
|
) =>
|
||||||
request<ProductionPipelineResult>(`${projectPath(projectId)}/production/start`, {
|
request<WorkflowExecutionStart>(`${projectPath(projectId)}/production/start`, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
body: input ?? {},
|
body: input ?? {}
|
||||||
timeoutMs: 0
|
|
||||||
}),
|
}),
|
||||||
promptReadiness: (projectId: string, force: boolean, signal?: AbortSignal) =>
|
promptReadiness: (projectId: string, force: boolean, signal?: AbortSignal) =>
|
||||||
request<PromptReadiness>(`${projectPath(projectId)}/video-prompts/readiness?force=${force}`, { signal }),
|
request<PromptReadiness>(`${projectPath(projectId)}/video-prompts/readiness?force=${force}`, { signal }),
|
||||||
|
|||||||
Reference in new issue
Block a user