feat: MiniMax TTS集成、口播批量剪辑流水线、执黑先行二号账号

- 新增 minimax-tts.js 和 minimax-voice-clone.js 脚本
- 新增口播批量剪辑流水线 (口播_assemble.js, 口播_pipeline.js)
- 更新 video-from-script 各阶段脚本 (kling, images, tts, videos)
- 新增执黑先行二号-风格延伸账号
- 更新执黑先行 account.json 配置
- 替换 ugc_product_seeding 参考图
- 更新 CLAUDE.md 和依赖配置

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
lc
2026-05-24 20:05:56 +08:00
parent 817c181cb5
commit 1e110219ff
31 changed files with 5098 additions and 34 deletions

View File

@@ -56,13 +56,18 @@ async function uploadFile(filePath, options = {}) {
const basename = options.name || path.basename(filePath)
const ossPath = `${folder}${basename}`
const buffer = fs.readFileSync(filePath)
await client.put(ossPath, buffer)
const stat = fs.statSync(filePath)
const opts = stat.size > 50 * 1024 * 1024
? { timeout: 600000 } // 10min for large files
: {}
const stream = fs.createReadStream(filePath)
await client.putStream(ossPath, stream, { ...opts, contentLength: stat.size })
const expires = config.ossExpires || 31536000
const url = client.signatureUrl(ossPath, { expires })
return { url, ossPath, size: buffer.length }
return { url, ossPath, size: stat.size }
}
async function uploadBuffer(buffer, options = {}) {