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

34 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
/**
* 铸渊 · 生成天道宗牌匾底图 · D146 · 文字后期叠加
*/
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-tdz-plaque-base-v1.png';
(async () => {
console.log('[铸渊·牌匾] 提交生成...');
try {
const result = await generateImage({ prompt: PROMPT, size: '2048x2048', outputPath: OUTPUT });
console.log('[铸渊·牌匾] ✅ 成功:', result.imagePath);
console.log(JSON.stringify(result, null, 2));
} catch (err) {
console.error('[铸渊·牌匾] ❌ 失败:', err.message);
process.exit(1);
}
})();