@lacspace/audiomix
Mix a newsroom voiceover with a music bed: sidechain-duck the music under the voice, place SFX stings, and normalize to -14 LUFS — an ffmpeg command builder plus a licensed-music library loader (local tracks with a licence sidecar) AND a free Creative-Commons music finder over the Jamendo API (bring-your-own client_id, orderable by popularity/'trending', licence + attribution per track), plus a deterministic tempo/beat detector for beat-synced cuts. Safe to bake into API uploads — unlike platform 'trending sounds', which are Content-ID-claimed. Bring your own ffmpeg; zero third-party dependencies.
npm i @lacspace/audiomixKeywords
More in Creative Kit
Search and download free-licence stock video clips and photos from the official Pexels and Pixabay APIs, normalized to one asset shape with licence + a one-line attribution each. Pooled bring-your-own keys, orientation/resolution/duration/safe-search filters, a heuristic news-safe flag, per-query cache. Never scrapes news/social/image-search. Zero third-party deps, bring-your-own-fetch.
@lacspace/montageCompile a list of clips and stills into a platform-ready social video: an ffmpeg timeline builder with per-platform presets and safe areas (Reels/TikTok/Shorts 9:16, FB 4:5 and 1:1, YouTube 16:9), Ken Burns on stills, xfade transitions (crossfade/slide/zoom-punch/whip), Devanagari-shaped kinetic captions, lower-thirds, logo bug and progress bar. Pure deterministic command builder plus an optional low-CPU runner (nice + thread cap + ulimit -c 0). Bring your own ffmpeg; zero third-party dependencies, isomorphic. 1.1 adds plan() — a render-time estimator with a cost breakdown and cheaper alternatives — a fast quality mode (ultrafast, 24 fps, lighter Ken Burns), 720p renditions reused across cuts, libass ASS captions (correct Devanagari shaping via @lacspace/captionsync), and one-process multi-cut: en/ne/square/reels outputs from a single decode.
@lacspace/newscardGenerate branded news image posts — headline, quote, stat, breaking-banner, data-table and carousel cards (IG portrait 1080×1350, square, OG 1200×630, story), bilingual en/ne with correct Devanagari shaping (Pango/HarfBuzz via sharp — conjuncts and matras render right), to PNG/WebP. Pure deterministic layout engine + sharp renderer. Includes a safety-gated AI image-prompt helper that always labels 'AI illustration' and refuses photoreal depictions of real people or events.
@lacspace/postplanChoose a post format (video / single image / carousel / text) per story and platform, so a feed like Facebook gets a natural mix instead of all videos. Rule-based and deterministic — platform fit, what the story can produce, a breaking-news nudge, and a don't-repeat-the-last-few mix penalty — with an optional cheap AI tie-break (injected llm) only when two formats are nearly tied. Zero deps, isomorphic.