真人人像修改
This commit is contained in:
@@ -570,6 +570,26 @@ export async function removethree(projectId: string, stepId: string ,params: any
|
||||
export async function removefour(projectId: string, stepId: string ,params: any): Promise<any> {
|
||||
return api.post(`/shot-replications/projects/${projectId}/steps/${stepId}/generate-video`, params);
|
||||
}
|
||||
// 重新分析
|
||||
export async function reanalyzeShotReplication(taskSetId: string): Promise<any> {
|
||||
return api.post(`/shot-replications/task-sets/${taskSetId}/reanalyze`);
|
||||
}
|
||||
// 删除片段
|
||||
export async function deleteSegment(segmentId: string): Promise<void> {
|
||||
await api.delete(`/shot-replications/segments/${segmentId}`);
|
||||
}
|
||||
// 重新分析片段
|
||||
export async function reanalyzeSegment(segmentId: string): Promise<any> {
|
||||
return api.post(`/shot-replications/segments/${segmentId}/reanalyze`);
|
||||
}
|
||||
// 删除拆镜项目
|
||||
export async function deleteShotReplicationProject(projectId: string): Promise<void> {
|
||||
await api.delete(`/shot-replications/projects/${projectId}`);
|
||||
}
|
||||
// 删除爆款开头复刻任务
|
||||
export async function deleteHotOpeningReplicationTask(taskId: string): Promise<void> {
|
||||
await api.delete(`/hot-opening-replications/tasks/${taskId}`);
|
||||
}
|
||||
// 获取地区信息
|
||||
export interface GetAreaParams {
|
||||
level?: string;
|
||||
@@ -734,7 +754,7 @@ export async function getHomeCaseHeader(): Promise<any> {
|
||||
return api.get(`/home-materials/categories`);
|
||||
}
|
||||
// 首页素材按钮资源
|
||||
export async function getHomeCaseButton(id: string,limit:number=5): Promise<any> {
|
||||
export async function getHomeCaseButton(id: string,limit:number=10): Promise<any> {
|
||||
return api.get(`/home-materials?category_id=${id}&limit_per_category=${limit}&include_empty_categories=false&response_mode=grouped&page=1&page_size=20`);
|
||||
}
|
||||
export async function deleteResourcesMaterial(params:any): Promise<any> {
|
||||
|
||||
Reference in New Issue
Block a user