Communitygithub.com

omni-video-studio

Create, edit, and quality-check animated videos in Remotion, including 2D stickman shorts, flat-vector explainers, two-host dialogues, animated diagrams, and 3D scenes. Use for narrated reels, Khmer or multilingual animations, or when fixing pacing, captions, or audio sync in an existing Remotion video.

What is omni-video-studio?

omni-video-studio is a Claude Code agent skill that create, edit, and quality-check animated videos in Remotion, including 2D stickman shorts, flat-vector explainers, two-host dialogues, animated diagrams, and 3D scenes. Use for narrated reels, Khmer or multilingual animations, or when fixing pacing, captions, or audio sync in an existing Remotion video.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/RosielReaksa/omni-video-studio/tree/HEAD

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Omni Video Studio

For local production use a Node.js release supported by the project (Node.js 20.19+ for a new project), npm, Python 3.10+, FFmpeg, and ffprobe. AI services are optional.

Choose the workflow

  • Review an existing video or skill. Inspect the supplied MP4, storyboard, and code when available. Identify issues with timestamps or scene names. Make the requested edits in the existing project. For editorial changes that reuse the same narration, measure against that narration. A new or revised spoken script needs the audio handoff below.
  • Build a narrated video. Follow both stages below. For a request to pick a topic, choose a reversible editorial direction that fits the audience. Otherwise follow the requested premise.
  • Build a silent animation. Use the visual and render checks below. Time the shots from the action or supplied music cues.

Choose one visual approach that fits what the viewer should understand. For a stickman reel or 2D cartoon, start with the 2D production guide. For data, maps, flat-vector graphics, line art, and stylized 3D, select a matching animation recipe. Default to 1080 × 1920 at 30 fps for shorts or 1920 × 1080 at 30 fps for landscape explainers. Use the requested platform, aspect, length, and language when specified.

Stage 1 — Script and storyboard

  1. Write a spoken script with an opening action or question, a clear cause-and-effect sequence, and a payoff that delivers on the opening. Use Script writing and tone for voice direction and language. Check factual claims, dates, and quantities against sources before recording. Record source links with the claims and mark any illustrative data or simulated reconstructions.
  2. Save UTF-8 storyboard.json and AUDIO_SCRIPT.txt in the episode project. A storyboard contains title, language, fps, aspect, style, and ordered scenes. Every scene needs a unique file-safe id and the exact spoken narration. Reserve full_audio for the combined recording. Add a beats array whose items specify the spoken anchor or action cue, the visible action or change, and the shot framing. Estimate pacing without locking any frame numbers.
  3. In AUDIO_SCRIPT.txt, include a voice direction header and exact copy-paste narration. For dialogue, use consistent [Speaker 1] and [Speaker 2] labels and give each a distinct voice direction. Put camera directions in the storyboard. Paste the full audio script directly in chat.
  4. Stop after the script and wait for the matching audio files or path. Skip the wait only if matching audio has already been supplied or the user explicitly said use edge-tts. General approval to use AI, a named editing model, or a request to finish now does not authorize voice synthesis. Do not make the final timeline, animate final scenes, or render before the narration is available. If the supplied recording differs from the approved wording, resolve the mismatch before locking cues.

Use a user recording or exported WAV/MP3 from any suitable provider. If using Edge TTS by explicit request, install edge-tts>=7.3.1,<8 and run the bundled generate_tts.py --storyboard storyboard.json --out public/audio --pad-sec 0 for a single narrator. For multiple hosts, synthesize each speaker's turns with that speaker's voice and assemble the dialogue from measured clips before applying the stem workflow below. Check pronunciation on supplied or approved voice output.

Stage 2 — Build from verified audio

  1. Run project commands from the Remotion project. Paths under this skill's scripts/ and references/ are relative to the installed skill folder. Reuse the existing project and lockfile. In a fresh Remotion project, pin Remotion and all @remotion/* packages to the same version. Add Three.js dependencies only if the chosen shots use them.

  2. Stage narration under public/audio as full_audio.wav (or another supported format) or one file per scene named after the scene ID. For a combined track, use provider timings, transcription alignment, or ffmpeg silence detection as a starting point and verify cue points by listening. In a multiscene combined recording, cuts.json lists the confirmed start of each scene after the first in seconds. Capture the phrase timings needed for captions and action beats as well.

    python "<skill-dir>/scripts/analyze_audio.py" --storyboard storyboard.json --audio-dir public/audio --cuts cuts.json --require-cuts
    

    Omit --cuts for a single scene or complete scene recordings. For per-scene recordings, set --pad-sec 0 unless the edit calls for deliberate holds. Use the generated manifest.json as the source of truth for fps and frame boundaries. Estimated scene cuts are usable for rough planning only. Refresh the manifest and cue timings whenever the source audio changes.

  3. For dialogue, play the master recording once and drive each character from its own time-aligned stem. If there is only a combined track with distinct turns, create a turn file with rows like {"speaker":"speaker1","startSec":0.2,"endSec":2.4}, reviewed against the actual audio. Run python "<skill-dir>/scripts/split_dialogue.py" public/audio/full_audio.wav turns.json --out public/audio/stems. Each stem stays silent outside its speaker's turns. For overlapping speech use genuinely isolated tracks, or request them if the mix cannot be separated reliably. See Talking character rigs for frame offsets and lip-sync.

  4. Build the scenes under src/scenes and assemble by scene ID and measured start frame. Animate deterministically from useCurrentFrame(). Follow spoken beats with a clear change of pose, prop, framing, or state. Put diagrams and labels on the same beat as their spoken meaning. Use visible lip-sync when a character is speaking on camera. An off-screen narrator can let the character demonstrate the idea silently.

  5. Set up captions, asset provenance, and the mix. Use sound effects selectively and keep the voice clear on a phone speaker. The bundled generate_sfx.py and generate_bgm.py are optional local sources. For stock assets, use fetch_media.py and verify the returned rights and attribution before incorporating the asset. Use original art or verify rights for commercial publication, including fonts, voice, music, and stock. Optional references cover visual diagrams, 3D rigs, and camera and transitions.

Quality checks and handoff

  1. Before the full render: Run the project's lint and TypeScript checks. Use npx remotion still src/index.ts MainVideo out/preview.png --frame=60 with your project's actual entry, composition ID, and frame. Render stills of the first deliberate pose, a mid-shot action, the busiest text/prop frame, and the payoff. For a new rig, handoff, or transition, also render a short motion preview around it. Inspect actual pixels at phone size, then zoom in for text shaping, contacts, and collisions. Fix any visual issue you find and recheck that part before spending time on the full render.
  2. After the render: Run the project's render command or npx remotion render src/index.ts MainVideo out/final-video.mp4 using its actual entry and composition ID. Verify codecs, dimensions, frame count, and audio presence with ffprobe. Make a contact sheet for the opening, one useful view from every scene, the longest caption or busiest shot, and the payoff. Use contact_sheet.py --at 0 2.3 10.2 with real episode timestamps. Review picture and sound around cuts, speaker handoffs, and the last line. Check for readable captions, stable character design, understandable action, accurate claims, voice clarity, and clipping. Fix failed checks and verify the rerender.
  3. Return the final MP4 and identify any check you could not perform. Include caption files or project sources when requested. When a user intends to publish or sell the work, keep the asset sources and relevant usage terms with the project.

Related Skills