Render Hand Swipe Flavor Listicle 标志

Render Hand Swipe Flavor Listicle

组织热门
gooseworks-ai
render-hand-swipe-flavor-listicle

根据配置渲染“手指滑动口味清单”视频——品牌真实产品抠图分别悬浮在与口味匹配的纯色背景上方,始终显示标题,并像手机信息流滚动一样从右向左逐个切换;绿幕手部片段(手背朝向镜头,食指竖起)会裁剪至手指干净竖起的片段,每种口味循环播放一次,使用绿色占优 alpha 键抠像、缩小并锚定在底部;可选添加片尾卡和纯音乐背景。使用确定性的 PIL + FFmpeg 组装,免费(手部片段来自 create-video-fal,背景音乐来自 create-music-elevenlabs),因此文字标签始终保持像素级清晰。用于 hand-swipe-flavor-listicle 格式。

Add to TypingMind

概览

发布者gooseworks-ai
代码仓库goose-skills
技能名称render-hand-swipe-flavor-listicle
星标数
1.2K
复刻数
216
附带文件
5
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 5 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 gooseworks-ai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Render Hand Swipe Flavor Listicle AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/gooseworks-ai/goose-skills/tree/main/skills/ads/capabilities/render-hand-swipe-flavor-listicle
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gooseworks-ai/goose-skills.git /tmp/goose-skills
mkdir -p .claude/skills
cp -r /tmp/goose-skills/skills/ads/capabilities/render-hand-swipe-flavor-listicle .claude/skills/render-hand-swipe-flavor-listicle
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Render Hand Swipe Flavor Listicle,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Render Hand Swipe Flavor Listicle。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Render Hand Swipe Flavor Listicle 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

render-hand-swipe-flavor-listicle

Render the hand-swipe-flavor-listicle format from a config: a short vertical (1080×1920, 30fps, ~7.5s) "N flavors of " listicle. Each flavor is a card — a flat, saturated color field + a persistent title + the brand's REAL product cutout with a soft contact shadow. Cards change by sliding right-to-left (a phone-feed scroll), while a real-looking hand sweeps at the bottom of the frame. Music-only, no VO.

This capability is the FREE, deterministic assembly ($0, no keys). It never generates or edits the product — the cutouts are composited as-is, so labels stay crisp. It needs four kinds of input, gathered first (see Getting the inputs): product cutouts, a title TTF, a green-screen hand clip, and (optionally) a music bed.

Run

bash
S=/tmp/gooseworks-scripts/render-hand-swipe-flavor-listicle/scripts   # after `gooseworks fetch render-hand-swipe-flavor-listicle`
python3 $S/build_hand_swipe_listicle.py config.json                 # writes config "output"
python3 $S/build_hand_swipe_listicle.py config.json --out final.mp4 # override the output
python3 $S/build_hand_swipe_listicle.py config.json --stills cards/ # one PNG per card, no video
python3 $S/build_hand_swipe_listicle.py config.json --work work/    # keep the intermediates in work/

Relative paths in config.json resolve against the config file's own folder. Render --stills first: it is instant and shows the title, colors and cutouts before the full render.

Prereqs: python3 with Pillow, and ffmpeg + ffprobe on PATH. Nothing else.

Getting the inputs

InputFree routePaid route (gated: confirm with the user first)
Product cutoutsThe brand's transparent PNGs (PDP/press kit).A brand-site photo is usually NOT a cutout. Remove its background with create-image-fal, model fal-ai/birefnet/v2 (see below).
Title TTFDownload a TTF matching choices.title_style (table below).—
Hand clipThe bundled clip (one woman's hand): curl -fL -o hand-swipe-greenscreen.mp4 https://d2m0qbg34x1ii2.cloudfront.net/ads/samples/455dc125-e41c-46dc-9fa6-9ae125e9b6bf/media-hand-swipe-greenscreen.mp4 (also in the recipe's config.hand.bundled_clip_url).A new clip via create-video-fal (see Making the hand clip).
Music bedNone ("music": null, a silent cut).create-music-elevenlabs (see Making the music bed).

Cutouts. The renderer warns when an image has no transparent pixels: it would render as a white box with a rectangular shadow. Fix it before rendering, never by AI-regenerating the product. The cutout route is create-image-fal with model fal-ai/birefnet/v2 (paid, gated), payload {"image_url": "<public url of the product photo>"}, the same route render-vignette uses. Known gap: birefnet returns image, not images[], and create-image-fal's gen_image.py currently reads only images[], so check that capability's notes before relying on it. If no cutout route works, ask the user for transparent PNGs.

Title font. Always pass title_font. Without it the renderer falls back to whatever the machine has (Brush Script on macOS, DejaVu Sans Bold on Linux), so the same config renders a different title style on different machines. Free TTFs from Google Fonts, one per title_style:

choices.title_styleDownload
cursive / scriptcurl -fL -o fonts/title.ttf https://github.com/google/fonts/raw/main/ofl/pacifico/Pacifico-Regular.ttf
bold condensed sanscurl -fL -o fonts/title.ttf https://github.com/google/fonts/raw/main/ofl/anton/Anton-Regular.ttf
elegant serifcurl -fL -o fonts/title.ttf https://github.com/google/fonts/raw/main/ofl/dmserifdisplay/DMSerifDisplay-Regular.ttf
hand-drawn markercurl -fL -o fonts/title.ttf https://github.com/google/fonts/raw/main/apache/permanentmarker/PermanentMarker-Regular.ttf
the brand's own display fontThe brand's TTF/OTF file if you have it; otherwise the closest row above.

The title is auto-shrunk (with a warning) until it fits 88% of the frame width, and the underline follows the drawn text, so long brand names never clip on the edges.

Config

scripts/config.example.json is the worked example (Lucky Energy "5 Flavors of Lucky"). Copy its structure, never its creative values.

FieldWhat it is
titleThe persistent header line (required).
title_fontA TTF in the style from choices.title_style (see Title font). Missing → a warned, machine-dependent fallback.
title_size, title_y, title_color, title_underlineTitle layout (defaults 118, 200, white, true). title_size is a maximum: a too-wide title is shrunk to fit.
flavors[]{ "bg": "#hex", "can": "cutout.png" } per flavor, in play order (required, ≥2). image is accepted as an alias for can. Cutouts must be transparent PNGs.
can_height, can_center_yProduct size + vertical center (defaults 950, 940).
slide.framesFrames per slide (default 12). slide.direction is fixed: always right-to-left (any other value is ignored with a warning).
hand_clipThe green-screen hand swipe mp4 (required to render).
handtrim_start, trim_end (the clean finger-up window, default 0–1s, must lie inside the clip), speed, scale (default 0.45), green_margin (default 1.12).
end_card, end_card_hold_framesOptional PNG at the frame size (1080×1920) that slides in after the last flavor; hold (default 60 frames). Another aspect ratio is stretched, with a warning.
music{ "path", "trim_intro_sec", "volume" } or a plain path string, or null for a silent cut. path is the create-music-elevenlabs output file. volume is a gain after loudness normalization (1.0 = the demo level, -18 LUFS).
outputOutput mp4 (default hand-swipe-listicle.mp4 next to the config).

Hard errors (exit 1): an unfilled <input:…> / <brand:…> placeholder in a required field; a missing file; a music object whose path is empty or a placeholder (set "music": null if the cut is meant to be silent); a hand.trim_start at or past the clip's end.

Timing. Each flavor lasts one hand-loop (the trimmed clip length). With 5 flavors, a 1s trim, a 12-frame end-card slide and a 60-frame end-card hold, the cut is ~7.4s.

Music length. The bed must cover trim_intro_sec + the cut. If it is too short, the renderer trims less of the intro (with a warning) so the music still runs to the end and fades out there. If the file is shorter than the whole cut, the tail is silent (warned).

Choices

The recipe asks the user these before any paid step; the renderer only draws what the config says.

  • flavor_lineup — which SKUs and in what order → flavors[]. The demo used 5 energy-drink flavors, strongest last.
  • title_style — the header style → title_font (download per the table), title_size. The demo used a cursive script.
  • hand — whose hand → hand_clip: the bundled clip (free) or a new create-video-fal clip (paid). The demo used a woman's hand.
  • music — the bed's feel → the create-music-elevenlabs prompt, then music.path. The demo used an upbeat, punchy energy underscore.

Making the hand clip (paid, gated — not this capability)

Only when choices.hand asks for a different hand than the bundled clip, or no bundled-clip URL is available. Fill {hand} from choices.hand (e.g. "a man's hand with a silver watch"). Write the payload to a file so apostrophes in the description don't break the shell:

bash
cat > hand-payload.json <<'JSON'
{
  "prompt": "Close-up of {hand}, the BACK of the hand facing the camera, index finger extended pointing up. The hand swipes smoothly from RIGHT to LEFT across the frame like scrolling to the next photo on a phone. One clean horizontal swipe, the index finger stays extended (do not curl it). Solid flat bright green screen background, even flat lighting, fixed camera, no zoom, no camera shake.",
  "negative_prompt": "curled finger, closed fist, vertical motion, static, frozen, morphing, deformed fingers, extra fingers, text, watermark, changing background",
  "duration": "5",
  "aspect_ratio": "9:16"
}
JSON
python3 /tmp/gooseworks-scripts/create-video-fal/scripts/gen_video.py \
  --model fal-ai/kling-video/v2.5-turbo/pro/text-to-video \
  --payload @hand-payload.json --out hand-swipe-greenscreen.mp4

Then look at the first ~1s (e.g. --stills-style frame grabs with ffmpeg, or watch) and set hand.trim_start / hand.trim_end to the clean finger-up window. Set hand_clip to the file.

Making the music bed (paid, gated — not this capability)

Generate it long enough to cover the intro trim plus the cut, plus 1s of slack: at least (trim_intro_sec + target_duration_sec + 1) seconds, i.e. about 11s for the default 2.5s trim and a 7.5s cut. Keep --trim-intro 0 there; this renderer does the trim.

bash
python3 /tmp/gooseworks-scripts/create-music-elevenlabs/scripts/gen_music.py \
  --prompt '<from choices.music; instrumental only, no vocals, no artist names>' \
  --length-ms 11000 --duration 11 --out music-bed.m4a

Then set music.path to music-bed.m4a.

Craft rules (baked into the renderer)

  • Never AI-regenerate the product. Image-to-video hallucinates the can and garbles the label. Only the hand is generative; the products are real cutouts.
  • Green-dominance key, not colorkey/chromakey. Alpha is 0 only where g > green_margin × max(r, b). It is brightness-invariant, so it survives a muddy, uneven AI green. Kept pixels are despilled (green clamped to max(r, b)), so green spill on skin turns neutral instead of see-through. Raise green_margin if skin goes see-through; lower it if green fringe remains.
  • Back of hand toward camera, finger UP. A nails-forward hand reads as the wrong hand.
  • Trim to the finger-UP window. These clips curl the finger periodically.
  • Scale the hand down and anchor it at the bottom so the fingertip reaches ~35% up (the can base) and never covers the product.
  • Flavors change by sliding RIGHT-TO-LEFT, never a vertical flick or a top-drop.
  • The hand is scaled to the frame width with its aspect kept, so a non-9:16 clip is not stretched.

Output

A WxH (default 1080×1920) H.264 mp4, with AAC audio when music is set (fade in/out + loudnorm, padded to the full length). The last line names the length and music/silent; read the WARNING lines above it. Then review the FULL mp4 with watch: the hand is opaque in every frame with no green fringe, the finger stays up, the title fits the frame, labels are crisp and readable, the slide is right-to-left, and the music runs to the end.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Render Hand Swipe Flavor Listicle AI 技能有什么作用?

根据配置渲染“手指滑动口味清单”视频——品牌真实产品抠图分别悬浮在与口味匹配的纯色背景上方,始终显示标题,并像手机信息流滚动一样从右向左逐个切换;绿幕手部片段(手背朝向镜头,食指竖起)会裁剪至手指干净竖起的片段,每种口味循环播放一次,使用绿色占优 alpha 键抠像、缩小并锚定在底部;可选添加片尾卡和纯音乐背景。使用确定性的 PIL + FFmpeg 组装,免费(手部片段来自 create-video-fal,背景音乐来自 create-music-elevenlabs),因此文字标签始终保持像素级清晰。用于 hand-swipe-flavor-listicle 格式。

为什么在 TypingMind 中使用 Render Hand Swipe Flavor Listicle?

因为您只需安装一次,就能搭配任何模型使用。Render Hand Swipe Flavor Listicle 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Render Hand Swipe Flavor Listicle?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/gooseworks-ai/goose-skills/tree/main/skills/ads/capabilities/render-hand-swipe-flavor-listicle。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Render Hand Swipe Flavor Listicle?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Render Hand Swipe Flavor Listicle 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Render Hand Swipe Flavor Listicle 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Render Hand Swipe Flavor Listicle AI 技能免费吗?

是的。gooseworks-ai 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇