fix: 同步制作接口并修复浅色主题层次

This commit is contained in:
GouJ committed 2026-09-14 10:08:54 +08:00
1 parent 2eea0ea72e
commit 7ea3f2a0b4
19 files changed
+641 -93

No files matched your search

+14
View File
@@ -10,6 +10,9 @@ import type {
ProjectVideoStatus,
PromptReadiness,
ProductionPipelineResult,
ProductionPlan,
ProviderInputSpec,
ProjectProductionStatus,
RetryVideosResult,
ShotKeyframe,
ShotVideo,
@@ -32,6 +35,17 @@ function shotPath(id: string) {
/** 生产链 API;生成请求不设置客户端短超时,也不自动重试。 */
export const productionApi = {
/** 根据显式指定的模型查询最终输入,不能用通用规格推断授权素材是否生效。 */
providerInputSpec: (shotId: string, provider: string, signal?: AbortSignal) =>
request<ProviderInputSpec>(`${shotPath(shotId)}/provider-input-spec?provider=${encodeURIComponent(provider)}`, {
signal
}),
/** 查询当前计划,不生成图片、视频或提示词。 */
plan: (projectId: string, signal?: AbortSignal) =>
request<ProductionPlan>(`${projectPath(projectId)}/production/plan`, { signal }),
/** 读取真实主资产完成状态,不能用任务提交回执代替。 */
status: (projectId: string, signal?: AbortSignal) =>
request<ProjectProductionStatus>(`${projectPath(projectId)}/production/status`, { signal }),
startPipeline: (projectId: string) =>
request<ProductionPipelineResult>(`${projectPath(projectId)}/production/start`, {
method: 'POST',