优化
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user