360 Secure SkillHub
360 安全技能中心

bs-creatormotion-type-topic-cloud

该 Skill 接受主题、最多八个术语和至少 6.8 秒的连续主持人视频,生成主持人背后话题云动画的可编辑 HyperFrames 项目;支持三种配色、四种画幅、分辨率、脸部焦点与自动/手动抠像,并可渲染 4K 视频。

分类:创作
yihui-dev
yihui-dev
热度 17.96
最近更新 2026-11-29 00:17:42

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add yihui-dev/bs-creatormotion-type-topic-cloud
兼容性
通用兼容
联网要求
需要联网
数据出网
数据不出本机
Metadata
name
bs-creatormotion-type-topic-cloud
description
A large topic title appears behind the presenter as related terms gather around it. Varied text sizes communicate a growing field of ideas while the face stays clear.

Topic Cloud Behind Presenter

Use this Skill when the brief needs topic cloud behind presenter. Read references/motion-spec.md and references/DESIGN.md before adapting it. Ask only for essential missing content or media; use the included original example to demonstrate an unspecified detail.

Create an editable project

  1. Put the replacement content in a JSON object using the input names below.
  2. Choose white-yellow by default, or charcoal-lime or midnight-ice. The three styles preserve the same motion and content.
  3. Run node scripts/create.mjs --out /absolute/output/path --data /absolute/content.json --style white-yellow --media /absolute/presenter.mp4 --images /absolute/images.json --aspect 16:9 --resolution 4k.
  4. Render with the command printed by the generator, then inspect the start, main change and settled hold.

Supply a continuous local presenter/background take at least 6.8 seconds long with --media. Never loop a shorter take. Keep videos muted; narration is a separate asset. Image-map keys used by this effect: presenter-matte. Replacement image-map values are local file paths; relative paths resolve beside the supplied image JSON. Unspecified raster slots retain their bundled defaults. The generator copies them into the editable project.

Aspect ratio, resolution and caption safe area

Settle these with the user before the first build and keep them for the whole series.

  • Aspect ratio: --aspect 16:9, 9:16, 4:3 or 3:4. Each has its own native layout. With footage, read its size with ffprobe and use its ratio when it is one of the four; otherwise propose the nearest one (the footage is centre-cropped) and ask the user to confirm. Without footage, ask the user to choose.
  • Resolution: always ask, recommending 4K. --resolution 4k (default, short side 2160), 2k (1440) or 1080p (1080): a 4K 9:16 segment is 2160×3840, a 4K 4:3 segment 2880×2160.
  • Caption safe area: the bottom of the frame is kept free for the creator's subtitles (and the platform's captions and buttons on Shorts, Reels and TikTok). The effect places its text and graphics above it; do not move them into that band.

For footage, pass --focus x,y: the centre of the presenter's face as fractions of the footage frame (for example 0.52,0.38). Extract one frame (ffmpeg -ss 2 -i <take> -frames:v 1 /tmp/frame.png), look at it and estimate the face centre. The effect uses it to centre the head in the region the presenter occupies. Use landscape footage for 16:9 and 4:3 and portrait footage for 9:16 and 3:4.

Inputs

The effect exports the following complete original example. Change values rather than modifying animation selectors:

{
  "topic": "CREATIVE PRACTICE",
  "terms": [
    "Curiosity",
    "Notes",
    "Experiments",
    "Drafts",
    "Feedback",
    "Repetition",
    "Questions",
    "Attention"
  ]
}

The same-frame presenter cutout is required (see Presenter cutout). Use a short topic and up to eight short terms. All typography remains behind the real foreground; the subject and headline persist throughout.

Motion invariants

Headline is placed behind a separately masked subject; smaller free-position terms grow into a typographic cloud at staggered times, preserving the headline and subject throughout.

A changed palette or different wording must not replace this movement with a generic card entrance. Keep the geometry, reveal order and layer persistence described in references/motion-spec.md.

Validation

Run HyperFrames lint, validate and inspect in the generated project. Check contrast, readable bounds and deterministic seeking. Visually review all three styles in all four aspect ratios when changing the module. Inspect the actual rendered video; a successful HTML build is not visual acceptance. Keep all images, fonts, video and scripts local to the generated project.

Reference-led shot treatment

The camera crop and oversized white anchor make the presenter part of the lettering. Related terms now form uneven upper/side/lower clusters with stronger size contrast, instead of uniformly sized labels in a loose frame. Every entered word stays fixed. Follow the authored direction and timing in references/motion-spec.md. Keep replacement text within the same visual hierarchy.

Presenter cutout

This effect uses a transparent presenter cutout (presenter-matte) that shares the frames, duration and framing of the --media take. The cutout is required: every term stays behind the real foreground.

  1. If the user already has a cutout of the same take, generate directly: pass it with --matte /absolute/presenter-matte.webm (or the presenter-matte key in --images). Footage that already carries an alpha channel (VP9 alpha WebM or ProRes 4444) is detected and used as its own cutout.
  2. Otherwise keep the default --matte auto. Before building, the generator cuts the presenter out of the --media take with HyperFrames: npx --yes hyperframes@0.8.30 remove-background /absolute/presenter.mp4 -o /absolute/presenter-matte.webm --quality best. It runs a local human-segmentation model (CoreML on Apple silicon, otherwise CPU or CUDA), downloads the model weights once on first use, and needs roughly 0.1–0.6 seconds per frame depending on resolution. The cutout keeps the source resolution and is cached by source checksum, so other palettes of the same take reuse it. Run the command yourself first when you want to review the cutout, then pass the result with --matte.
  3. --matte off disables automatic cutting.

build.json and image-assets.json record whether the cutout came from the user, from alpha footage or from remove-background, with checksums. Inspect hair, hands and fast motion in the rendered frames; if the automatic edge is not clean enough, supply a better cutout. Output is 4K by default; supply 4K footage so a 4K result stays sharp.

Typography

Smiley Sans (Deyi Hei) sets titles, copy and labels in every language, Latin and Chinese alike. It is one slanted display weight, so hierarchy comes from size, colour and spacing rather than weight. IBM Plex Mono sets axis ticks, ordinals, counters and small labels so numbers keep a stable width. Noto Sans SC stays behind Smiley Sans for rare Chinese characters; pass --zh-font noto-sans-sc to set Chinese content in Noto Sans SC instead. A supplied --font always wins. build.json records the choice under typography.

Image material contract

Follow the image policy before adapting visual content. Photos, covers, document imagery and chat avatars use actual raster assets. Without user references, reuse the generated defaults in the slot map; do not ask for every image. User-specified images replace the corresponding slots first. Keep typography, vector diagrams, masks and movement editable in HyperFrames. New image subjects require the available image-generation tool (image2 when exposed), with actual provider/model provenance; no silent HTML substitute. Presenter video remains a separate input; its aligned cutout is supplied or generated as described in Presenter cutout.


Part of Skillry · CreatorMotion

This skill is a free individual motion effect from CreatorMotion on Skillry.

  • Looking for the full CreatorMotion master collection (122+ motion effects, automatic scene selection, and multi-clip assembly)? Explore skillry.dev.
  • Connect Skillry MCP or browse all 87 free skills: npx --yes skillry-cli@latest mcp · github.com/yihui-dev/skillry-skills