feat: fetch saved shot video prompt
This commit is contained in:
1 parent
bb395b37f5
commit
41df65ab26
1 file changed
+3
@@ -50,6 +50,9 @@ export const storyboardApi = {
|
||||
references: (id: string, signal?: AbortSignal) => request<ShotReferences>(`${shotPath(id)}/references`, { signal }),
|
||||
generationSpec: (id: string, signal?: AbortSignal) =>
|
||||
request<ShotGenerationSpec>(`${shotPath(id)}/generation-spec`, { signal }),
|
||||
/** 只读获取已保存的视频提示词,不要求首帧已就绪。 */
|
||||
videoPrompt: (id: string, signal?: AbortSignal) =>
|
||||
request<ShotPromptResult>(`${shotPath(id)}/video-prompt`, { signal }),
|
||||
generatePrompt: (id: string, force: boolean) =>
|
||||
request<ShotPromptResult | null>(`${shotPath(id)}/video-prompt`, {
|
||||
method: 'POST',
|
||||
|
||||
Reference in new issue
Block a user