Communitygithub.com

gooseworks-ai/goose-skills

Incruste des légendes synchronisées sur une vidéo verticale terminée, en trois styles : transcription vocale (Whisper), sous-titres animés (Pillow + ffmpeg) et blocs par battement pour formats sans voix.

Qu'est-ce que goose-skills ?

Ce skill permet d'ajouter des légendes précises et visuellement soignées à une vidéo verticale finalisée, en exploitant l'audio réel de la vidéo plutôt qu'une estimation du script. Il repose sur deux étapes principales : la transcription via Whisper (via le proxy GooseWorks, facturé à l'agent Ads, en centimes) et l'incrustation graphique via Pillow et ffmpeg, sans nécessiter libass. Trois styles sont proposés : le style « plate » (texte blanc en gras sur fond gris arrondi, 1 à 2 mots), le style « outline » (texte blanc cerclé de noir, 1 à 3 mots) et le style « serif-word » (un seul mot en Georgia Bold sur une ligne de base fixe, aspect incrusté d'écran). Pour les formats sans voix, le script plates.py génère des blocs de légende noirs unifiés par battement, placés dans la bande la moins chargée de l'image. La dernière légende (appel à l'action) reste affichée jusqu'à la dernière image. Compatible avec tout fichier de montage fournissant les battements (début, fin, texte) ; le skill peut également colorer un mot-clé en jaune (CTA) et accepter une carte d'accroche rouge au début. Il fonctionne sur macOS, Linux et Windows, avec une police de secours Roboto Bold téléchargée automatiquement dans `~/.cache/gooseworks/fonts`.

Compatible avec~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/gooseworks-ai/goose-skills/tree/HEAD/skills/ads/capabilities/caption-burn

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

caption-burn

Légendes synchronisées avec ce qui est réellement dit dans la vidéo terminée, et non avec une estimation du script.

Exécution

python transcribe.py --media reel.mp4 --out reel.words.json          # payant, centimes
python captions.py --video reel.mp4 --beats cutlist.aligned.json \
    --words reel.words.json --out final.mp4 [--style plate|outline] [--highlight Marque]

--beats fournit les répliques (vo), leur minutage et, pour les dispositions en split, la couture (seam), la taille (size) et l'état (state) de chaque battement. Tout fichier contenant beats: [{start, end, vo}] fonctionne.

Placement et style

  • --anchor seam (valeur par défaut quand les battements ont une couture) : sur les battements split, la plaque est épinglée à la couture, positionnée par la plaque, pas par le texte : 25 % de la plaque au-dessus de la ligne, 75 % en dessous. Les battements plein écran utilisent --full-y.

  • --anchor fixed --y 0.62 : la plaque de chaque légende est centrée à cette fraction de la hauteur.

  • plate (par défaut) : blanc gras sur plaque gris foncé arrondie, 1 à 2 mots, taille max ~0.019 H.

  • outline : blanc gras avec un contour foncé, sans plaque, 1 à 3 mots, taille max ~0.034 H.

  • --highlight MOT colore ce mot en jaune (mot‑clé du CTA). Répétable.

  • serif-word : UN mot à la fois, police serif épaisse (Georgia Bold), blanc avec contour noir, sur une ligne de base fixe à 0.77 H (aspect incrusté d'écran). Le mot en surbrillance est cité.

  • --card "LIGNE UNE|LIGNE DEUX" --card-until 4.7 : une carte d'accroche blanche arrondie avec deux lignes de capitales rouges épaisses près du haut, pour les premières secondes. ~14 caractères par ligne.

Légendes pour un format sans voix (plates.py)

python plates.py --video walk.mp4 --beats cutlist.json --out captioned.mp4 [--logo logo.png]

Le caption de chaque battement (une chaîne ou une liste de lignes) s'affiche pendant toute la durée du battement sur UN seul bloc noir (rectangles carrés unifiés, arrondis en une seule silhouette : arrondir chaque ligne laisse des coutures), les lignes alignées à gauche, le bloc centré sur sa ligne la plus large. Il se place dans la bande la moins chargée de cette image, sauf si le battement fixe cap_y. logo: true sur un battement accroche la vignette du logo sous le bloc. Écrivez des lignes comme une personne les taperait : la même forme courte « fragment. fragment. » répétée trois fois donne l'impression d'être écrite par une IA. Pas d'emoji deux fois.

Règles

  1. Transcrivez l'AUDIO FINAL. L'assemblage des prises et l'alignement des lignes modifient le minutage ; seul l'audio de la vidéo finale donne les bonnes indications.
  2. La dernière légende reste jusqu'à la dernière image. C'est l'appel à l'action.
  3. Un mot que Whisper écrit différemment (« 200 » pour « deux cents ») est interpolé entre ses voisins plutôt que supprimé ou étiré sur toute la ligne.
  4. Sans --words, le minutage est estimé à partir des syllabes. Utilisez‑le pour juger du placement, jamais pour livrer.
  5. Polices : une police sans‑serif grasse est trouvée sur macOS, Linux ou Windows ; si aucune n'est présente, Roboto Bold est téléchargée une fois dans ~/.cache/gooseworks/fonts. --font ou GW_CAPTION_FONT permet de la surcharger.

Individual skills in this repo

This repo contains 10 individual skills — each has its own dedicated page.

gooseworks-ai/goose-skills

Assemble a cartoon / animated / hand-crafted music-video ad from a config — a sung song carries the whole narrative while N per-bar i2v clips (one recurring animated character, one look pack) are each cut to their BAR window from librosa beat-tracking and hard-concatenated on the bar, VEED-whisper white bold-sans captions in the BOTTOM third (Alignment 2, above the logo bug, no pill) burned from the song's word timings re-spelled against the locked lyrics, a persistent brand logo bug held over the body (suppressed on the end card), and closed on a solid-brand-color PIL end card with the song still playing under it — never AI-rendered text. This is the FREE deterministic assembly stage (cut-to-bar + hard concat + logo bug + captions + end card + song mux); the song, character, keyframes, and clips come from create-music-elevenlabs / create-image-fal / create-video-fal. Use for the cartoon-music-video format.

gooseworks-ai/goose-skills

Assemble a cinematic live-action-style music-video ad from a config — an original sung anthem carries the whole narrative while N 35mm-film-look i2v clips are each cut to their lyric window and hard-concatenated on the beat as a 3-act arc, the anthem muxed at loudnorm I=-14, cinematic lower-third serif captions built from the song's OWN word timings (never Whisper) with the hook line landing on the chorus drop, and closed on a brand end card composited from the real asset — never AI-rendered text. This is the FREE deterministic assembly stage (cut-to-window + hard concat + anthem mux + captions + end card); the anthem, keyframes, and clips come from create-music-elevenlabs / create-image-gpt-image-fal / create-video-fal. Use for the cinematic-music-video format.

gooseworks-ai/goose-skills

Assemble an editorial-motion podcast-clip ad from a config — a real clipped podcast MP3 carries the narrative while N flat limited-palette editorial-illustration keyframes (one look pack) are animated NOT by generative i2v but by DETERMINISTIC ffmpeg ken-burns (zoompan) + hard cuts (no crossfades, which expose geometric drift), each beat snapped to its spoken line, the real audio muxed, Whisper-driven captions burned only mid-sentence, and closed on a PIL brand end card — never AI-rendered text. This is the FREE deterministic assembly stage (ffmpeg ken-burns + hard concat + audio mux + captions + end card); the real audio is clipped from source and the keyframes come from create-image-fal. Use for the editorial-motion-podcast format.

gooseworks-ai/goose-skills

Analyze the message match between your ads and landing pages. Checks if the promise in the ad copy carries through to the landing page headline, body, and CTA. Flags disconnects that kill conversion rates. Works with Google, Meta, and LinkedIn ads.

gooseworks-ai/goose-skills

Generate a single 4-15s vertical video clip with ByteDance Seedance 2.0 reference-to-video via fal.ai. Multi-image reference (avatar + product + setting), native lip-synced VO + ambient audio (generate-audio on by default), internal multi-cut handling within one render. Routes through the GooseWorks FAL proxy (bills the Ads agent). The default clip atom for AI-creator UGC ads built on the NB2 + Seedance architecture. Validated on beauty-by-earth/video-01.

gooseworks-ai/goose-skills

Mandatory pre-publish review gate for a UGC video render. Transcribes the finished render's AUDIO with Whisper and word-diffs it against the approved spoken script, then gates set_final_render — blocking a render whose generated audio mis-voices a word (e.g. the approved "human-vetted" spoken as "human witted"), drops an approved phrase, or comes back silent. Runnable, gating counterpart to content-goose's review-transcript-integrity atom. Every ugc-video-formats recipe runs this after render and BEFORE set_final_render.

gooseworks-ai/goose-skills

Render pixel-accurate Apple Notes (iPhone, light mode) screenshot mockups from a JSON note spec. Outputs HTML + PNG at the iPhone 16/15 Pro native 1180×2556. Supports paragraphs, images, checklists, dividers, autocorrect underline, smart quotes, and an optional iOS keyboard chrome overlay used by the parent video-ad molecule.

gooseworks-ai/goose-skills

Extract competitor and customer intelligence from any company's landing page HTML. Discovers tech stack, analytics tools, ad pixels, customer logos, SEO metadata, CTAs, hidden elements, and more. No API keys required.

gooseworks-ai/goose-skills

Find speakers, hosts, and guest profiles at conferences and events on Luma. Two modes - free direct scrape for hosts, or Apify-powered search for full guest profiles with LinkedIn/Twitter/bio.

gooseworks-ai/goose-skills

Find Twitter/X influencers to promote a product or brand. Use when asked to find influencers, discover Twitter accounts for partnerships, identify creators in a niche, or build an influencer outreach list.

Skills associés