---
name: babliy-motion
description: Edit clean editorial talking-head videos and craft 9:16 motion graphics with the Babliy MCP server (136+ studio designs, 152 brand kits, 9 presenter recipes, screen/B-roll cutaways, custom HTML scenes, editorial caption presets, restrained SFX, and cloud MP4 rendering).
---

# Babliy Editorial Video & Motion Studio (`SKILL.md`)

Use the `yap` MCP server whenever the user wants a **clean, high-retention talking-head edit** (YouTube Shorts, Reels, TikTok) or frame-accurate **9:16 motion graphics**.

---

## Editorial Rules (Why edits look clean instead of templated)

1. **Speaker first — never shrink the person every 5 seconds:**
   - Default talking-head overlays (hooks, keywords, numbers, quotes, callouts) should run **full-screen over the person** (`params: "bg=transparent&accent=..."`) so the face, eyes, and gestures carry attention.
   - Reserve `layout=stage` strictly for dense multi-row charts, comparisons, or diagrams — and never chain more than `2–3` stage cards consecutively.
   - Always leave `3–6 s` of clean full-screen speaker breathing room between visual blocks.
2. **Real evidence beats fake mockups (`import_asset` + `media` cutaways):**
   - When the speaker discusses an app, doc, workflow, chart, or physical product, ask for or attach their **actual screenshot, screen recording, or photo** via `import_asset` (`asset:<name>`) or an HTTPS media URL.
   - Splice it with `{ media: "asset:demo.png", media_fit: "framed-card" | "fullscreen" | "split-top", pip: "circle" | "corner" | "none", zoom: 1.08, focus: [x, y], callout: "..." }`.
   - Use `focus: [x, y]` (`0..1`) to push toward the relevant button/metric rather than shrinking a wide UI unreadable.
3. **Typography & Caption Discipline (`caption_preset`):**
   - Match captions to the video tone — never pair clashing novelty fonts inside one video:
     - `clean-sans`: Crisp `Inter` SemiBold (`68px`, bottom safe `y=1460`) — default for SaaS, workflows, tutorials, business takes.
     - `quiet-phrase`: Smooth calm `Inter` phrase-level fade (`58px`, `y=1500`) — ideal for minimalist personal stories & creator diaries (no jittery word popping).
     - `minimal-mono`: Clean `JetBrains Mono` (`48px`, `y=1480`) — founder build-logs & technical walkthroughs.
     - `kinetic-bold`: Bold `Inter` (`84px`, `y=1380`) — punchy high-energy hooks.
     - `behind-serif` / `editorial-serif`: `Instrument Serif` Italic (`150px` behind speaker via matte segmentation, or `94px` foreground).
   - Keep graphic slots tight (`1–4` words). Let voice carry the full sentence.
   - Keep text clear of safe-zone UI (`y: 250..1600`, `x: 70..900`) and clear of the speaker's mouth/eyes.
4. **Restrained Audio (`sfx_mode: "editorial"`):**
   - **Never fire a `whoosh` or `tick` on every micro-movement.** Keep `sfx_mode: "editorial"` (default, max 2 subtle cues per segment at `-16 dB`) and `music_db: -20` (sidechain-ducked under voice) so spoken delivery stays clean and clear.
5. **Bespoke HTML Escape Hatch (`html` segment):**
   - When neither the `136+` studio designs nor a `media` cutaway fits a signature moment, pass self-contained `1080×1920` `html` directly in `edit_video.graphics`.
   - Expose deterministic `window.seek(t)` + `window.DURATION` (or GSAP `window.__timelines.root`) so live preview in `get_edit` and cloud `render_video` stay frame-locked.

---

## Talking-Head Editing Workflow (`upload_video` → `review_video`)

1. **Plan style & recipe first:** Call `get_brand_styles` (browse all `152` Brand Kits via `brand_kit` / `query`, plus the `9` talking-head narrative recipes: `teach-listicle`, `teach-floating-cards`, `teach-personal-lesson`, `workflow-desk-inserts`, `workflow-screen-callouts`, `workflow-spoken-list`, `story-founder-diary`, `story-creator-pip`, `story-live-demo`).
2. **Ingest media:** Call `upload_video` -> user uploads video. If showing UI/screenshots/B-roll, also call `import_asset` for each image/clip (`asset:<name>`).
3. **Inspect footage & transcript:** Poll `get_timeline` until `status === "ready"` to get word timestamps, pause map, and frame contact sheet (check where face sits!).
4. **Sequence or craft the edit:**
   - Call `recommend_motion_design` or `build_reel_sequence({ script, recipe, brand_kit, style, accent })` for aligned graphic picks and timings.
   - Call `edit_video` using SOURCE timestamps, `remove` (false starts/tangents), `caption_preset`, `highlight_color`, `highlights`, `corrections`, `sfx_mode: "editorial"`, and mixed `design` / `media` / `html` segments.
5. **Live preview & visual QA loop:**
   - Call `get_edit` for `preview_url` (plays live with captions, zoom, PiP cutaways, and studio overlays before rendering).
   - Once approved, call `render_video` -> wait for `done` -> call `review_video` to inspect contact frames + automated checks (`freeze`, `unsafe`, `face`, `loudness`, `max_volume_db`). Fix anything flagged and re-render.
