codex-router-media
MiniMax media generation (codex-router)
The router stores the operator's MiniMax Token Plan API key. The media
command resolves that key itself — you never see or handle the credential.
Each call spends the operator's paid MiniMax quota, so generate only what the
user explicitly asked for, once, and reuse the downloaded file for retries of
later steps.
How to call it
Run the router CLI through the shell tool. Locate it once per session: the
install root is the current.sourceRoot field of
~/.codex/codex-router/install-manifest.json (%USERPROFILE% on Windows),
and the command is <sourceRoot>/bin/media (<sourceRoot>\model-router.ps1 codex media on Windows). Quote the path; it may contain spaces. If the
manifest is missing, try ~/.local/share/codex-router/bin/media.
Always pass --json so the result is machine-readable, and --out so the
file lands where the user wants it (default: the current directory).