grok-video-edit
Apply AI-generated visual edits to video using xAI / Grok — change object colors, add effects (smoke, fire, sparkles), restyle scenes, or alter what's in a clip ("make the sunglasses red", "add smoke from the gun", "make it sparkly"). Use whenever an edit can't be done deterministically with ffmpeg/overlays and needs generative reimagining of the footage. Covers trimming, chunking, audio mux, and seamless reassembly.
Target: Design & content creation. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- Grok (xAI) video editing
- Golden rule: always trim the target region first
- Chunking & seams
- Effects with aftermath — don't pop at the seam
- Character / consistency drift
- Prompt tips
- Parallelize independent edits
- Audio
Full Production Studio note: this skill drives the toolkit in agamm/video-agent. Clone that repo and run your agent inside it for the scripts/paths below to work; the guidance itself is usable anywhere. Use Grok for edits that require generative changes to the footage itself — recoloring objects, adding physical effects (smoke, fire, glow), restyling. For compositing a known asset (logo, text, PNG/animated graphic) onto video, use the video-overlay skill instead — it's deterministic and cheaper. Requires XAIAPIKEY in .env. grok-edit fullvideo.mp4 chunks the entire video even with --splice-into. Never send the full video. Workflow: 1. Find exact boundaries. Run detect with --step 1 --cell-w 384 inside the rough window to locate the frame-exact first/last frames of the subject. Trim to those exact boundaries so Grok doesn't reimagine irrelevant context. 2. Edit the segment: 3. Mux original audio back (Grok outputs video only, and drops 0.2–0.3s of frames): Always -shortest — without it the audio outlasts the shorter video track and everything downstream desyncs. 4. Final join with filtercomplex concat (re-encodes — kills keyframe freeze + drift): Do NOT use stream-copy concat after a
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- alfaris/full-production-studio
- Source file
- skills/grok-video-edit/SKILL.md
- Fixed revision
- 223f74cc6dceb4c16858c4d58b5d066e7c5eeb83
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: alfaris/full-production-studio · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T12:01:33.862Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.