getProviders (lib/registry.mjs)

petergyang/hyperframes · skills/media-use/scripts/lib/registry.mjs · javascript · Apache-2.0
voice

Provider registry — the v2 contract. Each media type maps to an ORDERED list of provider entries. Providers are tried in order; the first to return a non-null result wins, which keeps resolution deterministic (same request -> same provider -> same file -> reproducible renders). h

// Source: https://github.com/petergyang/hyperframes | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
// Provider registry — the v2 contract.
//
// Each media type maps to an ORDERED list of provider entries. Providers are
// tried in order; the first to return a non-null result wins, which keeps
// resolution deterministic (same request -> same provider -> same file ->
// reproducible renders). heygen-CLI is always first for the types it serves.
//
// An entry exposes any of three capability methods — search / generate /
// process — plus { name }. media-use holds no keys; each external tool owns its
// own auth. Providers, by type:
//   - heygen CLI: catalog + TTS, first for ever

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key