持家男子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.cardBorder5px #10201A
line.headerBottom5px #10201A
line.kpiDivider3px #10201A
line.sourceTop4px #10201A
line.subtitleBandBottom5px #10201A
radius.card6
radius.pill999
shadow.defaultnone
type.cardTitle54px/700
type.shortsHandle28px/700
type.shortsKicker38px/700
type.shortsNumber76px/700
type.shortsPill36px/700
type.shortsRowLabel30px/700
type.shortsTagline64px/700
type.shortsTitle120px/700
type.source22px/500
type.subtitleBand30px/700

範例

Shorts 規格卡 範例
shorts-card-thsr(short)
完整規格(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")