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:
@@ -18,7 +18,23 @@ async function phaseImages(manifest, manifestPath, options) {
|
||||
((!it.status || it.status === 'pending' || it.status === 'generating') && it.imagePrompt) ||
|
||||
(it.status === 'done' && manifest.mode === 'framePair' && it.file && it.lastFramePrompt && !it.lastFrame)
|
||||
)
|
||||
if (items.length === 0) { log('images', '无待处理 item,跳过'); return }
|
||||
if (items.length === 0) {
|
||||
// 检查是否是真实的无待处理项(已有图片)还是配置错误
|
||||
const total = manifest.items.length
|
||||
const withImg = manifest.items.filter(it => it.url || it.file).length
|
||||
const withPrompt = manifest.items.filter(it => it.imagePrompt).length
|
||||
if (withImg === 0) {
|
||||
console.error("\n" + "=".repeat(60))
|
||||
console.error("❌ [images] 严重错误:没有任何待处理的图片生成项,且 manifest 中也没有已生成的图片!")
|
||||
console.error("=".repeat(60))
|
||||
console.error(` 总数: ${total} | 有imagePrompt: ${withPrompt} | 已有图片: ${withImg}`)
|
||||
if (withPrompt === 0) console.error(" 根因: 所有 item 都缺少 imagePrompt — 分镜文件可能有问题")
|
||||
console.error("=".repeat(60) + "\n")
|
||||
throw new Error(`图片阶段中断: ${total} 个 item 均无图片且无待处理项 (imagePrompt=${withPrompt}/${total})`)
|
||||
}
|
||||
log('images', '所有图片已生成,跳过')
|
||||
return
|
||||
}
|
||||
|
||||
const accountConfig = options.accountConfig || {}
|
||||
let model = options.imageModel || manifest.imageModel || accountConfig.imageModel || 'gemini'
|
||||
|
||||
Reference in New Issue
Block a user