Логотип Camera 3d Captions

Camera 3d Captions

Організація
heygen-com
camera-3d-captions

Captions living in 3D space around a talking head: a camera flies between the speaker and the words (whip-in, parallax truck, push), caption groups sit at different depths so camera moves pull them apart, hero words hide BEHIND the speaker through an alpha matte, a ring of words wraps round the speaker and turns in front of them, focus racks between depths, and text steps at 15 fps with ghost motion blur. Works in any type style (editorial serif, bold sans) or hand-drawn (p5.brush write-on). Trigger on: "3D text", "3D camera captions", "text around / behind the speaker", "camera moves through the text", "depth captions on my avatar video". Covers prep (portion, padded plate, matte, word clock, font metrics), the shot grammar, depth rules, QC, and limits.

Огляд

Видавецьheygen-com
Репозиторійhyperframes-community-skills
Назва навичкиcamera-3d-captions
Зірки
226
Форки
22
Файли в пакеті
11
ЛіцензіяApache-2.0
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 11

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: heygen-com. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Camera 3d Captions у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/heygen-com/hyperframes-community-skills/tree/master/skills/camera-3d-captions
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/heygen-com/hyperframes-community-skills.git /tmp/hyperframes-community-skills
mkdir -p .claude/skills
cp -r /tmp/hyperframes-community-skills/skills/camera-3d-captions .claude/skills/camera-3d-captions
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Camera 3d Captions в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Camera 3d Captions, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Camera 3d Captions не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

3D camera captions

The After Effects move (3D camera, depth of field, text on a path, Posterize Time 15, motion blur) rebuilt as a deterministic per-frame painter for HyperFrames. One clock paints plate, matte and every glyph. Nothing is a CSS animation.

When to use / when not

  • Use on a static-camera talking-head take (avatar or real), landscape, medium shot or wider, 5–20 s per piece. The words must perform in depth around the speaker.
  • Do not use for plain subtitles, a moving or handheld camera (the matte and the plate transform assume a locked shot), extreme close-ups (no room behind or around the head), or a subject a person-matting model can't separate.

Requirements and side effects (complete list)

  • Tools:
    • Node 22+ and the HyperFrames CLI pinned to the tested version, npx hyperframes@0.8.62 (downloads from registry.npmjs.org). Use that exact version for every command below.
    • ffmpeg on PATH.
    • Python 3 with fonttools, brotli, numpy, pillow.
  • Matte: npx hyperframes@0.8.62 remove-background runs locally. On first run it downloads its person-segmentation model (~170 MB) to ~/.cache/hyperframes/.
  • Render time: compositions load GSAP 3.14.2 from cdn.jsdelivr.net at preview/render time.
  • Word clock: any word-level transcriber the user already runs locally. Onset accuracy matters; plain Whisper starts run late.
  • Fonts: user-supplied files. Confirm the licence allows embedding.
  • Hand-drawn style (optional): needs the p5-paint-animation skill installed and set up (its setup downloads pinned puppeteer, Chrome for Testing, p5 and p5.brush). build-sprites.py runs it headlessly; frames are written to that skill's out/ and removed afterwards.
  • Nothing else: no credentials, no paid calls, nothing uploaded. Files are written only into the project (assets/, renders/).

Prep (once per take)

  1. Portion and plate. bash scripts/prep-take.sh <take.mp4> <start_s> <dur_s> <project>/assets produces:
    • portion.mp4: the audio source.
    • plate-tall.mp4: reflect-padded 240 px each side, 480 px top, 240 px bottom, so whips, trucks and pull-backs never show an edge.
    • person.webm: the alpha matte, same frames.
    • The script then checks the plate and matte against the portion (size, frame rate, frame count) and fails on any mismatch.
  2. Word clock. Word timings for the portion, in seconds from its start.
  3. Fonts. Pick 2–3 roles (caption / hero / ring), then python3 scripts/font-metrics.py assets/metrics.js key=font.woff2[@wght=…,opsz=…] ….
    • A variable font must get its axes passed here AND pinned in CSS (font-variation-settings, font-optical-sizing: none). Otherwise the browser's opsz follows the size and words overlap.
  4. Silhouette. Read the head box and shoulder line off the person.webm alpha before placing anything.

Build

  • Copy assets/kit/{cam3d.js,tables.js,finish.js} and metrics.js into the project's assets/.
  • references/worked-film.html is the complete reference film. It has two shots, a body wipe, both ring types, a fly-through, a finale and the grade; its media is not included.
  • references/recipes.md holds the depth-first groups, the wrapped ring, the staircase and hand-drawn words.
  • C3.init(metrics, {W, H}):
    • The lens keeps the tutorial's vertical field of view (F = 1326.1·H/1080), so tables.js applies unscaled at any width.
    • On a frame wider than 1440, add (W − 1440) / 2 to wipe.x.

Shot grammar

Pick 4–6 beats. Split each spoken clause into its own group.

BeatBuildRule
Whip-in punch-incamA table (19 f from 502 px low) then a linear creepplate S0 1.1–1.3; the frame never lands
Depth groups2–3 caption groups per clause at D 1250 / 1500 / 2200near = bigger with a bigger shadow; the creep and truck reveal the parallax
Hero behindhero word in the behind layer at the plate depth, masthead-style across the headthe head hides the middle letters; ≥ 60 % stays legible; the ascender is inside the frame
Parallax truckswing segment, tx 420the old layout fades over 3 steps; the next layout arrives by parallax
Body wipethe speaker's own matte, brightness(0) blur(), leading edge from wipe.xshot A clips left of the band, shot B right; pull-out on both sides
Wrapped ringhorizontal circle IN FRONT of the speaker (centre Z 2000), 11–16° from above, turningwords enter small at the side as spoken, swing round the front, settle; lower arc flips to read upright
Fly-throughphrases at D 1500 / 2000 / 2500, camera swings between themfocus follows the phrase
Staircase finalepush segment; caption words each deeper and smaller down a diagonalthe push drives the near words apart

Rules

  • Motion:
    • Text is posterized to 15 fps (its own animation and the camera it sees). Plate and matte move every frame.
    • Motion blur is 7 ghosts over half a 15-fps step. Use shutter: 0.5 on turning rings.
    • Captions lead the voice by 0.2 s, snapped to the 15-fps grid: fr(t) = 2·round((t − 0.2)·15).
    • Entries rise by ENTRY: captions 30 px, heroes 110–260 px. Ring words ease their last 30–44 px along the path. Use RING_ENTRY's overshoot only when no neighbour is seated yet.
  • Depth:
    • Every group gets its own D. Plate 3000, captions 1250–2400, wrapped ring ≈ 1100–2700.
    • Depth shadow [6, 16, 0.5, 1500] scales as 1500/(D − cz).
    • DOF σ = 6.7·|D − focus|/D px at 1080 tall. Flat captions cap at 1.2 px; ring glyphs take the full blur.
  • Sizes: size / rise are on-screen px at the landing camera (tland). Sprites are rendered at their on-screen size.
  • Spacing:
    • Ring text always goes through ringLine (on-screen advance; type: track 1.10, gap 26–30; hand-drawn: track 1.0, gap 28).
    • A turning ring is re-laid every pose.
  • Occlusion:
    • Rings draw in front of the speaker.
    • Split a word into behind/front instances (side, zSplit) only when it is MEANT to pass behind the head.
  • Legibility:
    • Captions go over the dark side of the frame.
    • Text crossing skin or light clothing gets a dark halo.
    • No trailing periods on screen.
  • Grade (optional): finish.js supplies curves, saturation 1.12 for skin, and grain re-rolled per frame. Put the opaque scene (plate + behind text + matte) in a filtered wrapper. Give front text the same grade with grain composited atop, so a word split behind/front stays one colour (see references/worked-film.html).

Styles

  • Editorial: a condensed display serif, italic for heroes; a text serif for captions; cream plus one accent.
  • Bold: heavy grotesk heroes, light captions, one saturated accent (the worked film).
  • Hand-drawn: p5.brush write-on sprites from scripts/hand/build-sprites.py:
    • Each word writes itself on from its onset.
    • Rings place words whole, rotated to the tangent and scaled by depth, on a bigger, flatter ring.
    • Recipe in references/recipes.md.

Verify

  1. npx hyperframes@0.8.62 check . --no-contrast. The ghost layers trip the WCAG contrast check; the whip and wipe seams are overlapping by design.
  2. In the preview page, paste scripts/frame-bounds.js and run __frameBounds(0, dur).
    • It must return []: no group outside the frame for 5+ steps while visible.
  3. Paste scripts/glyph-gaps.js and run __glyphGaps(t) at rest.
    • No cross-word touches.
    • Flat words measure as one box (descenders flag false positives). An italic f's overhang reads negative. Words on opposite sides of the wipe band both show.
  4. Word gaps: the rendered gap between words ≈ one space advance.
  5. Snapshot every beat, render with npx hyperframes@0.8.62 render . --crf 12, and check full-resolution frames per beat.

Limits

  • Matte edges flicker on fine hair. The mirrored pad shows briefly during a whip.
  • A speaker who fills the frame leaves little room behind: go masthead-high, or tuck behind a shoulder.
  • snapshot --at shares one page, so grain does not re-roll between captures. Judge grain on a render.
  • Rendering with the grade and many ghost layers costs about 2× a plain render.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Camera 3d Captions?

Captions living in 3D space around a talking head: a camera flies between the speaker and the words (whip-in, parallax truck, push), caption groups sit at different depths so camera moves pull them apart, hero words hide BEHIND the speaker through an alpha matte, a ring of words wraps round the speaker and turns in front of them, focus racks between depths, and text steps at 15 fps with ghost motion blur. Works in any type style (editorial serif, bold sans) or hand-drawn (p5.brush write-on). Trigger on: "3D text", "3D camera captions", "text around / behind the speaker", "camera moves throu...

Навіщо використовувати Camera 3d Captions у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Camera 3d Captions — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Camera 3d Captions у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/heygen-com/hyperframes-community-skills/tree/master/skills/camera-3d-captions. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Camera 3d Captions?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Camera 3d Captions?

Зі скількома забажаєте. У TypingMind ви можете використовувати Camera 3d Captions із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Camera 3d Captions?

Так. На GitHub цю навичку публікує heygen-com за ліцензією Apache-2.0. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇