gooseworks-ai/goose-skills / skills/video/create-creator-takes-h3
create-creator-takes-h3
VerifiedGenerate an AI creator talking to camera, saying an approved script, as one continuous track — H3 Max reference-to-video through the GooseWorks fal-proxy (charged to your GooseWorks credits). Plans takes on line boundaries under H3's 15s cap, dry-runs a cost estimate, generates the first take alone so its voice can be locked and passed to every later take, joins takes with measured 0.10s dissolves, and moves each line's timing onto the words actually spoken. Use for any format with a generated creator speaking a script (split-screen, screen inserts, talking-head ads).
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 31.6 KB |
| scripts/align_beats.py | script | 3.9 KB |
| scripts/character-prompt.json | config | 2.1 KB |
| scripts/content_review.py | script | 3.3 KB |
| scripts/join_takes.py | script | 12.8 KB |
| scripts/make_character.py | script | 30.0 KB |
| scripts/media_proxy.py | script | 56.8 KB |
| scripts/pair_voice.py | script | 38.1 KB |
| scripts/plan_takes.py | script | 20.7 KB |
| scripts/run_takes.py | script | 19.0 KB |
| scripts/tiers.py | script | 6.1 KB |
| skill.meta.json | config | 278 B |
| tests/smoke-test.md | markdown | 1.3 KB |
| tests/test_action_skin_light.py | script | 7.0 KB |
| tests/test_hands_voice_pace.py | script | 10.1 KB |
| tests/test_make_character.py | script | 4.9 KB |
| tests/test_quality_tier.py | script | 13.5 KB |
| tests/test_run_takes_rejection.py | script | 16.8 KB |
| tests/test_voice_ethnicity.py | script | 34.5 KB |
tests/test_make_character.py
View on GitHub"""make_character.py writes a quotable payload on a dry run. Free: nothing is generated."""
import json
from pathlib import Path
import subprocess
import sys
import tempfile
import unittest
SCRIPT = Path(__file__).resolve().parents[1] / "scripts" / "make_character.py"
IDENTITY = ["--age", "34", "--gender", "woman", "--ethnicity", "South Asian",
"--hair", "shoulder-length black hair, slightly frizzy at the crown",
"--wardrobe", "plain charcoal crew-neck t-shirt",
"--scene", "a lived-in home office, a full bookshelf behind her, in focus", "--no-voice-pair"]
def run(*args):
return subprocess.run([sys.executable, str(SCRIPT), *args], capture_output=True, text=True)
class MakeCharacterPayloadTests(unittest.TestCase):
def test_dry_run_writes_the_exact_payload_and_generates_nothing(self):
with tempfile.TemporaryDirectory() as tmp:
out = Path(tmp) / "character"
payload_file = Path(tmp) / "quote" / "payload.json"
r = run(*IDENTITY, "--out", str(out), "--dry-run", "--payload-out", str(payload_file))
self.assertEqual(r.returncode, 0, r.stderr)
quoted = json.loads(payload_file.read_text())
# Defaults: GPT Image 2, phone capture in a lived-in room, deep focus, no bokeh, no retouching.
self.assertEqual(quoted["model"], "openai/gpt-image-2")
self.assertEqual(quoted["body"]["image_size"], {"width": 1088, "height": 1920})
self.assertEqual(quoted["body"]["quality"], "medium") # Standard, the default tier
self.assertNotIn("seed", quoted["body"])
prompt = quoted["body"]["prompt"]
self.assertIn("bokeh background", prompt)
self.assertIn("DEEP focus", prompt)
self.assertIn("lived-in room", prompt)
self.assertIn("No retouching, no skin smoothing, no beauty filter, no cinematic grade.", prompt)
for banned in ("dermatological", "micro-shadow", "cinematographer", "medium format"):
self.assertNotIn(banned, prompt)
self.assertIn("no invented scars, acne marks", prompt)
negative = json.loads((SCRIPT.parent / "character-prompt.json").read_text())["negative_prompt"]
self.assertEqual(prompt, (out / "character-prompt.txt").read_text() + "\n\nAvoid: " + negative)
saved = json.loads((out / "character.json").read_text())
self.assertEqual((saved["capture"], saved["focus"]), ("phone", "deep"))
self.assertFalse((out / "character.png").exists())
self.assertIn("dry run, nothing generated", r.stdout)
def test_seed_is_part_of_the_quoted_body(self):
with tempfile.TemporaryDirectory() as tmp:
payload_file = Path(tmp) / "payload.json"
r = run(*IDENTITY, "--out", str(Path(tmp) / "c"), "--seed", "7", "--dry-run",
"--model", "fal-ai/nano-banana-pro", "--payload-out", str(payload_file))
self.assertEqual(r.returncode, 0, r.stderr)
self.assertEqual(json.loads(payload_file.read_text())["body"]["seed"], 7)
# GPT Image 2 has no seed: refused rather than silently dropped.
r = run(*IDENTITY, "--out", str(Path(tmp) / "c2"), "--seed", "7", "--dry-run")
self.assertNotEqual(r.returncode, 0)
def test_phone_observer_is_a_third_person_shot_that_never_looks_at_the_lens(self):
with tempfile.TemporaryDirectory() as tmp:
payload_file = Path(tmp) / "payload.json"
out = Path(tmp) / "c"
r = run(*IDENTITY, "--capture", "phone_observer", "--out", str(out), "--dry-run",
"--payload-out", str(payload_file))
self.assertEqual(r.returncode, 0, r.stderr)
prompt = json.loads(payload_file.read_text())["body"]["prompt"]
self.assertIn("filmed by a friend", prompt)
self.assertIn("not looking at the lens", prompt)
self.assertNotIn("looking into the lens", prompt)
self.assertEqual(json.loads((out / "character.json").read_text())["recording"], "observer")
def test_marks_only_when_the_user_chose_them(self):
with tempfile.TemporaryDirectory() as tmp:
r = run(*IDENTITY, "--marks", "a small mole on the left cheek", "--out", str(Path(tmp) / "c"), "--dry-run")
self.assertNotEqual(r.returncode, 0)
self.assertIn("--marks-approved", r.stderr)
def test_missing_identity_argument_stops_before_any_payload(self):
with tempfile.TemporaryDirectory() as tmp:
payload_file = Path(tmp) / "payload.json"
without_scene = IDENTITY[:-3] + ["--no-voice-pair"]
r = run(*without_scene, "--out", str(Path(tmp) / "c"), "--dry-run",
"--payload-out", str(payload_file))
self.assertNotEqual(r.returncode, 0)
self.assertIn("--scene", r.stderr)
self.assertFalse(payload_file.exists())
if __name__ == "__main__":
unittest.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: 194k | 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: 194k | 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: 194k | Updated | Claude CodeCodex | Verified | Install |