feat(short-drama-agent-front): 接入图片持续授权与视频费用审计
This commit is contained in:
1 parent
3915566994
commit
1e9ef33d1d
39 files changed
+3442
-51
No files matched your search
@@ -119,6 +119,15 @@ function stubFetch(fetcher: Mock<typeof fetch>) {
|
||||
}
|
||||
if (path.endsWith('/generation-models')) return jsonResponse(imageCatalog)
|
||||
if (path.endsWith('/creative-profile')) return jsonResponse(generationProfile(fixture.id))
|
||||
/** 主体与首帧表单使用原配置解析接口,不创建图片候选。 */
|
||||
if (path.endsWith('/generation-config/image/resolve')) {
|
||||
const profile = generationProfile(fixture.id)
|
||||
return jsonResponse({
|
||||
provider: profile.imageProvider,
|
||||
model: profile.imageModel,
|
||||
options: profile.imageOptions
|
||||
})
|
||||
}
|
||||
if (path.endsWith('/duration-budget'))
|
||||
return jsonResponse({
|
||||
projectId: fixture.id,
|
||||
|
||||
Reference in new issue
Block a user