@contractspec/lib.video-gen
v3.0.10
Published
**AI-powered video generation with Remotion: compositions, rendering, and design integration.**
Readme
@contractspec/lib.video-gen
AI-powered video generation with Remotion: compositions, rendering, and design integration.
What It Provides
- Layer: lib.
- Consumers: bundles, video-studio app.
src/docs/contains docblocks and documentation-facing exports.- Related ContractSpec packages include
@contractspec/lib.ai-providers,@contractspec/lib.content-gen,@contractspec/lib.contracts-integrations,@contractspec/lib.contracts-spec,@contractspec/lib.design-system,@contractspec/lib.image-gen, ... src/docs/contains docblocks and documentation-facing exports.
Installation
npm install @contractspec/lib.video-gen
or
bun add @contractspec/lib.video-gen
Usage
Import the root entrypoint from @contractspec/lib.video-gen, or choose a documented subpath when you only need one part of the package surface.
Architecture
src/compositionsis part of the package's public or composition surface.src/designis part of the package's public or composition surface.src/docs/contains docblocks and documentation-facing exports.src/generatorsis part of the package's public or composition surface.src/i18nis part of the package's public or composition surface.src/index.tsis the root public barrel and package entrypoint.src/playeris part of the package's public or composition surface.src/types.tsis shared public type definitions.
Public Entry Points
- Export
.resolves through./src/index.ts. - Export
./compositionsresolves through./src/compositions/index.ts. - Export
./compositions/api-overviewresolves through./src/compositions/api-overview.tsx. - Export
./compositions/primitivesresolves through./src/compositions/primitives/index.ts. - Export
./compositions/primitives/animated-textresolves through./src/compositions/primitives/animated-text.tsx. - Export
./compositions/primitives/brand-frameresolves through./src/compositions/primitives/brand-frame.tsx. - Export
./compositions/primitives/code-blockresolves through./src/compositions/primitives/code-block.tsx. - Export
./compositions/primitives/progress-barresolves through./src/compositions/primitives/progress-bar.tsx. - Export
./compositions/primitives/terminalresolves through./src/compositions/primitives/terminal.tsx. - Export
./compositions/primitives/transitionresolves through./src/compositions/primitives/transition.tsx. - The package publishes 42 total export subpaths; keep docs aligned with
package.json.
Local Commands
bun run dev— contractspec-bun-build devbun run build— bun run prebuild && bun run build:bundle && bun run build:typesbun run test— bun test --pass-with-no-testsbun run lint— bun lint:fixbun run lint:check— biome check .bun run lint:fix— biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .bun run typecheck— tsc --noEmitbun run publish:pkg— bun publish --tolerate-republish --ignore-scripts --verbosebun run publish:pkg:canary— bun publish:pkg --tag canarybun run clean— rimraf dist .turbobun run build:bundle— contractspec-bun-build transpilebun run build:types— contractspec-bun-build typesbun run prebuild— contractspec-bun-build prebuild
Recent Updates
- Replace eslint+prettier by biomejs to optimize speed.
- Resolve lint, build, and type errors across nine packages.
- Add first-class transport, auth, versioning, and BYOK support across all integrations.
- Add AI provider ranking system with ranking-driven model selection.
- Resolve lint/test regressions after voice capability updates.
- Add @contractspec/lib.voice package for TTS, STT, and conversational voice.
Notes
- Remotion composition API is version-sensitive — pin and test upgrades carefully.
- Renderer interface is the adapter boundary — do not leak Remotion internals.
- Depends on voice, content-gen, image-gen, design-system — coordinate cross-lib changes.
