Eileenes/creative-skills / skills/promo-video-director
promo-video-director
Verified根据账号链接、网站地址或参考视频,引导并完成体素吉祥物宣传片的资料收集、平台适配、角色调整、关键帧预览、渲染和交付。支持 X、小红书、微信公众号及产品官网的 19 秒模板,也支持基于该模板的定制;适用于账号宣传片、鲸鱼同款视频和吉祥物点按界面动效。
assets/promo-kit/init_config.py
View on GitHub"""profile.json (from a fetch_* script) + a few choices → config.json
usage: python3 init_config.py profile.json --typed deepseek [--color "#4D6BFE"] [--tagline "..."] [--title "..."] [--cta "立即体验"] [--out config.json]
profile.json platform: x | xhs | wechat | web (from fetch_x_profile.sh / fetch_xhs_profile.sh / fetch_wechat_profile.py / fetch_web_page.sh)"""
import argparse, json
ap = argparse.ArgumentParser()
ap.add_argument("profile"); ap.add_argument("--typed", required=True, help="word typed in the terminal (product / brand)")
ap.add_argument("--color", default="#4D6BFE", help="mascot hex color"); ap.add_argument("--belly", default=None)
ap.add_argument("--tagline", default=None); ap.add_argument("--title", default=None); ap.add_argument("--footer", default=None)
ap.add_argument("--name", default=None, help="override display name (web pages often have odd titles)")
ap.add_argument("--cta", default=None, help="web only: button label, e.g. 立即体验 / Get started")
ap.add_argument("--out", default="config.json")
a = ap.parse_args(); p = json.load(open(a.profile))
if a.name: p["name"] = a.name
P = p.get("platform", "x")
bio = [b for b in p.get("bio", []) if b and b.strip()][:4] or [" "]
skip = {"bio", "loginWall", "pageTitle", "ogImage", "lastArticle"}
cfg = {k: v for k, v in p.items() if k not in skip and v not in (None, "")}
cfg.update(platform=P, bio=bio, typed=a.typed, mascot={"preset": "whale", "color": a.color},
end={"title": a.title or p["name"], "tagline": a.tagline or (lambda t: t if len(t) <= 48 else t[:47] + "…")(" · ".join(bio[:2]))})
if a.belly: cfg["mascot"]["belly"] = a.belly
if a.footer: cfg["termFooter"] = a.footer
if a.cta: cfg["ui"] = {"follow": [a.cta, "✓ " + a.cta]}
if p.get("loginWall"): print("warn: 页面被登录墙挡住,资料可能不全——请向用户确认名字/简介/粉丝数/头像")
json.dump(cfg, open(a.out, "w"), ensure_ascii=False, indent=1)
print(f"wrote {a.out} (platform={P}); review bio/tagline/trends/stats, then: python3 build.py {a.out}")
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |