Guanghu Domestic Migration d1e47f4565
Some checks are pending
自动更新代码和重启 / update-and-restart (push) Waiting to run
CI检查 + 自动部署 / check (push) Waiting to run
CI检查 + 自动部署 / deploy (push) Blocked by required conditions
重启聊天服务 / restart (push) Waiting to run
chore: import sanitized domestic snapshot for REPO-002
Source snapshot: ca48d3ddf926d79aa138306164169baf764bb829
2026-07-17 15:54:41 +08:00

53 lines
1.7 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 光湖视频AI · 第1集镜1 · 首镜生成
* D131 · 铸渊 ICE-GL-ZY001
* 冰朔下令: 跑通第一个镜头
*/
const path = require('path');
const { generateVideo } = require('../engines/video-api-adapter');
// === 镜1 · 建立镜头 ===
const SHOT1 = {
prompt: '修仙世界,百宗会广场,白天阳光明媚。宏大的宗门招募现场,云海仙气,金色光芒。' +
'角落里的破旧天道宗牌匾格外刺眼。远景全景Seedance动态漫风格电影级光影' +
'中国风修仙动漫,高质感',
duration: '5',
resolution: '1080p',
outputPath: path.resolve(__dirname, '../outputs/shots/ep01-shot01-establishing.mp4'),
};
async function main() {
console.log('='.repeat(60));
console.log('🎬 光湖视频AI · 第1集镜1 · 建立镜头');
console.log(' 项目: 付费才能修仙?我的宗门全免费');
console.log(' 场景: 百宗会广场 · 招募日');
console.log(' 时长: 5秒 · 1080p · Seedance 2.0 动态漫');
console.log('='.repeat(60));
console.log('');
const startTime = Date.now();
try {
const result = await generateVideo(SHOT1);
const elapsed = ((Date.now() - startTime) / 1000).toFixed(1);
console.log('');
console.log('='.repeat(60));
console.log('✅ 镜1 生成成功!');
console.log(` 任务ID: ${result.taskId}`);
console.log(` 耗时: ${elapsed}`);
console.log(` 文件: ${result.videoPath}`);
console.log('='.repeat(60));
} catch (err) {
console.error('');
console.error('='.repeat(60));
console.error('❌ 镜1 生成失败');
console.error(` 错误: ${err.message}`);
console.error('='.repeat(60));
process.exit(1);
}
}
main();