Skip to content
Back to skills

Growkaz Cutout Tales

ASecurity

Make narrated 2D cutout/puppet-style story videos (flat vector adult characters, layered dusk sets, slow push-in camera, pop-in name tags, stamps, star ratings, speech bubbles) drawn in Python + pycairo and rendered to MP4 with local voice, auto sound effects and a ducked music bed. Use for "What if you were born as..." explainers, western, crime or historical life stories in this look, or Grow With Kaz cutout scenes.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentspythongobash

Works with

  • cli

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 12 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add playlikemen/roblox-reels-skill --skill growkaz-cutout-tales --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Growkaz Cutout Tales?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Growkaz Cutout Tales
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/playlikemen-growkaz-cutout-tales/badge)](https://www.skillsdirectory.com/skills/playlikemen-growkaz-cutout-tales)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: growkaz-cutout-tales
description: Make narrated 2D cutout/puppet-style story videos (flat vector adult characters, layered dusk sets, slow push-in camera, pop-in name tags, stamps, star ratings, speech bubbles) drawn in Python + pycairo and rendered to MP4 with local voice, auto sound effects and a ducked music bed. Use for "What if you were born as..." explainers, western, crime or historical life stories in this look, or Grow With Kaz cutout scenes.
---

# GrowKaz Cutout Tales

A Grow With Kaz video style: "What if you were born as..." storybook explainers in flat-vector **cutout / puppet animation**. Characters are layered rigs that barely move; the camera and overlays carry the energy. Everything is drawn in code (Python + pycairo) and piped to ffmpeg, so it renders locally with no image assets and no GPU.

## Quick start
```bash
pip install pycairo numpy pillow            # + ffmpeg on PATH
python3 examples/dustwater_western.py qc    # 2x2 contact sheet -> wqc.jpg (look at it)
python3 examples/dustwater_western.py full [music.mp3]   # 30 s western with SFX (+ optional ducked music)
```
A narrated explainer, end to end:
```bash
python3 scripts/voice.py script.txt --voice am_michael      # voice/part1.wav, part2.wav (one per paragraph)
python3 scripts/align.py script.txt voice/part*.wav         # timing.json (sentence start/end per part)
TIMING=timing.json python3 examples/money_explainer.py 1 qc # contact sheet, one still per shot -> qc1.jpg
TIMING=timing.json python3 examples/money_explainer.py 1 full
TIMING=timing.json python3 scripts/sfx.py examples/money_explainer.py   # sfx.wav from the shot list
python3 scripts/mix.py part1_video.mp4 final.mp4 --voice voice/part1.wav --sfx sfx.wav --music bed.mp3
```
Try it with the bundled `examples/sample_timing.json` (`TIMING=examples/sample_timing.json`) before you have a voiceover.

## Files
| File | What it is |
|---|---|
| `scripts/engine.py` | The kit: drawing helpers, the parametric character rig (`CAST`, `POSES`, `EXPR`, `character()`), sets (apartment, office, street, dinner, stage, rooftop), western accessories, icons and every overlay (`tag`, `stamp`, `bubble`, `caption`, `card`, `counter`, `bigword`, `arrow_label`, `icon`). |
| `scripts/render.py` | `encode(frame_fn, seconds, out)` renders frames in parallel on all cores and pipes them to ffmpeg; `contact_sheet(surfaces, out)` for QC. No temp files. |
| `scripts/voice.py` | Local narration with Kokoro (offline, no espeak needed), one WAV per script paragraph. |
| `scripts/align.py` | `timing.json` from the script and the voice files. Uses faster-whisper word times when installed, otherwise pause detection. |
| `scripts/sfx.py` | Builds `sfx.wav` by scanning any shot module for overlay events (pop, thud, whoosh, typing ticks, dings, coins, boom) plus a quiet room tone. |
| `scripts/mix.py` | Voice + SFX + music bed (looped, side-chain ducked under the voice) -> mastered MP4 at -14 LUFS. |
| `scripts/scene.py` | The original 20 s "Silas" western scene, plus western buildings, mountains and the silhouette horse rider. |
| `examples/money_explainer.py` | A full narrated explainer (two voiceover parts, ~45 shots): a `Shot` class driven by `timing.json`, `C()` character placement, gestures, talking mouths, `speech()` bubbles, `qlist()` checklists, `flow()` cards. Copy it as the template for new explainers. |
| `examples/dustwater_western.py` | A 30 s multi-character western with its own sound design. |

Requirements: Python 3.9+, `pycairo numpy pillow`, ffmpeg. Optional: `kokoro-onnx misaki[en] soundfile` for `voice.py`, `faster-whisper` for `align.py`. Font: Poppins Bold (free, OFL; install it in `~/.fonts`), or set `GROWKAZ_FONT` to any installed bold sans. Speed: `GROWKAZ_JOBS` sets render processes (default: all cores); a 30 s 1080p clip takes about 30 s on 8 cores.

## Rules
- **Original characters only.** Never draw a game, film or TV character. Invent a character with the same archetype (drifter cowboy, street kid, gang boss) and an original name.
- Default output: 1920x1080, 30 fps, H.264 CRF 18, yuv420p, `+faststart`. The sets are laid out for 16:9. For 9:16, set `W, H = 1080, 1920` in `engine.py` and re-place every set piece and overlay for the narrow frame (character at about 60% of the height); it is a re-layout, not a switch.
- Always render a QC contact sheet and look at it before the full render. Fix overlaps and anything off screen, then render.
- Overlays never cover a face and never overlap each other. Name tags size themselves to the longer of title and subtitle.
- Mix: SFX around 0.45 under the voice, music about 16 dB down and ducked, master to -14 LUFS (`mix.py` does all three). Credit any CC-BY music in the post text.

## Style bible
**Characters (adults)**
- About 7 heads tall, with the head slightly oversized. Mitten hands (circles).
- Outline is dark brown `(0.17,0.11,0.09)` at about 3.2px, never pure black. Round joins.
- Each part is a base fill plus ONE hard-edged shadow tone, clipped to the shape on the side away from the light. No gradients and no textures on characters.
- Face: jaw curve, almond eyes with dark pupils, HEAVY brows (thick round-cap strokes, which carry the emotion), nose as a shadow wedge, a translucent stubble patch, a mustache stroke.
- Detail comes from costume construction: vest, satchel strap, belt with a gold buckle, holster, bandana, a hat as its own layer with a band.
- Every character needs a unique silhouette (hat shape, build, signature color).
- Kids are optional chibi versions: big round head, dot eyes, tiny body.

**Rig layers (draw order):** legs and boots → back arm (shoulder, elbow) → torso shirt → vest panels → strap and belt and holster → neck and bandana → head (ears, face, stubble, nose, eyes, brows, mouth, hair) → hat → front arm. Arms are two segments: `rotate(a1)` at the shoulder, then translate by the upper-arm length and `rotate(a2)` at the elbow. Poses are dicts of angles keyframed with smoothstep.

**Idle motion (always on):** breathing via torso scale `1 + sin(t*2.1)*0.012`, head bob of about 1.6px, a slow head sway of about 0.025 rad, blinks of 0.14s every 3–4s, and a short glance with a brow raise when an overlay appears. Gestures (hat tip, point, wave) take 0.45s to ease in, hold, then 0.45s to ease out.

**Sets:** a sky gradient (3 stops), a sun or moon with a big radial bloom, soft clouds made from circle clusters, 2 mountain ridges, a midground set (false-front western buildings with lit yellow windows, porches and signs), a gradient ground with grass tufts, and a prop or two (barrel, crate).
Mood palettes:
- Dusk: `#3d2a5c → #c4566a → #f6a65a`, mountains `#7d4a72` / `#a65a6a`.
- Night: navy `#141a3a → #2b3566`, a moon, yellow windows, campfire glow.
- Day: `#7fb6e6 → #cfe6f5`, white clouds, green or tan ground.
- Interior: warm browns with a lamp bloom.
Always add drifting dust particles (about 90, alpha pulsing) and a vignette (radial, 0.55–0.7).

**Camera:** every shot has a slow push-in (zoom 1.0→1.13 with smoothstep across the shot) plus a slight drift. Parallax: wrap each layer in `layer(depth, fn)`, which scales by `1+(z-1)*depth` around a focus point and offsets x by `t*6*depth`. Use depth 0.05 for stars, 0.1 for sun, 0.15 for clouds, 0.25 and 0.4 for mountains, 0.6 for town, 0.85 for ground, 1.0 for the character.

**Overlays (the explainer layer):** all pop in with back-out easing (`c=2.2`, about 0.28s), slightly rotated (±0.03–0.08 rad), with a soft drop shadow, in Poppins Bold.
- **Name tag:** a white rounded rect, a 4px outline, a bold 38px title and a grey 20px subtitle ("SILAS / the drifter"). Place it beside the character, not on the face.
- **Stamp:** red double-border box on a cream fill ("BOUNTY $2,500", "SAVED", "ROBBED").
- **Stat rating:** white label plus 5 gold stars that pop in one by one 0.12s apart ("GRIT RATING").
- **Speech bubble:** a white pill with a tail pointing at the mouth and typewriter text over 1s. It shrinks out at the end.
- **Year or age tag:** "1899", "ABOUT 14".
- Also available: hand-drawn arrows with labels, chalkboards, parchment notes, maps, polaroids, a viewer comment box.
- Make sure overlays never overlap each other or the character's head; check this in QC.

**Transitions:** 0.4s fade through black between shots, a 0.5s fade-in at the start and 0.6s fade-out at the end. Silhouette shots (a near-black `(0.08,0.05,0.1)` figure against a giant sun) work for dramatic beats and endings.

## Core helpers (implement these first)
```python
def ease(t): t=clamp(t); return t*t*(3-2*t)
def back_out(t): t=clamp(t); c=2.2; return 1+(c+1)*(t-1)**3+c*(t-1)**2
# scale guard: cairo errors on scale 0 -> c.scale(max(s,0.001), max(s,0.001))
def shade(c, path_fn, shadow_fn, base, dark):
    path_fn(); c.set_source_rgba(*base); c.fill_preserve()
    c.save(); c.clip(); shadow_fn(); c.set_source_rgba(*dark); c.fill(); c.restore()
    path_fn(); c.set_source_rgb(*LINE); c.set_line_width(3.2); c.stroke()
```
Text extents: use `te(c, text)` (works on old and new pycairo; old releases return a plain tuple).
Colors are RGBA tuples from a `hexc()` helper. Always use `set_source_rgba(*col)` for them (`set_source_rgb` with 4 values throws).

Frame loop: write `frame(t)` returning a `cairo.ImageSurface(FORMAT_RGB24, W, H)`, then `render.encode(frame, seconds, out)` (parallel, pipes BGRA to ffmpeg) and `render.contact_sheet([frame(t) for t in times], 'qc.jpg')` for QC. `scripts/scene.py` still has the original single-process loop and a stills mode (`python3 scene.py out.mp4 3 8 12.5 17` writes `still_<t>.png`).

## Workflow
1. **Intake:** the character concept, setting, length (default 20 s), aspect ratio, and the narration script or voiceover file.
2. **Voice and timing:** `voice.py` (or the user's voiceover, one file per paragraph), then `align.py` -> `timing.json`.
3. **Shot list:** 3-8 s per shot, cut on sentences. For each shot: set, mood palette, character pose and gesture, overlays with pop times (relative to the shot start), transition. Classic arc: epic silhouette open -> name tag intro -> stat or stamp jokes -> speech bubble line -> silhouette ride-off.
4. **Build** the shot module from `examples/money_explainer.py` (narrated) or `examples/dustwater_western.py` (fixed-length scene), using the engine helpers and the style bible below.
5. **QC:** `qc` mode -> contact sheet; view it, fix scale, placement and overlaps.
6. **Render** the MP4 (`full`), then `sfx.py` and `mix.py`.
7. **Deliver** the final MP4 path with a one-line summary (resolution, fps, length, audio) and the music credit if any.

## Reference scene: "Silas" (20s)
- **0–15s, dusk western town.** Hotel, Saloon, Bank and General buildings. Silas is centered at scale 1.45 with his feet at y=1045. He keeps hands on hips (back arm 0.38/-1.25, front arm -0.38/1.25).
  - 1.2s: name tag "SILAS / the drifter" at (560,380).
  - 4.0s: stamp "BOUNTY $2,500" at (1430,300), with a glance and brow raise from 3.8 to 5.6s.
  - 5.3s: "GRIT RATING" and 5 stars at (1500,160).
  - 7.2–9.3s: hat tip (front arm to -2.5/0.55, hat rotates -0.13, smile).
  - 10.6–14.4s: speech bubble "This town ain't big enough." at (560,150), with stern brows.
- **15–20s:** silhouette rider on a walking horse (sine-driven legs, body bob) crossing in front of a giant setting sun, with fence posts scrolling past, a "1899" tag, and a fade-out.

Files in this skill

  • LICENSE.txt1 KB
  • SKILL.md11.2 KB
  • examples/dustwater_western.py10.6 KB
  • examples/money_explainer.py28.7 KB
  • examples/sample_timing.json9.3 KB
  • scripts/align.py3.6 KB
  • scripts/engine.py35.5 KB
  • scripts/mix.py2.2 KB
  • scripts/render.py2.3 KB
  • scripts/scene.py21.7 KB
  • scripts/sfx.py4.8 KB
  • scripts/voice.py2.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.