Skip to content
ryanbiddyPublic

About

Make my clips look like that video. Zing studies a video you like and cuts your clips into captioned drafts in that style, in 16:9, square and 9:16, and makes memes from local photos. Pre-alpha local CLI and MCP server; installs from source with Python, uv and FFmpeg.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Zing

Give it a long episode. Get back a pack of Shorts, each with a receipt.

Zing is a free, local clipping factory that runs in your terminal and that AI agents can drive. Point it at a podcast, a talk or an interview. It finds the moments that stand on their own, cuts them on sentence ends, frames the speaker, and adds captions a phone can read plus graphics planned from what's said. Each clip carries a receipt that lists what it adds (pictures, graphics, quotes, name tags) with sources and licenses, and a separate context check says whether a cut changed the meaning. Zing opens a review page on your machine. Nothing is posted.

It can also match your clips to a reference video's style and make memes from your photos. Measurement and rendering run on your machine; your AI supplies the judgment through the CLI or 51 MCP tools. No Zing API key needed. Needs Python, FFmpeg and, for the factory, Node.js 20+.

Start here: zing studio

Run zing studio and pick "Turn a long episode into Shorts" for a podcast episode. Pick a reference match for your own clips. The episode path opens a review page. Press Run to make captioned vertical clips. Nothing is posted.

Get started

Zing 1.0.0rc1 is a release candidate. Install the pinned version from PyPI.

pipx install "myzing[all]==1.0.0rc1"

Or use uv tool install "myzing[all]==1.0.0rc1". The source checkout is another option. Install FFmpeg with libx264 and libass through your OS package manager, then run zing doctor, followed by zing studio. Doctor checks FFmpeg 6+, ffprobe, encoders and filters and names what is missing. zing setup --ffmpeg shows the install command and requires a typed yes.

Follow Install for Windows, macOS or Linux, Troubleshooting for failed checks, Privacy for downloads and AI-client boundaries, and Studio for a first draft with generated media. Package setup and model downloads can take longer than the walkthrough itself.

For the episode path, install Node.js 20+ and run zing factory setup once. It installs the pinned sidecar and uses your existing Chrome or Edge.

In a source checkout, run uv sync --all-extras once and put FFmpeg on PATH. Then start Studio.

uv run --frozen zing studio

Start with “What are we making?” Choose an episode for Shorts, a reference edit, an edit from your clips, a photo meme, a style breakdown, music advice, or another delivery shape. Studio reads a local reference for up to eight seconds, then recommends length, pacing, captions, audio and shape from what it measured. A local reference edit adds a speech-setup question when clips have audio. Enter accepts a recommendation; paths and topics need your answer. ? explains, b goes back and q saves. The plan shows the default output folder, with an option to change it. The finish screen compares playable drafts by shape and recommends where to start. Continue with zing studio --resume <project>.

On a first install, choose small.en (~486 MB) for a faster English draft, large-v2 (~3.09 GB) for multilingual speech and better accuracy, or skip speech (0 MB). Enter recommends small.en for the shorter first download; you must then type yes to authorize it. Small.en can miss names, accents and quiet words, so review its captions. Large-v2 remains the zing study default. Studio verifies the download's SHA-256 and caches it under ZING_HOME. Skipping disables spoken captions and whole-line continuity; clips without safe speech timing may be excluded. The finish screen reports the model and download.

zing doctor and zing setup list cached speech models. To prepare one before editing, run zing doctor --speech-model small.en and confirm the download. See speech setup for unattended use and cache details.

See Studio for a real transcript, JSON answers and agent use. Downloads are off by default. Missing evidence, failed drafts and blocked captions remain visible. This is release candidate 1.0.0rc1. MIT licensed for this project's software and documentation; third-party terms are in NOTICE.md.

Five commands to a first result

From this source checkout in PowerShell, with Python 3.11+, uv and FFmpeg on PATH, make a local meme without downloading media or model weights. The first command installs Python dependencies. Use a fresh output folder on reruns.

uv sync --all-extras
New-Item -ItemType Directory -Force zing-workspace/readme-demo | Out-Null
ffmpeg -hide_banner -loglevel error -n -f lavfi -i "testsrc2=size=640x360:rate=30:duration=1" -frames:v 1 zing-workspace/readme-demo/frame.png
uv run --frozen zing meme check --text "ONE QUICK TEST" --text "TWELVE OUTPUT FILES"
uv run --frozen zing meme render --image zing-workspace/readme-demo/frame.png --text "ONE QUICK TEST" --text "TWELVE OUTPUT FILES" --aspect 16:9 --out zing-workspace/readme-demo/meme.png --offline

Open zing-workspace/readme-demo/meme.png. For a generated sample clip → rendered draft → color match → face-aware layout plan → cut-review PNG → animated meme, follow the tested PowerShell walkthrough. Run uv run --frozen zing doctor to diagnose missing prerequisites.

The connection guide covers agent setup and wheel installs. See developer setup for environment details.

For agent setup, see install from source. The directory submission kit is preparation only; its registry listings still need separate submission.

Give your agent the skill

Copy the entire skills/zing folder, including references/, into your agent's configured skill directory. For Claude Code, use ~/.claude/skills/zing/; the folder follows the Agent Skills format. Codex and other Agent Skills clients can use the same folder. The agent needs shell access to Zing on the media's machine, or a connected Zing MCP server. Copying the skill does not install Zing or expose local media to a remote agent.

To print MCP connection settings with this environment's real interpreter path:

uv run --frozen zing serve-mcp --print-config

Merge the applicable settings into your client and check zing_status. The skill covers command choice, source/output time mapping, job polling, cut verification, download consent and honest capability limits. It is a standalone folder; no Zing plugin marketplace or skill-install command is shipped here.

What you can do now

Task Current capability and documentation
Guided creative session Studio: questions, measured recommendations, confirmation and resume.
First local edit Quickstart: generated clip, explicit EDL, rendered draft and review artifacts.
Explain how a video was made Explain: zing explain reference.mp4 --out ./style-card; measured JSON, plain English, phone-readable PNG and a reusable recipe. Add --against draft.mp4 to compare.
Match a reference with your clips Match: zing match reference.mp4 --clips ./clips --out ./project --brief brief.json; resumable A/B/C rendering, full decode, PNGs and measured reports.
Find short cuts inside source clips Source map: confirmed extra boundaries for planning, with frame evidence and unchanged public study shots.
Study and direct footage Direct flow: measured cuts, words, OCR, raw keeper candidates and agent judgment; --transitions opts into transition detector v6.
Compare worked and under-performing Shorts Playbook: channel-relative cohorts, local measurements, blind Gemini notes and versioned contrast statistics.
Inventory a project Project inventory: stable asset IDs, hashes, probes, provenance and rescans.
Reuse saved references and remember a choice Uoink memory: verified local media, optional peer search, and durable draft-choice receipts.
Save creative intent Briefs: terminal interview, saved answers and evidence-based recommendations.
Match a color look Color: SDR LUT approximation, recipe and before/reference/after preview; separate apply step.
Measure a reference's captions Caption geometry: zing study --caption-geometry saves sampled polygons, text size, colors, motion tracks and coverage.
Choose a caption preset Punch, Box and Clean: fixed word slots, measured widths, and readable dialogue.
Style captions for delivery Captions: active-word boxes, before/after colors, and minimum phone-readable sizing.
Find the caption font Font candidates: zing fonts match ranks a pinned OFL/Apache library against measured caption glyphs; low scores are labeled substitutes.
Plan captions around faces Face-aware layout: sampled face tracks, UI masks, JSON geometry and debug sheet; attach the resulting layout to a v2 caption for rendering.
Fill portrait and square frames Framing: fit, static fill, or bounded subject-following crops with captions placed inside the visible picture.
Detect people and pets Vision models: optional OpenCV DNN models, explicit downloads, class evidence and fallback limits.
Understand audio Audio: beats where supported, attacks, role candidates and loudness; no automatic mix changes.
Verify a cut in one image Timeline inspection: frames, waveform, planned cuts and available timed text.
Make a thumbnail or cover Draw type over a chosen video frame with zing cover. Cover styles and sizes
Make memes Memes: photo folder + topic to concepts, a contact sheet, and selected stills (zing still); template metadata, text checks, and animated memes (zing meme render-video).
Turn a long episode into clips Clip factory: zing factory scouts moments, cuts them, finds visuals, draws graphics only from spoken facts, renders 9:16/1:1/16:9 in a style pack and writes post copy; your agent or Claude Code makes the judgment calls. Nothing is posted.
Run a niche channel Channels keeps source grants, factory defaults, approval gates, a local queue and post kits for you to upload.
Add motion graphics Motion graphics: title cards, lower thirds, callouts and progress bars in a v2 plan, rendered locally by HyperFrames with a pre-render fit check.
Render richer captions separately HyperFrames sidecar: local caption proof/adapter; standalone output is silent, and v2 rendering composites its captions with footage and audio.
Render v2 caption overlays HyperFrames v2 adapter: verified fonts, transparent ProRes captions, an FFmpeg composite helper and integration with zing render.
Describe a full edit as data Composition v2: the versioned plan contract (assets, clips, transitions, positioned captions, LUTs, audio roles) and StyleRecipe.
Render positioned word captions V2 rendering: verified assets and fonts, ASS positions/paths, word highlights and layout safety acceptance; unsupported v2 effects fail before rendering. V1 rendering stays compatible.
Plan three edits from a project Three draft plans: zing plan drafts uses a recipe, saved brief and clip studies; writes distinct Composition v2 plans (similar ones or a labeled out-of-timing alternative, never a duplicate, when few fit the reference timing) or a named shortage, with v1 EDL derivatives where supported.
Keep speech complete Continuity and ASR repair: clause boundaries, source order, bounded timing estimates, text roles and separate render/style status.
Improve vertical drafts CLIPQ2: close-shot gates, sampled caption bands, display-only stutter cleanup, and NASA re-plan instructions.
Choose and place music Music advice and editing: local track checks, beat-aware cuts, drop alignment and measured speech ducking.
Connect an AI or Uoink Connect: 51 MCP tools, prompt pack, local stdio and optional suite integration.
Check MCP compatibility MCP SDK 2: legacy and modern stdio, wire fixtures and regeneration.
Check installed capabilities Doctor: optional runtimes, verified models and remedies.
Install, develop and test Developer guide: setup, rendering paths and tests.
Prepare a release Releasing: candidate checks, Trusted Publishing and Ryan's approval steps.
Check evaluation thresholds Evaluation contracts: the study performance budget.
Diagnose URL acquisition Fetch troubleshooting: downloader and platform-access failures.
Check cross-product behavior Suite smoke CI: deterministic Uoink/Writer/Zing checks and their limits.
Check asset provenance Third-party notices: model pins, hashes and licenses.

The older profile, assemble, render and thumbnail commands remain available. The skill command reference maps the top-level commands. Match attaches per-clip LUTs and available face-layout plans to v2 compositions; standalone treatment artifacts still need explicit planning.

Optional dependencies

Core Zing is stdlib-only. FFmpeg/ffprobe are external binaries; install a build with libx264 and libass. In a checkout, uv sync --all-extras installs all Python extras below. To select features, use e.g. uv sync --extra memes --extra render. uv sync makes the environment match exactly what you name, so a later plain uv sync (or uv sync --frozen) removes every extra, including yt-dlp and the study models. Repeat --all-extras or your --extra list each time.

Extra Enables
study yt-dlp, scene detection, faster-whisper transcription and RapidOCR. Models and remote media may require separate downloads.
mcp MCP SDK server for connected agents.
render pysubs2 for ASS captions.
memes Pillow for still rendering and timeline inspection.
fonts Pillow and pinned headless OpenCV for font comparison; expanded font assets require an explicit fetch.
screen Optional macOS Quartz cursor recording (PyObjC); Windows uses stdlib.
layout Pinned headless OpenCV; YuNet still needs an explicit model fetch.
color NumPy for SDR matching and LUT work.
audio-ml Optional CED audio tags via sherpa-onnx; weights via zing doctor --audio-model ced-mini.
audio NumPy for audio analysis.
factory Study, Pillow, pinned headless OpenCV and NumPy for zing factory; rendering also needs Node, the factory sidecar and Chrome or Edge.
all All feature extras above.
dev pytest, MCP and render dependencies for development.

Use uv for the combined checkout environment: its exclusion avoids installing overlapping GUI and headless OpenCV wheels. Plain pip does not honor that setting. Kokoro runtime/model assets, OpenTimelineIO, and HyperFrames' Node/browser/font installation are separate; --all-extras does not supply them. Doctor reports feature-specific gaps. HyperFrames needs a source checkout for now. Its page documents the pinned setup.

Local work and network boundaries

Zing's local study and editing commands need no API key and open no listening network service. Zing fetches a video URL only when you supply one. Speech models come from Hugging Face only through the consented, SHA-256-pinned setup: choose one in zing studio, or run zing doctor --speech-model small.en (or large-v2) and confirm. Even the first zing study never downloads one; without a cached model it leaves the transcript empty and names that command (the default large-v2 model uses about 3.1 GB; select another cached model or a local folder with ZING_WHISPER_MODEL). RapidOCR may fetch missing weights too. Ask before an uncached study; a local input alone does not guarantee an offline run.

zing match uses local models only and requires --allow-download before acquiring a reference URL. Missing models remain warnings or planning shortages.

zing playbook notes sends public YouTube URLs and a blind rubric to Gemini using GEMINI_API_KEY. Playbook measurement uses local models and requires --download to fetch missing video; only aggregate patterns and original links are publication candidates.

Layout model downloads are explicit and hash-verified. Meme catalog searches and local-photo renders stay offline; requesting a template may fetch its blank on cache miss unless --offline is set. If you opt in to ElevenLabs voiceover, Zing sends the voiceover request there (ELEVENLABS_API_KEY; the default voice engine is local). Your AI client is yours to choose, cloud or local. MCP frame extraction returns image content to that client; timeline inspection returns a local path.

Keep source media unchanged and outputs under ignored zing-workspace/. The skill requires download consent and no uploads. Approximate color matches, sampled face safety and heuristic audio labels need review; Zing cannot recover the original font, LUT, transition preset or editor project from pixels.

The Uoink connection

Uoink holds saved references and context; Zing studies and edits media. Its agent kit uses the same portable skill-folder approach. Zing works standalone with local files.

Uoink 3.16.0 and later has a "Make a Short with Zing" button in its reader. It shows only when Zing is installed and opens the saved item with zing from-uoink. See Hand-off with Uoink.

Suite-aware commands may make loopback HTTP calls to a local Uoink helper for peer health, retained media, corpus notes and engagement. Zing never puts the Uoink token in a URL. A verified kept-media handoff can avoid a new download; if it is unusable, a study may refetch the handoff's source URL. The skill asks for download consent before that path. No draft is automatically published.

For inventory only, zing project init --reference uoink:123 --clips ./clips --out ./my-project records the reference; it does not resolve or study it. See Connect for the actual MCP handoff and explicit credentials.

Match reports separate playable output from style fidelity. Current director plans use cuts; sparse OCR, font substitutions, sampled face detection and color distribution comparisons remain approximations that need review.

Screen recordings: Screen-demo planning and cursor privacy. Narrated cutout stories with no source footage: Cutout stories.

About

Make my clips look like that video. Zing studies a video you like and cuts your clips into captioned drafts in that style, in 16:9, square and 9:16, and makes memes from local photos. Pre-alpha local CLI and MCP server; installs from source with Python, uv and FFmpeg.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages