feat(ai-avatar): 封面预览实时标题叠加 + getRenderJob 60s 超时

This commit is contained in:
saas-frontend-agent
2026-09-11 14:49:56 +08:00
parent 6f36abae9c
commit 97bda32097
+2 -1
View File
@@ -85,7 +85,8 @@ export const submitRender = async (data: {
}
export const getRenderJob = async (jobId: string): Promise<RenderJob> => {
const response = await apiClient.get<RenderJob>(`/ai-avatar/render/${jobId}`)
// 渲染任务走多步 ffmpeg 合成,可能耗时较久,轮询超时设 60s
const response = await apiClient.get<RenderJob>(`/ai-avatar/render/${jobId}`, { timeout: 60000 })
return response.data
}