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

68 lines
2.2 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
/**
* 铸渊 · 苏白v5 · 真人感3D漫剧 · 对标D144成功经验
* 坑8教训: "3D动画渲染" = 卡通风 ← 改为"真人感3D漫剧"
* 坑9教训: 没有指定发型 → 模型默认现代短发 ← 明确"古代发髻"
* 坑10教训: "少年"过于笼统 → 明确"18岁成年男子"
*/
const { generateImage } = require('./image-api-adapter');
// 正面胸像对标D144 ref portrait成功经验
const PORTRAIT_PROMPT = [
'18岁中国风修仙成年男子',
'亚洲面孔',
'黑色长发束起成古代发髻',
'竹簪束发',
'五官俊秀剑眉明眸',
'自信灿烂笑容微微露齿',
'正面胸像',
'面部清晰可见',
'均匀自然光',
'纯灰色背景',
'高质量',
'真人感3D漫剧渲染',
'中国风仙侠'
].join('');
const PORTRAIT_OUTPUT = '/Volumes/JZAO/铸渊-ICE-GL-ZY001/OUT-输出/图片/zai-fu-fei-xiu-xian/ep01/anchors/char-003-subai-portrait-v5.png';
// 全身图
const FULL_BODY_PROMPT = [
'18岁中国风修仙成年男子',
'亚洲面孔',
'黑色长发束起成古代发髻',
'竹簪束发',
'五官俊秀剑眉明眸',
'自信灿烂笑容',
'身形挺拔清秀',
'宽松长袖白色汉服长袍',
'腰间青色束带',
'双手叉腰姿势',
'正面全身站立',
'均匀自然光',
'纯灰色背景',
'高质量',
'真人感3D漫剧渲染',
'中国风仙侠'
].join('');
const FULL_BODY_OUTPUT = '/Volumes/JZAO/铸渊-ICE-GL-ZY001/OUT-输出/图片/zai-fu-fei-xiu-xian/ep01/anchors/char-003-subai-full-body-v5.png';
(async () => {
console.log('[铸渊·苏白v5] === 胸像 ===');
try {
const r1 = await generateImage({ prompt: PORTRAIT_PROMPT, size: '1728x2304', outputPath: PORTRAIT_OUTPUT });
console.log('[铸渊·苏白v5] 胸像✅:', r1.imagePath);
} catch (err) {
console.error('[铸渊·苏白v5] 胸像❌:', err.message);
}
console.log('[铸渊·苏白v5] === 全身 ===');
try {
const r2 = await generateImage({ prompt: FULL_BODY_PROMPT, size: '1728x2304', outputPath: FULL_BODY_OUTPUT });
console.log('[铸渊·苏白v5] 全身✅:', r2.imagePath);
} catch (err) {
console.error('[铸渊·苏白v5] 全身❌:', err.message);
}
})();