语音转文本接口,bgm路径修复

This commit is contained in:
2025-10-25 13:06:17 +08:00
parent e4339a5b91
commit d1b4fb6be0
12 changed files with 423 additions and 172 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import type { BrowserContext } from 'playwright';
import { uploadFile, generateUniqueFileName } from '@/lib/minio';
import { downloadBinary } from './network';
import { pickFirstUrl } from './utils';
import { getVideoDuration } from './media';
import { getVideoDuration } from '@/app/api/media';
/**
* 下载头像并上传到 MinIO,返回外链;失败时回退为原始链接。