puntorigen/avatar-skills / broll-generator
broll-generator
VerifiedGenerate hyper-realistic complementary B-roll video clips (3-6s) from a scene description using Pruna p-video on Replicate, with NO main character — only people, objects and situations that reinforce an idea. Clips are vertical 9:16 at 720p by default and silent (clean for voice-over), so an avatar's narration can be laid on top in a composite reel. Use when the user wants to create B-roll, inserts, cutaways, complementary footage, or realistic supporting clips for a talking-head/avatar video or reel.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 6.2 KB |
| requirements.txt | manifest | 18 B |
| scripts/_common.py | script | 10.6 KB |
| scripts/generate_broll.py | script | 10.9 KB |
| scripts/setup_key.py | script | 1.6 KB |
scripts/setup_key.py
View on GitHub#!/usr/bin/env python3
"""Store the Replicate API token for the broll-generator skill.
Usage:
python3 setup_key.py YOUR_REPLICATE_API_TOKEN
python3 setup_key.py --show
The token is shared with the other Replicate-based skills. If a sibling skill
(avatar-talking-video, voice-clone, gpt-image-2, ...) already has a valid token
configured, this skill discovers it automatically and you do not need to run
this. Run it only to set or refresh the token.
"""
import json
import sys
from pathlib import Path
CONFIG_FILE = Path(__file__).resolve().parent.parent / "config.json"
def load():
if CONFIG_FILE.exists():
try:
return json.loads(CONFIG_FILE.read_text(encoding="utf-8"))
except json.JSONDecodeError:
return {}
return {}
def save(config):
CONFIG_FILE.write_text(json.dumps(config, indent=2) + "\n", encoding="utf-8")
def main():
if len(sys.argv) < 2:
print(__doc__)
sys.exit(1)
if sys.argv[1] == "--show":
config = load()
tok = config.get("replicate_api_token", "")
if tok:
print(f"replicate_api_token: {tok[:6]}...{tok[-3:]} (len {len(tok)})")
else:
print("No token stored in this skill's config (it may be inherited from a sibling skill).")
return
token = sys.argv[1].strip()
if not token.startswith("r8_"):
print("Warning: Replicate tokens usually start with 'r8_'. Proceeding anyway.", file=sys.stderr)
config = load()
config["replicate_api_token"] = token
save(config)
print(f"Replicate API token saved to {CONFIG_FILE}")
if __name__ == "__main__":
main()
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 |