Skip to main content

Interface: VideoProviderOptionBag

Defined in: packages/agentos/src/io/media/video/types.ts:49

Provider-specific model inputs for a video request.

Keyed by provider id ({ fal: {...}, replicate: {...} }), each provider in a fallback chain receives only its own entry; the ids of providers added with registerVideoProviderFactory() key a bag as the built-in ids do. A bag with no provider-id key goes whole to fal, Replicate and Gemini. The entries add model inputs and never replace a field the request sets (the prompt, the image, the duration, the resolution and the like): to send a model-specific value for such a field, leave the typed field unset and put the value here. The Runway provider sends no provider options.

Indexable​

[providerId: string]: unknown

Entries for other registered providers.

Properties​

fal?​

optional fal: Record<string, unknown>

Defined in: packages/agentos/src/io/media/video/types.ts:51

Model inputs for fal, merged into the queue submit body.


gemini?​

optional gemini: Record<string, unknown>

Defined in: packages/agentos/src/io/media/video/types.ts:69

Fields for the Gemini Interactions API, merged into the request body; response_format and generation_config objects are merged key by key. background: true is refused: the provider does not poll a background interaction.


replicate?​

optional replicate: Record<string, unknown>

Defined in: packages/agentos/src/io/media/video/types.ts:57

Model inputs for Replicate, merged into the prediction's input. Its imageInputName is not sent: it names the input the source image goes under (for a bare version id, which names no model family).


runway?​

optional runway: Record<string, unknown>

Defined in: packages/agentos/src/io/media/video/types.ts:62

Reserved for Runway. The Runway provider sends no provider options, so an entry here marks the bag as keyed by provider and is not sent.