持家男子KC 影片視覺系統
版本 0.7.0(2026-11-25)Shorts 規格卡 shorts-card
Shorts 主畫面資訊|輸出:png-transparent
即時預覽
改右邊的文字,畫面會立刻更新;跟 npm run render 輸出的 PNG 用同一套模板。範例數字與建案名稱僅示意。
下載的 JSON 可以直接輸出 PNG:npm run render -- shorts-card_版本.json
各版本位置與尺寸(px)
| 版本 | 畫布 | 位置 | 尺寸 | 注意 |
|---|---|---|---|---|
| short・定案 | 短影音 Shorts 1080×1920 | 滿版 | 1080 × 1920 | 不進 topBar 不進 rightRail 不進 bottomInfo 位置照 E_Shorts 定案畫布;Shorts 安全區已定(Q4) |
用到的顏色與字級
| token | 數值 |
|---|---|
color.cream | #FFF8E8 |
color.foot | #F1F5EF |
color.ink | #10201A |
color.ivory | #F8F8E8 |
color.labelStrong | #4B5A53 |
color.mint | #D5F4E5 |
color.titleStroke | #172F30 |
color.titleYellow | #FFDC47 |
color.white | #FFFFFF |
color.yellow | #F8D840 |
line.cardBorder | 5px #10201A |
line.headerBottom | 5px #10201A |
line.kpiDivider | 3px #10201A |
line.sourceTop | 4px #10201A |
line.subtitleBandBottom | 5px #10201A |
radius.card | 6 |
radius.pill | 999 |
shadow.default | none |
type.cardTitle | 54px/700 |
type.shortsHandle | 28px/700 |
type.shortsKicker | 38px/700 |
type.shortsNumber | 76px/700 |
type.shortsPill | 36px/700 |
type.shortsRowLabel | 30px/700 |
type.shortsTagline | 64px/700 |
type.shortsTitle | 120px/700 |
type.source | 22px/500 |
type.subtitleBand | 30px/700 |
範例

完整規格(JSON)
{
"id": "shorts-card",
"name": "Shorts 規格卡",
"category": "shorts",
"kind": "card",
"status": "final",
"ref": [
"E_Shorts"
],
"when": "Shorts 主畫面資訊",
"output": "png-transparent",
"variants": {
"short": {
"canvas": "short",
"status": "final",
"respects": [
"topBar",
"rightRail",
"bottomInfo"
],
"note": "位置照 E_Shorts 定案畫布;Shorts 安全區已定(Q4)"
}
},
"parts": {
"kicker": {
"anchor": {
"left": 60,
"top": 270
},
"pill": {
"bg": "color.mint",
"radius": "radius.pill",
"text": "type.shortsPill"
},
"text": "type.shortsKicker",
"fill": "color.white",
"stroke": "color.ink"
},
"title": {
"anchor": {
"left": 60,
"top": 350
},
"text": "type.shortsTitle",
"fill": "color.cream",
"line2": "color.titleYellow",
"stroke": "color.titleStroke",
"strokeWidth": 16
},
"card": {
"anchor": {
"left": 60,
"top": 680
},
"width": 860,
"shell": {
"bg": "color.white",
"border": "line.cardBorder",
"radius": "radius.card",
"shadow": "shadow.default"
},
"structure": [
{
"part": "header",
"bg": "color.yellow",
"text": "type.cardTitle",
"color": "color.ink",
"borderBottom": "line.headerBottom",
"padding": [
18,
30
]
},
{
"part": "subtitleBand",
"bg": "color.ink",
"color": "color.white",
"text": "type.subtitleBand",
"borderBottom": "line.subtitleBandBottom",
"padding": [
10,
30
]
},
{
"part": "rows",
"bg": "color.ivory",
"label": "type.shortsRowLabel",
"labelColor": "color.labelStrong",
"value": "type.shortsNumber",
"divider": "line.kpiDivider",
"padding": [
16,
30
]
},
{
"part": "source",
"bg": "color.foot",
"text": "type.source",
"color": "color.labelStrong",
"borderTop": "line.sourceTop",
"padding": [
12,
30
],
"required": true,
"rule": "寫來源和時間點;價格沒確認的不放"
}
]
},
"tagline": {
"anchor": {
"left": 60,
"right": 160,
"top": 1300
},
"text": "type.shortsTagline",
"fill": "color.white",
"highlight": "color.titleYellow",
"stroke": "color.ink"
},
"handle": {
"anchor": {
"top": 1440
},
"align": "center",
"text": "type.shortsHandle",
"color": "color.white",
"default": "持家男子KC @kch0263"
}
}
}API:/api/components/shorts-card.json|MCP:get_component("shorts-card")