持家男子KC 影片視覺系統

版本 0.7.0(2026-11-25)

章節卡 chapter

每章開頭 3 秒|輸出:png-transparent

即時預覽

改右邊的文字,畫面會立刻更新;跟 npm run render 輸出的 PNG 用同一套模板。範例數字與建案名稱僅示意。

下載的 JSON 可以直接輸出 PNG:npm run render -- chapter_版本.json

各版本位置與尺寸(px)

版本畫布位置尺寸注意
long・定案長影音 1920×1080x 935、y 600905 × 250不進 igBadge
不進 subtitles
short・不使用短影音 Shorts 1080×1920——Shorts 不用章節卡(KC 2026-11-25 定)

用到的顏色與字級

token數值
color.ink#10201A
color.mint#D5F4E5
color.muted#C9CED3
color.progressOff#4B5A53
color.white#FFFFFF
color.yellow#F8D840
line.cardBorder5px #10201A
radius.card6
radius.pill999
type.chapterLabel24px/700
type.chapterNumber130px/700
type.chapterPill24px/700
type.chapterProgress22px/500
type.chapterSub32px/700
type.chapterTitle60px/700

範例

章節卡 範例
chapter-a20(long)
完整規格(JSON)
{
  "id": "chapter",
  "name": "章節卡",
  "category": "parts",
  "kind": "overlay",
  "status": "final",
  "ref": [
    "E_Chapter"
  ],
  "when": "每章開頭 3 秒",
  "output": "png-transparent",
  "variants": {
    "long": {
      "canvas": "long",
      "status": "final",
      "anchor": {
        "right": 80,
        "top": 600
      },
      "size": {
        "w": 905,
        "h": 250
      },
      "respects": [
        "igBadge",
        "subtitles"
      ]
    },
    "short": {
      "canvas": "short",
      "status": "not-used",
      "note": "Shorts 不用章節卡(KC 2026-11-25 定)"
    }
  },
  "style": {
    "border": "line.cardBorder",
    "radius": "radius.card",
    "numberCell": {
      "width": 230,
      "bg": "color.yellow",
      "number": "type.chapterNumber",
      "label": "type.chapterLabel",
      "labelText": "CHAPTER"
    },
    "panel": {
      "width": 660,
      "bg": "color.ink",
      "color": "color.white",
      "padding": [
        22,
        34
      ]
    },
    "progress": {
      "dots": 10,
      "dotSize": {
        "w": 34,
        "h": 8
      },
      "on": "color.yellow",
      "off": "color.progressOff",
      "text": "type.chapterProgress",
      "textColor": "color.muted"
    }
  },
  "slots": [
    {
      "key": "number",
      "label": "章節編號",
      "required": true
    },
    {
      "key": "pill",
      "label": "地點膠囊",
      "required": false,
      "text": "type.chapterPill",
      "bg": "color.mint",
      "radius": "radius.pill"
    },
    {
      "key": "title",
      "label": "章節標題",
      "required": true,
      "text": "type.chapterTitle"
    },
    {
      "key": "sub",
      "label": "副標",
      "required": false,
      "text": "type.chapterSub",
      "color": "color.yellow"
    },
    {
      "key": "total",
      "label": "總章數",
      "required": true
    }
  ],
  "textLimits": {
    "long": {
      "pill": {
        "type": "type.chapterPill",
        "maxWidth": 560
      },
      "title": {
        "type": "type.chapterTitle",
        "maxWidth": 592
      },
      "sub": {
        "type": "type.chapterSub",
        "maxWidth": 592
      }
    }
  }
}

API:/api/components/chapter.json|MCP:get_component("chapter")