cang-ying/engines/gen_env.js
Guanghu Domestic Migration a2fa7d57d8 chore: import sanitized domestic snapshot for REPO-005
Source snapshot: 23037fa3a2e9b0597162735755e92fc763bf4d94
2026-07-17 15:55:48 +08:00

37 lines
1.1 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.

#!/usr/bin/env node
/**
* 铸渊 · 生成百宗会招新广场 · ENV-002
*/
const { generateImage } = require('./image-api-adapter');
const PROMPT = [
'中国古代修仙宗门招新广场',
'从高处俯瞰的巨大广场',
'数百人聚集在广场上',
'多个宗门摊位分布广场各处',
'每个摊位悬挂宗门招牌',
'人群在各摊位前排起长队',
'石板地面铺满广场',
'广场周围有古建筑屋顶',
'远处有青山环绕',
'天空有淡淡的白云',
'3D游戏引擎高质量渲染',
'中国风仙侠氛围',
'广角远景构图',
'自然日光环境'
].join('');
const OUTPUT = '/Volumes/JZAO/铸渊-ICE-GL-ZY001/OUT-输出/图片/zai-fu-fei-xiu-xian/ep01/anchors/env-baizonghui-square-v1.png';
(async () => {
console.log('[铸渊·百宗会] 提交生成...');
try {
const result = await generateImage({ prompt: PROMPT, size: '2560x1440', outputPath: OUTPUT });
console.log('[铸渊·百宗会] ✅ 成功:', result.imagePath);
console.log(JSON.stringify(result, null, 2));
} catch (err) {
console.error('[铸渊·百宗会] ❌ 失败:', err.message);
process.exit(1);
}
})();