冰朔 924e25c764
Some checks failed
自动更新代码和重启 / update-and-restart (push) Has been cancelled
CI检查 + 自动部署 / check (push) Has been cancelled
CI检查 + 自动部署 / deploy (push) Has been cancelled
D146: 收尾 · 状态更新+资产+生成引擎+经验
- CURRENT.hdlp: CURRENT快照同步
- CHAR-003-SuBai/manifest.hdlp: 苏白资产清单更新
- D146-TENCENT-AI-ASSET-RUN-001.hdlp: WorkRally资产生成经验
- engines/gen_*.js: 广告牌/场景/牌匾/苏白生成引擎
- receipts: 本次会话验证回执
2026-06-26 14:46:32 +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);
}
})();