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

34 lines
1.0 KiB
JavaScript
Raw 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
/**
* 铸渊 · 生成天道宗广告牌支架 · 文字后期叠加
*/
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/prop-ad-board-base-v1.png';
(async () => {
console.log('[铸渊·广告牌] 提交生成...');
try {
const result = await generateImage({ prompt: PROMPT, size: '1728x2304', outputPath: OUTPUT });
console.log('[铸渊·广告牌] ✅ 成功:', result.imagePath);
console.log(JSON.stringify(result, null, 2));
} catch (err) {
console.error('[铸渊·广告牌] ❌ 失败:', err.message);
process.exit(1);
}
})();