This commit is contained in:
2026-04-29 21:26:42 +08:00
parent 1333a2c751
commit 0b3ab3a2aa
5 changed files with 585 additions and 27 deletions

View File

@@ -337,7 +337,7 @@ async function phaseVideos(manifest, manifestPath, options) {
ensureDir(videosDir)
const accountConfig = options.accountConfig || {}
const videoModel = manifest.videoModel || accountConfig.videoModel || 'veo3-fast'
const videoModel = manifest.videoModel || accountConfig.videoModel || 'veo3-fast-frames'
const items = manifest.items.filter(it =>
it.status === 'done' && it.url && it.videoPrompt && !it.video
@@ -346,8 +346,11 @@ async function phaseVideos(manifest, manifestPath, options) {
// 选择生成器
let generator
if (videoModel.includes('grok')) {
const modelLower = videoModel.toLowerCase()
if (modelLower.includes('grok')) {
generator = require('./grok-video-generator')
} else if (modelLower.includes('kling')) {
generator = require('./kling-video-generator')
} else {
generator = require('./veo-video-generator')
}
@@ -703,7 +706,7 @@ function initManifest(options) {
const manifest = {
account: accountId,
imageModel: accountConfig.imageModel || 'gemini',
videoModel: accountConfig.videoModel || 'veo3-fast',
videoModel: accountConfig.videoModel || 'veo3-fast-frames',
format: accountConfig.defaultFormat || '9:16',
mode: resolvedMode,
references,