Skill Tracer
Skills › HyperFrames › media-use › setup-providers.md

setup-providers.md

93 lines · skills/media-use/references/setup-providers.md at a595755

Open on GitHub
1# Setup and providers — install, auth, RAM ladders, forcing a provider
2

Setup and providers — install, auth, RAM ladders, forcing a provider

Raw lines 1 to 2
3## Setup — install the helper and sign in to HyperFrames
4
5Install the HeyGen CLI through its [verified release instructions](https://developers.heygen.com/cli), then run:
6
7```bash
8heygen update # requires v0.3.0+
9npx hyperframes auth login # dedicated HyperFrames OAuth session
10```
12HyperFrames owns the OAuth session in `~/.hyperframes/credentials` and supplies an access-only temporary credential to the HeyGen helper. Signing into `heygen` separately does not configure this path. The server decides subscription eligibility, free allowances and charges; an explicit API key uses API billing. **media-use requires heygen >= v0.3.0 uniformly.** Verify setup with:
14```bash
15npx hyperframes media-use resolve --doctor
16```

Setup — install the helper and sign in to HyperFrames

Install the HeyGen CLI through its verified release instructions, then run:

heygen update                  # requires v0.3.0+
npx hyperframes auth login     # dedicated HyperFrames OAuth session

HyperFrames owns the OAuth session in ~/.hyperframes/credentials and supplies an access-only temporary credential to the HeyGen helper. Signing into heygen separately does not configure this path. The server decides subscription eligibility, free allowances and charges; an explicit API key uses API billing. media-use requires heygen >= v0.3.0 uniformly. Verify setup with:

npx hyperframes media-use resolve --doctor
Raw lines 3 to 17
18## Host HeyGen access (no CLI sign-in)
20A host app can give media-use HeyGen access of its own by setting
21`HEYGEN_API_BASE` (its gateway), `HEYGEN_API_KEY` (the token that gateway
22accepts) and, for a loopback gateway, `HEYGEN_ALLOW_HTTP=1`. The gateway adds
23the host's key, so it never enters the agent's environment, and every
24call is charged to that key's API credits. The `heygen` CLI honours the same
25variables, so `resolve` (bgm/sfx/image/icon/voice/avatar-video) and the audio
26engine's TTS all go through the host. With host access, skip CLI install and
27sign-in, prefer the host's own HeyGen tools where it has them, never fall back
28to a local or third-party generator on your own, and relay a refused call's
29message (for example "add a key in Settings > Account") as written.

Host HeyGen access (no CLI sign-in)

A host app can give media-use HeyGen access of its own by setting HEYGEN_API_BASE (its gateway), HEYGEN_API_KEY (the token that gateway accepts) and, for a loopback gateway, HEYGEN_ALLOW_HTTP=1. The gateway adds the host's key, so it never enters the agent's environment, and every call is charged to that key's API credits. The heygen CLI honours the same variables, so resolve (bgm/sfx/image/icon/voice/avatar-video) and the audio engine's TTS all go through the host. With host access, skip CLI install and sign-in, prefer the host's own HeyGen tools where it has them, never fall back to a local or third-party generator on your own, and relay a refused call's message (for example "add a key in Settings > Account") as written.

Raw lines 18 to 30
31## Providers
33HyperFrames selects the credential for its HeyGen media helpers. Install
34`heygen` and sign in with `hyperframes auth login` before resolving
35bgm/sfx/image/icon/voice/avatar-video; music and sound effects from
36a host app's own tools need none of it. Local tools are opt-in
37alternatives where they exist: mflux for image, Kokoro for voice, Parakeet for
38transcription, and LTX for local video generation. `resolve` spec-checks
39AVAILABLE RAM for those local ladders inside the CLI (the image tiers are listed
40in `references/operations.md`).
42| Type | Provider / path |
43| --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
44| bgm | heygen catalog HyperFrames-authenticated path; a host app's own music tools come first |
45| sfx | Openverse (CC0 / CC BY, no account), bundled library offline; a host app's own sound tools come first |
46| image | heygen search HyperFrames-authenticated path; optional local mflux; codex `image_gen` upsell |
47| voice | heygen tts HyperFrames-authenticated path; optional local **Kokoro** (free, on-device) |
48| icon | heygen asset search HyperFrames-authenticated path |
49| logo | theSVG (thesvg.org), then GitHub org avatar, then domain favicon (all free) |
50| grade/lut | local core-preset map, params/CDN look index, deterministic `buildCube` fallback |
51| video | heygen avatar video HyperFrames-authenticated path (sign-in nudge on auth failure); optional local LTX (`videogen` ladder). Image-to-video / photo-avatar / dub stay manual `heygen` recipes |
53Local Kokoro (voice), mflux (image), and LTX (video) run on-device (free,
54private, offline once cached). The `codex` CLI remains the ChatGPT-sub image
55upsell. Paid calls follow the Credits rule in `SKILL.md`: no cost volunteered,
56and a question only when a step won't fit.
58To force a specific generator (e.g. a user says "make this image with codex"),
59pass `--provider codex`: it pins resolution to that provider and skips the
60default provider. See `references/operations.md` for the RAM ladders and
61provider recipes.
63`--local-only` skips every network provider, including HeyGen,
64leaving the project + global cache and any installed local provider. For
65HeyGen-only types, that means no fresh resolve.

Providers

HyperFrames selects the credential for its HeyGen media helpers. Install heygen and sign in with hyperframes auth login before resolving bgm/sfx/image/icon/voice/avatar-video; music and sound effects from a host app's own tools need none of it. Local tools are opt-in alternatives where they exist: mflux for image, Kokoro for voice, Parakeet for transcription, and LTX for local video generation. resolve spec-checks AVAILABLE RAM for those local ladders inside the CLI (the image tiers are listed in references/operations.md).

TypeProvider / path
bgmheygen catalog HyperFrames-authenticated path; a host app's own music tools come first
sfxOpenverse (CC0 / CC BY, no account), bundled library offline; a host app's own sound tools come first
imageheygen search HyperFrames-authenticated path; optional local mflux; codex image_gen upsell
voiceheygen tts HyperFrames-authenticated path; optional local Kokoro (free, on-device)
iconheygen asset search HyperFrames-authenticated path
logotheSVG (thesvg.org), then GitHub org avatar, then domain favicon (all free)
grade/lutlocal core-preset map, params/CDN look index, deterministic buildCube fallback
videoheygen avatar video HyperFrames-authenticated path (sign-in nudge on auth failure); optional local LTX (videogen ladder). Image-to-video / photo-avatar / dub stay manual heygen recipes

Local Kokoro (voice), mflux (image), and LTX (video) run on-device (free, private, offline once cached). The codex CLI remains the ChatGPT-sub image upsell. Paid calls follow the Credits rule in SKILL.md: no cost volunteered, and a question only when a step won't fit.

To force a specific generator (e.g. a user says "make this image with codex"), pass --provider codex: it pins resolution to that provider and skips the default provider. See references/operations.md for the RAM ladders and provider recipes.

--local-only skips every network provider, including HeyGen, leaving the project + global cache and any installed local provider. For HeyGen-only types, that means no fresh resolve.

Raw lines 31 to 66
67## CLI tools used (what to run, and how to enable each)
69`resolve` auto-cascades; each provider shells one CLI. HeyGen is the
70HyperFrames-authenticated path for bgm/image/icon catalog search, TTS (voice), and avatar
71video, so those capabilities need `heygen` installed and a HyperFrames login. Local
72tools are OPT-IN alternatives where they exist; install one to unlock its free,
73private, on-device path instead of or ahead of HeyGen for that type. Only
74`ffmpeg`/`ffprobe` are strictly required for the tool to run at all.
76| Tool | Serves | Install |
77| ------------------ | ------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
78| `ffmpeg`/`ffprobe` | adopt probing, smart-grade signalstats, cut, duck bake, loudnorm | system package (`brew install ffmpeg`) |
79| `heygen` | catalog (bgm/image/icon) + TTS (voice) + avatar video — the HyperFrames-authenticated path | install through [verified HeyGen release instructions](https://developers.heygen.com/cli), then `npx hyperframes auth login` (helper needs >= v0.3.0) |
80| `mflux-generate` | local image gen (FLUX), best-for-RAM | `uv venv ~/.venvs/mflux && VIRTUAL_ENV=~/.venvs/mflux uv pip install mflux==0.9.6` |
81| `codex` | image gen upsell (ChatGPT sub) | Codex CLI, logged in via ChatGPT (owns its own auth) |
82| `parakeet-mlx` | local transcription (default ASR, best) on Apple Silicon | `uv venv ~/.venvs/parakeet && VIRTUAL_ENV=~/.venvs/parakeet uv pip install parakeet-mlx` |
83| `ltx-2-mlx` | local video gen | `git clone https://github.com/dgrauet/ltx-2-mlx && cd ltx-2-mlx && uv sync --all-extras` |
84| `npx hyperframes` | Kokoro TTS (voice), Parakeet or whisper.cpp (transcribe), remove-background | via the hyperframes CLI; Kokoro needs Python 3.10+ with `pip install kokoro-onnx soundfile`; Parakeet on macOS, Windows and glibc 2.32+ Linux: `npx hyperframes models install parakeet`; whisper.cpp is built on first use (Homebrew on macOS, else git+cmake) |
86The RAM-graded local-model shortlist + exact per-tier install/invoke lives in
87the CLI's bundled media-use engine, not in the standalone skill. Without a tool on PATH, its provider
88prints a one-line diagnostic to stderr and resolve falls through where another
89provider exists (e.g. no `mflux` -> codex image upsell; no `parakeet-mlx` -> whisper.cpp).
91`heygen asset search` is a pre-launch command hidden from `heygen --help`, but it
92runs; providers tag requests with the allowlisted `X-HeyGen-Client-Source` header
93(v0.3.0+).

CLI tools used (what to run, and how to enable each)

resolve auto-cascades; each provider shells one CLI. HeyGen is the HyperFrames-authenticated path for bgm/image/icon catalog search, TTS (voice), and avatar video, so those capabilities need heygen installed and a HyperFrames login. Local tools are OPT-IN alternatives where they exist; install one to unlock its free, private, on-device path instead of or ahead of HeyGen for that type. Only ffmpeg/ffprobe are strictly required for the tool to run at all.

ToolServesInstall
ffmpeg/ffprobeadopt probing, smart-grade signalstats, cut, duck bake, loudnormsystem package (brew install ffmpeg)
heygencatalog (bgm/image/icon) + TTS (voice) + avatar video — the HyperFrames-authenticated pathinstall through verified HeyGen release instructions, then npx hyperframes auth login (helper needs >= v0.3.0)
mflux-generatelocal image gen (FLUX), best-for-RAMuv venv ~/.venvs/mflux && VIRTUAL_ENV=~/.venvs/mflux uv pip install mflux==0.9.6
codeximage gen upsell (ChatGPT sub)Codex CLI, logged in via ChatGPT (owns its own auth)
parakeet-mlxlocal transcription (default ASR, best) on Apple Siliconuv venv ~/.venvs/parakeet && VIRTUAL_ENV=~/.venvs/parakeet uv pip install parakeet-mlx
ltx-2-mlxlocal video gengit clone https://github.com/dgrauet/ltx-2-mlx && cd ltx-2-mlx && uv sync --all-extras
npx hyperframesKokoro TTS (voice), Parakeet or whisper.cpp (transcribe), remove-backgroundvia the hyperframes CLI; Kokoro needs Python 3.10+ with pip install kokoro-onnx soundfile; Parakeet on macOS, Windows and glibc 2.32+ Linux: npx hyperframes models install parakeet; whisper.cpp is built on first use (Homebrew on macOS, else git+cmake)

The RAM-graded local-model shortlist + exact per-tier install/invoke lives in the CLI's bundled media-use engine, not in the standalone skill. Without a tool on PATH, its provider prints a one-line diagnostic to stderr and resolve falls through where another provider exists (e.g. no mflux -> codex image upsell; no parakeet-mlx -> whisper.cpp).

heygen asset search is a pre-launch command hidden from heygen --help, but it runs; providers tag requests with the allowlisted X-HeyGen-Client-Source header (v0.3.0+).

Raw lines 67 to 93