Communitygithub.com

Midnight Kinetic Type 风格

构建具有Midnight Kinetic Type风格(风格卡 midnight-kinetic-type)的视频——在深色平涂背景上呈现清晰的动态文字,逐词遮罩升起,孤立着陆的重点词,绘制显示的图标描边,以及跟随音乐节奏网格的硬切。

Midnight Kinetic Type 风格 是什么?

这个技能专为构建具有「Midnight Kinetic Type」风格的视频而设计。它能够在深色平涂背景上生成清晰的动态文字,核心机制包括:逐词遮罩升起、关键字(重点词)单独着陆并显示强调色、图标描边绘制、以及严格跟随音乐节奏网格的硬切过渡。技能支持阿拉伯语(Cairo 字体,逐词)和英语(Inter 字体)两种语言版本,输出比例为 9:16 的竖屏视频。该技能适用于直推式报价、效果/成果展示、AI 新闻等不需要人物视频或实拍素材的场景;不适合讲座剪辑或快速教程。用户需先通过命令行应用风格卡,然后选择合适的构图模块,并遵循详细的节拍网格、运动令牌、颜色角色和音频同步规范。该技能提供了清晰的行为准则:必须使用硬切、避免交叉淡变、确保阿拉伯语和英语分行显示、以及每个场景仅一个强调色单词等。构建完成后,用户可使用内置 lint、快照和渲染工具检查视频质量。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/bassam1998new-ops/hyperframes-students/tree/HEAD/.claude/skills/style-midnight-kinetic-type

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

风格:Midnight Kinetic Type

在深色平涂背景上呈现清晰的动态文字:每个节拍一个想法,文字从遮罩中升起,唯一重要的词以强调色单独着陆,每个场景都严格跟随音乐节拍进行硬切。 卡片:video-projects/_library/styles/midnight-kinetic-type/style.md — 草稿(尚未批准——请向需求方说明)。卡片品牌:任意(十六进制值仅为示例)。

先查看视觉效果(在风格文件夹中):frames/01-arabic-hook-accent.png(不在公共仓库中) · frames/02-icon-stat-rows.png(不在公共仓库中) · frames/03-arabic-cta-card.png(不在公共仓库中)。源项目(仍在构建中;旧渲染已被清理):早期项目(非公开)(拉丁语),早期项目(非公开)(阿拉伯语)。

0. 先应用风格卡

node tools/vid.mjs style apply midnight-kinetic-type <项目> [--mode calm|punchy]
node tools/vid.mjs style show midnight-kinetic-type

1. 颜色=角色(品牌填充十六进制值)

风格 = 品质、结构和动态。午夜紫罗兰是 Midnight 的参考——其他品牌使用自己的颜色填充这些角色。

角色块令牌来自 brand/<名称>.md
背景--mk-canvas / --mk-hta-canvas / --mk-cep-canvascanvas(平涂,无渐变)
文字--mk-ink-dark / --mk-hta-ink / --mk-cep-inktext-strong
次级文字--mk-cep-dimmuted
强调色——那一个词、图标、条形--mk-accent / --mk-hta-accent / --mk-cep-accentprimary
字体--mk-font / --mk-hta-font / --mk-cep-fontbrand display font(阿拉伯语:midnight 下使用 Cairo)
强调色仅用于作为关键点的那个词,以及图标和条形。无渐变,无发光。

2. 构建视频

  • 模块(全部位于 _library/compositions/,通过 node tools/vid.mjs use <模块> <项目> 引入):
    • 拉丁语:mk-hook-title-portrait、mk-bar-compare-portrait、mk-x-post-portrait、mk-icon-stat-row、mk-lower-third-portrait、mk-cta-endcard-portrait
    • 阿拉伯语:mk-hook-title-ar-portrait、mk-cta-endcard-ar-portrait(切勿将拉丁语模块混入阿拉伯语视频中)
    • 入门项目:早期项目(非公开)(拉丁语)和早期项目(非公开)(阿拉伯语)。
  • 布局 9:16(1080×1920): 一个文本块居中放置在中间区域;钩子标题 110 像素(拉丁语)/ 132 像素(阿拉伯语);CTA 标题 92 像素,用户名 46 像素,副标题 40 像素;内部坐标 x 60–960,y 220–1500。阿拉伯语和英语永不放在同一行。
  • 布局 16:9: 尚未构建。
  • 节拍网格: node video-projects/_library/beat-grid.mjs(不在公共仓库中) <音乐文件> → 钩子标题 5–6 拍,中间场景 12 拍(3 小节),CTA 保持到结束。每个场景的槽在其自身退出开始前约 0.5 秒结束,因此每个切点都落在完整帧上——使用 node video-projects/_library/_factory/verify-cuts.mjs(不在公共仓库中) 进行检查。
  • 运动令牌: 进入 power4.out · 面板 power3.out · 退出 power2.in · 绘制 power2.inOut · 微小 260 / 标准 420 / 主力 620 毫秒 · 错开 160 毫秒(阿拉伯语钩子词 140 毫秒,拉丁语 180 毫秒) · 文字升起 120 像素 · 退出升起 −40 像素,持续 400 毫秒。
  • 文字动画: 逐词遮罩升起(每个词是一个 overflow:hidden 的内联块,0.45–0.48 秒);强调词等待约 0.14 秒后单独着陆(缩放 0.8 → 1 + 颜色变化,0.62 秒);图标描边绘制(0.5 秒,间隔 0.07 秒);用户名 + 副标题升起并淡入 0.4 秒;退出 = 块升起 40–48 像素并淡出 0.4 秒,然后硬性隐藏。
  • 摄像机: 无。CTA 卡片缓慢推进(缩放 1.062,升起 −74 像素)以使静态画面有呼吸感;切入卡片稳定在 1.035 → 1。静态镜头必须漂移 ≥ 6%。
  • 转场: 仅在节拍上进行硬切——无交叉淡变(它们会显得浑浊)。音效标记接缝,而非视觉效果。
  • 模式: punchy = 默认发布状态(5–6 拍钩子,每 3 小节一切,每次接缝都有 sub-drop + 嗖/冲击声) · calm(未经测试)= 12 拍场景,无 sub-drop,仅在 CTA 处有提示音,CTA 保持时间更长。
  • 声音: 背景音乐 _library/assets/music/el/bed-tech-neutral.mp3(不在公共仓库中)(125 BPM,拉丁语)或 bed-arabic-modern.mp3(136.4 BPM,阿拉伯语),音量 0.55。音效来自 _library/assets/sfx/el/(不在公共仓库中):第 0 帧处 sub-drop,切点前半个节拍(0.22–0.24 秒)开始 whoosh-fast / impact-tight,CTA 处 success-chime——切勿连续两次使用相同的音效。如有旁白,电平未知——在第一次作业时确定(旁白 −14 LUFS)。

3. 需求方查看前的检查

  1. 在项目内执行 npx hyperframes lint —— 0 个错误。
  2. npx hyperframes snapshot --at <每个切点 − 0.05 秒 和 + 0.3 秒> —— 检查每一帧:切点处不能有未完全构建的文字。
  3. npx hyperframes render --quality draft → node tools/vid.mjs judge <draft.mp4> → 读取 sheet.jpg 和 safe-sheet.jpg。
  4. 安全区域 x 60–960,y 220–1500 · 阿拉伯语按词拆分,绝不按字母拆分,字母间距为 0,仅在文本元素上设置 dir="rtl"(绝不放在 <html> 上)。
  5. 风格检查:同步注册时间线并在字体加载后重新居中;切点在网格上;每个场景一个强调词。

做 / 不做

  • 做: 只为承载关键点的词着色;在节拍网格上切点;使每个切点落在一个构图完整的帧上;将阿拉伯语和英语放在单独的行中。
  • 不做: 场景之间交叉淡变;在每个切点重复使用相同的嗖声;将品牌徽标放入有机视频中(品牌规则);伪造产品 UI;将拉丁语模块混入阿拉伯语视频中。

任务完成后:node tools/vid.mjs style comment midnight-kinetic-type "<有效或无效的内容>"。

Individual skills in this repo

This repo contains 14 individual skills — each has its own dedicated page.

bassam1998new-ops/hyperframes-students

Make a new video with a beginner, start to finish — a few easy questions, pick a look from this repo's styles, build it with HyperFrames, check the frames, render and show it. Use when the student says "new video", "make a video", "اعمل فيديو", "عايز فيديو", "reel", "animation", or asks how to start a video. Hands the technical HyperFrames rules to the official hyperframes skills.

bassam1998new-ops/hyperframes-students

First-time setup for the HyperFrames student studio. Checks the computer (Git, Node.js, FFmpeg, the render browser), explains in plain words what is missing, recommends what to install, asks before installing anything, then makes a 3-second test video to prove it all works. Use when the student says "setup", "install", "اعمل setup", "نزّل البرامج", "it doesn't work", "command not found", when node_modules is missing, or when `npx hyperframes doctor` shows a red item. Safe to run again any time — it skips what is already done.

bassam1998new-ops/hyperframes-students

Build a video in the Amber Grid Newsroom look (style card amber-grid-newsroom) — a hot "breaking news" desk: near-black grid field, the real screen recording in a framed window with instant reframes, an English title over an Arabic title line, and karaoke captions where the spoken word turns hot. Use when the director picked this card, or the owner says "make it in the amber newsroom style", "news desk", "breaking news look", "زي ريل opus 5.5", "ستايل الأخبار", or the video is AI news or a build show-off cut from his OBS screen recording with an Egyptian Arabic voice-over. 9:16 reels. Not for lecture clips or direct offers.

bassam1998new-ops/hyperframes-students

Build a video in the Cream Caret Type look (style card cream-caret-type) — Arabic words typed with a coloured caret on a flat two-colour page (night and paper that swap on hard cuts), select-highlight → delete → retype, a flat profile silhouette, one coloured dot that match-cuts into a flat vector eye, a zoom-through the iris, a fixed noun with a bold verb swapping every 16 frames, a pixel-art icon on the sign-off and a monogram end card — one sound per event, silence between. Use when the director picked this card, or the owner says "the typing intro", "caret type", "cream caret", "زي فيديو الكتابة", "الكلام اللي بيتكتب", "intro بالكتابة", or the video is a channel / "who am I" intro, a course or service intro hook, a short opener before a talking head, a word-play promise line or a bumper. 9:16 only, Arabic-first. Not for talking heads the whole time, screen-recording proof, data-heavy explainers or full spoken subtitles. DRAFT — untested.

bassam1998new-ops/hyperframes-students

Build a video in the Floating Desk Zoom look (style card floating-desk-zoom) — real app windows float as cards on warm paper, a virtual camera hard-cuts in on the action, follows the typing and glides back out. Use when the director picked this card, or the owner says "make it in the floating desk style", "paper desk", "zoom on the screen like the launch video", "اعمله على الورق", or the video is a build show-off, quick tutorial or AI news made from his OBS screen recording with a voice-over. Arabic or English; 9:16 reels. Not for lecture clips or talking heads.

bassam1998new-ops/hyperframes-students

Build a video in the Hatch Cosmos look (style card hatch-cosmos) — a hand-drawn pencil-hatched world on one canvas, a block mascot (or a pair) that walks, looks, blinks and does ^ ^ eyes, a dive through its eye into a hatched galaxy of nebula blobs, tilted rings and needle stars. Use when the director picked this card, or the owner says "hatched", "hatch cosmos", "pencil cosmos", "the galaxy video style", "the mascot dive", "زي فيديو المجرة", "الستايل المرسوم بالقلم", "الكائن اللي بيدخل في عينه", or the video is a music-led show-off/teaser, a concept intro with a mascot, a "journey inside" beat or a channel bumper. 9:16 and 16:9 both built. Not for talking heads, real screen-recording proof, data-heavy explainers or photographic looks.

bassam1998new-ops/hyperframes-students

Build a video in the Horizon Prompt One-shot look (style card horizon-prompt-oneshot) — one continuous camera on a near-black stage lit by a soft planet-horizon glow; a glass app bar, a cursor and a prompt box morph into each other, a prompt is typed, the send button grows into a tile that blooms into a full-frame result, then a light wipe to a logo end card, every beat hit-synced to a UI sound. Use when the director picked this card, or the owner says "horizon prompt", "the prompt one-shot", "the ChatGPT-style promo", "زي فيديو البرومبت", "الكيرسر اللي بيكتب البرومبت", or the video is an AI tool show-off / prompt-to-result demo, a course or service promo opener, a launch teaser or a channel bumper. Not for talking heads, real screen-recording proof, data-heavy explainers or long tutorials. DRAFT — untested.

bassam1998new-ops/hyperframes-students

Remix 2+ existing style cards of the Hyperframes video workspace into one NEW draft style card, layer by layer (palette roles, type, texture, grade, camera, light, edit rhythm, transitions, motion, sound, prompt parts), then let the owner pick the skills for the video and start the director. Use when the owner says "hybrid style", "remix styles", "mix two styles", "combine styles", "اعمل هايبرد", "ادمج الستايلين", or ticks cards and presses "Remix these" on the Styles board.

bassam1998new-ops/hyperframes-students

Build a video in the Midnight Screen Desk look (style card midnight-screen-desk) — a calm, organised news desk in three fixed zones: an Arabic info card on top, the real screen recording in a glowing band with punch-ins in the middle, and word-by-word captions (dim → bright) below. Use when the director picked this card, or the owner says "make it in the screen desk style", "three zones", "like the AI releases reel", "كارت فوق والشاشة في النص", or the video is AI news, a build show-off or a quick tutorial cut from his screen recording with an Egyptian Arabic voice-over. 9:16 reels. Not for lecture clips or direct offers.

bassam1998new-ops/hyperframes-students

Build a video in the Mint Lecture Room look (style card mint-lecture-room) — a calm classroom cut of a real lesson: one long take with slow zooms that follow the point, a topic lower third, a quiz card that asks, counts down think-time and then answers, and karaoke captions that light the current word. Use when the director picked this card, or the owner says "make it in the lecture room style", "lecture clip", "course cut", "quiz card", "قص من المحاضرة", "سؤال وجواب", or the video is a lecture clip or quick tutorial cut from his AI course recordings (Egyptian Arabic). 9:16 reels. Not for AI news or direct offers.

bassam1998new-ops/hyperframes-students

Build a video in the Neon Node Explainer look (style card neon-node-explainer) — a plain stage, one headline per spoken sentence, and one small glowing diagram (tiles, lines, packets, checks, terminal, tool list) that builds itself part by part. Use when the director picked this card, or the owner says "make it in the neon node style", "node explainer", "API vs MCP style", "اعمله زي فيديو الـ MCP", or the video is an AI explainer, concept explainer, quick tutorial or AI news with a voice-over and no face. Arabic headlines + English mono labels; 9:16 and 16:9 both built. Not for talking heads, warm stories, real screen-recording demos or music-only hype reels.

bassam1998new-ops/hyperframes-students

Build a video in the Swiss Motion Reel look (style card swiss-motion-reel) — a Swiss-grid "instrument panel" with a constant thin HUD, flat 2-colour blocks, word slams, shape match-cuts and hard cuts on a 128 BPM beat. Use when the director picked this card, or the owner says "make it in the Swiss style", "motion reel", "like the motion designer reel", "HUD reel", "ستايل سويسري", or the video is a brand sizzle, product intro, "what we do" reel, launch teaser or any no-person, graphics-only, music-led video. Latin display type with Arabic in a clean geometric sans; built and tested in 16:9, 9:16 still to build. Not for talking heads, screen-recording tutorials or long voice-led explainers.

bassam1998new-ops/hyperframes-students

Build a video in the Warm Glass Face-cam look (style card warm-glass-facecam) — the presenter talks to camera while frosted-glass panels with one warm glow land exactly where he points; blur-punch text, a karaoke pill, small charts, and a shrink into a rounded picture-in-picture for the demo part. Use when the director picked this card, or the owner says "make it in the warm glass style", "glass panels over my face", "face-cam with glass cards", "PiP intro", "كروت زجاج وأنا بتكلم", or the video is a build show-off or quick tutorial with the owner on camera. Source is English 16:9; the 9:16 and Arabic versions still have to be built at the first job. Not for lecture clips or AI news.

bassam1998new-ops/hyperframes-students

Build a video in the <Style name> look (style card <slug>). Use when the director picked this style card, when the owner says "make it in the <Style name> style", "<slug>", "استايل <Style name>", or the video type is <video types from use_when>. Works for Arabic (Egyptian) and English, 9:16 reels<, and 16:9 if supported>. Not for <avoid_when>.

相关技能