diff --git a/api/video_flow.ts b/api/video_flow.ts index afbdb94..85ec98b 100644 --- a/api/video_flow.ts +++ b/api/video_flow.ts @@ -300,7 +300,7 @@ export const applyRoleToShots = async (request: { /** 项目ID */ project_id: string; /** 分镜ID */ - shot_id: string; + shot_id: string; /** 任务状态 */ status: string; /** 状态描述 */ @@ -865,7 +865,7 @@ export const updateShotPrompt = async (request: { /** 项目ID */ project_id: string; /** 分镜ID */ - video_id: string; + shot_id: string; /** 镜头描述 */ shot_descriptions: task_item; }): Promise> => { diff --git a/app/service/usecase/ShotEditUsecase.ts b/app/service/usecase/ShotEditUsecase.ts index 29e5066..6f53a10 100644 --- a/app/service/usecase/ShotEditUsecase.ts +++ b/app/service/usecase/ShotEditUsecase.ts @@ -148,7 +148,8 @@ export class VideoSegmentEditUseCase { const response = await updateShotPrompt({ project_id, - video_id:shot_id, + shot_id, + shot_id, shot_descriptions, });