Skip to main content

Function: registerVideoProviderFactory()

registerVideoProviderFactory(providerId, factory): void

Defined in: packages/agentos/src/core/video/index.ts:78

Register a video provider factory for a given provider ID.

Use this to add third-party or custom video providers at runtime. Built-in providers (runway, replicate, fal) are pre-registered.

Parameters

providerId

string

Unique identifier for the provider (lowercased for matching).

factory

VideoProviderFactory

Factory function that creates a new uninitialised provider instance.

Returns

void