Skip to main content

Module engine

Module engine 

Source
Expand description

One trait per task, many engines per trait.

An engine is a named, swappable implementation of a task — exactly the role a codec plays in ffmpeg. Engines are registered in an crate::registry::EngineRegistry and selected by name.

Structs§

AsrOptions
EngineInfo
Metadata every engine exposes for discovery (ffai engines).
OcrOptions
TtsOptions
VlmOptions

Enums§

EngineStatus
Honesty marker shown in ffai engines — stubs are visible, not hidden.
Task
The tasks FFai knows about (the “stream types” of the toolkit).

Traits§

AsrEngine
Speech → text (Mercury).
OcrEngine
Image → text (Carmenta).
TtsEngine
Text → speech (Mercury).
VlmEngine
Image/video → description (Argus).