forge-multimodal-router
Purpose
The federation supports four modalities (vision, audio, video, somatic) across 8 agents. Each modality has multiple functions (recognize, generate, edit, clone, analyze) and multiple engines (image gen, video gen, TTS, ASR, voice clone, music). Without a single routing skill, decisions are scattered across ~18 skills (token-plan-image, token-plan-speech, token-plan-video, AAA-tts-engine-catalog, minimax-image-gen, creative/minimax-cli, etc.) and 3 knowledge graphs.
This skill is the single ingestion entry point for any multimodal routing question. It does NOT duplicate model identity — it references the SOT.
The authority doctrine (DO NOT VIOLATE)
| Layer |
File |
Owner |
| SOT (single source of truth) |
/root/.config/federation-models.json |
AAA/FED (Kimi-code/FI-008 writes) |
| Reader |
/root/AAA/scripts/fed_router.py (FED_SOT_PATH) → :7074 |
FED |
| Live health/balance |
token_bank.db via :7074 (HTTP 402/200 probes) |
FED runtime |
| Tombstone |
/root/AAA/federation/fed_signatures.yaml — DEAD 2026-08-17 |
F13 confirmed: do not resurrect |
Rule: Model identity lives ONLY in SOT. Skill/tool surface (Hermes config, OpenCode config, etc.) is a CONSUMER, not authority. Next model release = 1 SOT edit (RCR — Release Change Ratio).
Picker sync rule: AAA/FED has authority to write SOT (sqlite + json) but does NOT auto-write to picker configs (Kimi/Codex/Qwen/Claude/Go/Grok CLI). F13 holds the pen. Manual alignment audit is correct path.
The routing decision algorithm
Given a multimodal request, ask in order:
- What modality? (vision / audio / video / somatic)
- What direction? (input = perception / output = generation)
- What function? (recognize / generate / edit / clone / analyze / transform)
- What constraints? (real-time? free quota required? Malaysian voice? identity-preserving? i-ARIF voice?)
Then resolve:
resolution = lookup_sot(
modality, direction, function, constraints
)
# SOT returns: { provider_id, model_key, endpoint_url, params_override }
If SOT doesn't have a matching entry → STOP. Do NOT fallback to agent card or pickers. Either:
- Check
arifos-federation-provider-multimodal-discovery skill to probe the provider
- Or forge an ephemeral skill for the new routing case
Routing rules (read from SOT, this table is a navigation aid ONLY)
Vision
| Request |
SOT key |
Engine |
Notes |
| Image understanding (real-time, Telegram) |
dashscope/qwen-vl-max |
PRMT |
Single failure domain, primary |
| Image understanding (fallback) |
dashscope/qwen3-vl-plus |
PRMT |
When qwen-vl-max fails |
| OCR (multi-script) |
dashscope/qwen3-omni-flash |
OCR cascade |
Tier 1 of AAA-OCR |
| OCR (Latin) |
local/tesseract-5.5 |
Local |
Free fallback |
| OCR (Chinese) |
local/rapidocr-3.9 |
Local |
Free fallback |
| Document extraction |
dashscope/qwen3-vl-ocr |
VLM specialist |
See FORGE-document-intelligence |
| Image understanding (subscription-first) |
mimo/mimo-v2.5 |
MiMo Token Plan |
image_url ≤50MB URL/b64; SOT rule vision_primary_mimo_subscribed p12; verified live 2026-09-07 |
| Face ID (deterministic) |
local/onnx-insightface-buffalo_l-512dim |
Local |
READ-ONLY, see /root/.agents/skills/deterministic-face-id/SKILL.md |
| Image generation (Gemini NB2 Workhorse) |
gemini/gemini-3.1-flash-image |
Nano Banana 2 |
512px–4K, 14 refs, video-in, Image Search Grounding |
| Image generation (Gemini NB2 Lite) |
gemini/gemini-3.1-flash-lite-image |
NB2 Lite |
Fastest & lowest cost Gemini image gen |
| Image generation (Gemini NB Pro) |
gemini/gemini-3-pro-image |
NB Pro |
Thinking mode, 4K, interleaved text+image, style refs |
| Image generation (T2I latest DashScope) |
dashscope/qwen-image-3.0-pro |
DashScope PAYG |
Free quota eligible |
| Image generation (T2I fast) |
dashscope/qwen-image-3.0 |
DashScope PAYG |
Newest Aug 2026 |
| Image generation (T2I mass) |
dashscope/z-image-turbo |
DashScope PAYG |
8-step inference |
| Image editing (identity-preserving NB2) |
gemini/gemini-3.1-flash-image |
NB2 |
6 Iron Rules, multi-turn conversational |
| Image editing (fallback) |
dashscope/qwen-image-edit-max |
DashScope PAYG |
LoRA support |
| Image generation (Malay/SEA) |
minimax/image-01 |
MiniMax MCP |
Default |
| Image generation (Grok Imagine T2I) |
harness grok-build/image_gen |
spawn grok-multimodal.sh image |
Native Grok Build. Not FED. |
| Image editing (Grok Imagine) |
harness grok-build/image_edit |
spawn grok-multimodal.sh edit REF |
Reference-first for named people |
Audio
| Request |
SOT key |
Engine |
Notes |
| Audio understanding (in-model, subscription) |
mimo/mimo-v2.5 |
MiMo Token Plan |
input_audio; MP3/WAV/FLAC/M4A/OGG; ~6.25 tok/s; verified 2026-09-07 |
| ASR (subscription-first) |
mimo/mimo-v2.5-asr |
MiMo Token Plan |
wav/mp3 b64≤10MB; lang auto/zh/en (no ms); ~$0.074/audio-hr equiv |
| ASR (short audio <5min) |
dashscope/qwen-audio-3.0-asr-flash |
DashScope PAYG |
Default |
| ASR (long offline file) |
dashscope/qwen-audio-3.0-asr-flash-filetrans |
DashScope PAYG |
Meetings, calls |
| ASR (real-time stream) |
dashscope/qwen-audio-3.0-asr-flash-streaming |
DashScope PAYG |
Live meetings |
| ASR (Penang-Besi dialect) |
dashscope/qwen-audio-3.0-asr-flash + custom dict |
DashScope PAYG |
See AAA-asr-glm-ingest |
| ASR (default) |
local/faster-whisper-base |
Local |
Free fallback |
| TTS (free window default) |
mimo/mimo-v2.5-tts |
MiMo Token Plan |
0 credits limited-time; via chat/completions audio field; verified live 2026-09-07 |
| TTS (default Malaysian) |
edge-tts/ms-MY-YasminNeural |
Edge (free) |
No quota |
| TTS (multilingual) |
dashscope/qwen-audio-3.0-tts-flash |
DashScope PAYG |
Free quota eligible |
| TTS (realtime full-duplex) |
dashscope/qwen-audio-3.0-realtime-plus |
DashScope PAYG |
Aug 2026 |
| TTS (sovereign i-ARIF) |
minimax/speech-2.8-hd |
MiniMax |
voice_id i-ARIF-20260819T084602 |
| TTS (Penang-Besi dialect) |
mimo/mimo-v2.5-tts-voicedesign |
MiMo Token Plan |
See nusantara-acoustic-infrastructure |
| TTS (voice clone) |
dashscope/voice-enrollment |
DashScope PAYG |
+ qwen-voice-design |
| DSP analysis |
local/librosa |
Local |
See media/audio-analysis |
| Live translate (realtime) |
dashscope/qwen3.5-livetranslate-flash-realtime |
DashScope PAYG |
Aug 2026 |
Video
| Request |
SOT key |
Engine |
Notes |
| Video generation & editing (Omni default) |
gemini/gemini-omni-flash |
Gemini Omni Flash |
⭐ DEFAULT video model: multi-turn conversational editing & omnimodal reasoning |
| Video generation (Cinematic + Native Audio) |
gemini/veo-3.1-generate-preview |
Veo 3.1 |
Native dialogue/SFX/ambient, 720p/1080p/4k, first/last frame, up to 3 refs |
| Video extension (Temporal sequence) |
gemini/veo-3.1-generate-preview |
Veo 3.1 |
Extend Veo video by 7s (up to 20x, max 148s, 720p) |
| Video generation (Veo Fast) |
gemini/veo-3.1-fast-generate-preview |
Veo 3.1 Fast |
Fast video gen with native audio |
| Video generation (Veo Lite) |
gemini/veo-3.1-lite-generate-preview |
Veo 3.1 Lite |
Lightweight video gen (720p/1080p) |
| Video generation (T2V DashScope newest) |
dashscope/wan3.0-video |
DashScope PAYG |
Aug 2026 |
| Video generation (T2V standard) |
dashscope/wan2.7-t2v-2026-06-12 |
DashScope PAYG |
Jul 2026 |
| Video generation (I2V) |
dashscope/wan2.7-i2v-2026-04-25 |
DashScope PAYG |
Preserve subject/style |
| Video generation (R2V) |
dashscope/wan2.7-r2v-2026-06-12 |
DashScope PAYG |
Up to 9 refs |
| Video generation (R2V alternative) |
dashscope/happyhorse-1.1-r2v |
DashScope PAYG |
Realistic dynamic |
| Video generation (Grok Imagine I2V) |
harness grok-build/image_to_video |
spawn grok-multimodal.sh video REF |
6s/10s · 720p. Native Grok Build. |
| Video editing (DashScope) |
dashscope/wan2.7-videoedit |
DashScope PAYG |
Local/global edits |
| Video understanding (subscription) |
mimo/mimo-v2.5 |
MiMo Token Plan |
video_url + fps 0.1–10 + media_resolution; ≤300MB URL / 50MB b64; MP4/MOV/AVI/WMV; only subscription video-understanding rung; verified 2026-09-07 |
| Last-frame analysis |
dashscope/qwen-vl-max (re-use) |
PRMT |
No temporal context |
| Video INPUT (continuous) |
gemini/gemini-omni-flash |
Gemini Omni Flash |
Native video input reasoning via Interactions API |
| A-V cross-modal fusion |
gemini/gemini-omni-flash |
Gemini Omni Flash |
Text + Image + Audio + Video unified input |
Somatic (Music Intelligence)
| Request |
SOT key |
Engine |
Notes |
| Music generation (governed) |
minimax/music-2.6 |
MiniMax T2A Music |
Per AAA-somatic-emd-pipeline |
| Music generation (newest) |
minimax/music-3.0 |
MiniMax T2A Music |
|
| Music scoring (somatic) |
federation/somatic-scorer |
WELL + scoring |
Per AAA-somatic-music-doctrine |
| Songwriting + Suno |
suno/suno-v3 |
Suno |
Creative lane |
| DSP feature analysis |
local/librosa-scipy |
Local |
See media/audio-feature-analysis |
Constraints & override rules
Free quota preference
- If SOT model is in Singapore region AND has International scope AND has blue quota bar in console → prefer it over PAYG
- Validate via
arifos-federation-provider-multimodal-discovery skill before assuming free quota
- Enable Free Quota Only mode per model in console (default OFF for verified users)
i-ARIF voice identity
- F13 SOVEREIGN-gated: voice identity is biometric-class
- Use
AAA-voice-cloning-mimo-minimax for any i-ARIF request
- All i-ARIF calls seal to VAULT999 with explicit voice_id annotation
Identity preservation (face/body)
- F13, 2026-08-12: "Hang jangan ubah muka manusia"
- Real photo edits MUST preserve face, body, skin tone 100%
- Use
media/aaa-image-editing (6 Iron Rules) + ensemble NB2 + NB-Pro for identity-critical work
Privacy / Sovereignty
- Voice biometric = F1 custody (vault-class)
- Face ID = local-only (no cloud round-trip)
- All auth keys via
~/.secrets/kunci-root.env (5-R Protocol)
How to invoke this skill
When an agent receives a multimodal request and needs to route:
- Classify the modality + direction + function + constraints
- Look up the SOT key (use this skill's routing table as index, then verify against
/root/.config/federation-models.json)
- Verify the SOT entry is current (F11: log the lookup with SHA256 of SOT file)
- Resolve to
provider_id + model_key + endpoint_url
- Call the model via the agent's MCP surface (e.g.,
mcp__aforge__forge_browser_* for browser, or direct API call for non-MCP)
- If the route is Grok Imagine: spawn
/root/.grok/bin/grok-multimodal.sh. Those tools are harness-native to FI-007, not Hermes/OpenCode.
- Log the routing decision to VAULT999 (F11 AUDIT)
Harness-native Imagine (not a FED model)
Telephone: /root/AAA/docs/GROK_IMAGINE.md. Wrapper: grok-multimodal. Do not add grok to LiteLLM.
Cross-cutting doctrine (apply across modalities)
| Concern |
Skill |
Authority |
| Provider capability probing |
arifos-federation-provider-multimodal-discovery |
Verifies before claiming |
| Visual structural QA |
forge-vss-verifier-suite |
Post-generation |
| Multimodal reasoning |
AGI-multimodal-bridge |
Cross-modal fusion |
| Audio quantum doctrine |
AGI-audio-quantum-cognition |
Audio substrate |
| Visual substrate |
delta-omega-psi-multimodal-cognition |
Δ·Ω·Ψ enforcement |
| Visual governance |
FORGE-visual-qa-w3 |
W³ tri-witness |
| TTS engine registry |
AAA-tts-engine-catalog |
TTS routing detail |
| Voice cloning |
AAA-voice-cloning-mimo-minimax + AAA-voice-cloning-qwen-cloud |
Voice identity |
| Somatic music |
AAA-somatic-music-doctrine + AAA-somatic-emd-pipeline |
Music constitution |
| Document intelligence |
FORGE-document-intelligence |
Doc VLM |
| OCR cascade |
AAA-OCR-optical-compression |
OCR Tier 1-3 |
| Face ID |
deterministic-face-id |
READ-ONLY, peer skill at /root/.agents/skills/deterministic-face-id/ |
| Cross-region config |
devops/provider-routing-zen |
Operational |
Knowledge graphs (canonical unified maps)
| Modality |
KG file |
Lines |
Forged |
| Audio |
/root/AAA/knowledge-graph/audio-intelligence-map.md |
338 |
2026-08-13 |
| Visual |
/root/AAA/knowledge-graph/visual-intelligence-map.md |
911 |
2026-08-18 |
| Video |
/root/AAA/knowledge-graph/video-intelligence-map.md |
529 |
2026-08-18 |
| Somatic |
MISSING — use AAA-somatic-music-doctrine SKILL.md |
— |
— |
Floors
- F2 TRUTH: Every routing decision cites the SOT entry used (provider_id + model_key + SHA256 of SOT file at lookup time).
- F4 CLARITY: This skill is a navigation index, not a duplicate of SOT. Single source of truth = SOT.
- F8 GENIUS: Cross-modal requests route through η algorithm (4 questions) before falling back to per-modality skills.
- F11 AUDIT: Every routing decision logged to VAULT999 receipts (provider + model + token estimate + SOT version).
- F1 AMANAH: Free quota preference + BlueQuotaBar check before PAYG. No surprise charges.
Annual verification
This skill MUST be re-validated:
- On any SOT change to
/root/.config/federation-models.json (RCR enforcement)
- On any new model release touching vision/audio/video/somatic
- Quarterly (next due: 2026-11-20)
If the routing table here drifts from SOT, the table is wrong (SOT wins). Update this skill to match SOT, never the reverse.
Failure modes
| Failure |
Action |
| SOT missing entry for modality+function |
Use arifos-federation-provider-multimodal-discovery to probe provider; if real, propose SOT edit (F13 stance: 1 SOT edit per model release) |
| Provider returns 402 (insufficient balance) |
Trigger devops/qwen-provider-operations for diagnosis |
| Provider returns 401 (auth fail) |
Verify key in ~/.secrets/kunci-root.env; rotate if needed |
| Hermes config drift from SOT |
Hermes config is consumer; SOT is authority. Patch Hermes config to match SOT, NOT vice versa. |
| Cross-agent picker drift |
F13 holds the pen. AAA writes SOT only, does NOT auto-sync to pickers. Manual alignment audit. |
Audit trail
- 2026-08-25 — FI-007: Imagine spawn path for all AAA agents (
grok-multimodal.sh + GROK_IMAGINE.md). Harness-native, not FED.
- 2026-08-20 — forged by FI-003 Qwen Code
- Driver: Arif F13 directive "now make sure my hermes agent telegram ASI_arifos_bot know how to use this"
- Builds on: 32 multimodal models wired into
/root/.hermes/config.yaml dashscope-payg provider + tts/stt.qwen-audio-payg entries (2026-08-20)
- Builds on: 3 canonical knowledge graphs (audio + visual + video) —
/root/AAA/knowledge-graph/
- Constraints: F2 SOT authority, F11 AUDIT, F13 picker sovereignty, RCR 1-edit-per-release
- Receipt: to be appended to
/root/forge_work/qwen-sessions/sessions.jsonl + named receipt
1---2name: forge-multimodal-router3id: forge-multimodal-router4risk_tier: low5description: 'Federation-wide multimodal routing skill. Resolves any vision/audio/video/somatic request to its canonical model + endpoint via /root/.config/federation-models.json (SOT). USE WHEN: "which model should I use for X", "route this image/audio/video to the right engine", "unify multimodal routing across agents", "I have an image/audio/video and need to know where it goes".'6version: 1.0.07tags:8- multimodal9- routing10- vision11- audio12- video13- somatic14- tts15- asr16- image-generation17- video-generation18- federation19- SOT20- F421- F822floor_scope:23- F0224- F0425- F0826owner: AAA27autonomy_tier: T128capability_tier: fed-multimodal-router29ecology_state: WARM30consumes_sot: /root/.config/federation-models.json31mirror_paths:32- /root/AAA/skills/forge-multimodal-router/SKILL.md33- /root/.hermes/skills/forge-multimodal-router/SKILL.md34- /root/.qwen/skills/aaa-canonical/forge-multimodal-router/SKILL.md35- /root/.claude/skills/forge-multimodal-router/SKILL.md36forged: 2026-08-2037forged_by: FI-003 (Qwen Code)38f13_directive: "make sure my hermes agent telegram ASI_arifos_bot know how to use this"39constitutional_floor: F11 AUDIT — every routing decision logged to VAULT999 receipts40---4142# forge-multimodal-router4344## Purpose4546The federation supports four modalities (vision, audio, video, somatic) across 8 agents. Each modality has multiple functions (recognize, generate, edit, clone, analyze) and multiple engines (image gen, video gen, TTS, ASR, voice clone, music). Without a single routing skill, decisions are scattered across ~18 skills (`token-plan-image`, `token-plan-speech`, `token-plan-video`, `AAA-tts-engine-catalog`, `minimax-image-gen`, `creative/minimax-cli`, etc.) and 3 knowledge graphs.4748This skill is the **single ingestion entry point** for any multimodal routing question. It does NOT duplicate model identity — it references the SOT.4950## The authority doctrine (DO NOT VIOLATE)5152| Layer | File | Owner |53|---|---|---|54| **SOT (single source of truth)** | `/root/.config/federation-models.json` | AAA/FED (Kimi-code/FI-008 writes) |55| **Reader** | `/root/AAA/scripts/fed_router.py` (`FED_SOT_PATH`) → `:7074` | FED |56| **Live health/balance** | `token_bank.db` via `:7074` (HTTP 402/200 probes) | FED runtime |57| **Tombstone** | `/root/AAA/federation/fed_signatures.yaml` — DEAD 2026-08-17 | F13 confirmed: do not resurrect |5859**Rule:** Model identity lives ONLY in SOT. Skill/tool surface (Hermes config, OpenCode config, etc.) is a CONSUMER, not authority. Next model release = 1 SOT edit (RCR — Release Change Ratio).6061**Picker sync rule:** AAA/FED has authority to write SOT (sqlite + json) but does NOT auto-write to picker configs (Kimi/Codex/Qwen/Claude/Go/Grok CLI). F13 holds the pen. Manual alignment audit is correct path.6263## The routing decision algorithm6465Given a multimodal request, ask in order:66671. **What modality?** (vision / audio / video / somatic)682. **What direction?** (input = perception / output = generation)693. **What function?** (recognize / generate / edit / clone / analyze / transform)704. **What constraints?** (real-time? free quota required? Malaysian voice? identity-preserving? i-ARIF voice?)7172Then resolve:7374```75resolution = lookup_sot(76 modality, direction, function, constraints77)78# SOT returns: { provider_id, model_key, endpoint_url, params_override }79```8081If SOT doesn't have a matching entry → STOP. Do NOT fallback to agent card or pickers. Either:82- Check `arifos-federation-provider-multimodal-discovery` skill to probe the provider83- Or forge an ephemeral skill for the new routing case8485## Routing rules (read from SOT, this table is a navigation aid ONLY)8687### Vision8889| Request | SOT key | Engine | Notes |90|---|---|---|---|91| Image understanding (real-time, Telegram) | `dashscope/qwen-vl-max` | PRMT | Single failure domain, primary |92| Image understanding (fallback) | `dashscope/qwen3-vl-plus` | PRMT | When qwen-vl-max fails |93| OCR (multi-script) | `dashscope/qwen3-omni-flash` | OCR cascade | Tier 1 of AAA-OCR |94| OCR (Latin) | `local/tesseract-5.5` | Local | Free fallback |95| OCR (Chinese) | `local/rapidocr-3.9` | Local | Free fallback |96| Document extraction | `dashscope/qwen3-vl-ocr` | VLM specialist | See FORGE-document-intelligence |97| Image understanding (subscription-first) | `mimo/mimo-v2.5` | MiMo Token Plan | `image_url` ≤50MB URL/b64; SOT rule `vision_primary_mimo_subscribed` p12; verified live 2026-09-07 |98| Face ID (deterministic) | `local/onnx-insightface-buffalo_l-512dim` | Local | READ-ONLY, see `/root/.agents/skills/deterministic-face-id/SKILL.md` |99| Image generation (Gemini NB2 Workhorse) | `gemini/gemini-3.1-flash-image` | Nano Banana 2 | 512px–4K, 14 refs, video-in, Image Search Grounding |100| Image generation (Gemini NB2 Lite) | `gemini/gemini-3.1-flash-lite-image` | NB2 Lite | Fastest & lowest cost Gemini image gen |101| Image generation (Gemini NB Pro) | `gemini/gemini-3-pro-image` | NB Pro | Thinking mode, 4K, interleaved text+image, style refs |102| Image generation (T2I latest DashScope) | `dashscope/qwen-image-3.0-pro` | DashScope PAYG | Free quota eligible |103| Image generation (T2I fast) | `dashscope/qwen-image-3.0` | DashScope PAYG | Newest Aug 2026 |104| Image generation (T2I mass) | `dashscope/z-image-turbo` | DashScope PAYG | 8-step inference |105| Image editing (identity-preserving NB2) | `gemini/gemini-3.1-flash-image` | NB2 | 6 Iron Rules, multi-turn conversational |106| Image editing (fallback) | `dashscope/qwen-image-edit-max` | DashScope PAYG | LoRA support |107| Image generation (Malay/SEA) | `minimax/image-01` | MiniMax MCP | Default |108| Image generation (Grok Imagine T2I) | **harness** `grok-build/image_gen` | spawn `grok-multimodal.sh image` | Native Grok Build. Not FED. |109| Image editing (Grok Imagine) | **harness** `grok-build/image_edit` | spawn `grok-multimodal.sh edit REF` | Reference-first for named people |110111### Audio112113| Request | SOT key | Engine | Notes |114|---|---|---|---|115| Audio understanding (in-model, subscription) | `mimo/mimo-v2.5` | MiMo Token Plan | `input_audio`; MP3/WAV/FLAC/M4A/OGG; ~6.25 tok/s; verified 2026-09-07 |116| ASR (subscription-first) | `mimo/mimo-v2.5-asr` | MiMo Token Plan | wav/mp3 b64≤10MB; lang auto/zh/en (no `ms`); ~$0.074/audio-hr equiv |117| ASR (short audio <5min) | `dashscope/qwen-audio-3.0-asr-flash` | DashScope PAYG | Default |118| ASR (long offline file) | `dashscope/qwen-audio-3.0-asr-flash-filetrans` | DashScope PAYG | Meetings, calls |119| ASR (real-time stream) | `dashscope/qwen-audio-3.0-asr-flash-streaming` | DashScope PAYG | Live meetings |120| ASR (Penang-Besi dialect) | `dashscope/qwen-audio-3.0-asr-flash` + custom dict | DashScope PAYG | See AAA-asr-glm-ingest |121| ASR (default) | `local/faster-whisper-base` | Local | Free fallback |122| TTS (free window default) | `mimo/mimo-v2.5-tts` | MiMo Token Plan | 0 credits limited-time; via chat/completions `audio` field; verified live 2026-09-07 |123| TTS (default Malaysian) | `edge-tts/ms-MY-YasminNeural` | Edge (free) | No quota |124| TTS (multilingual) | `dashscope/qwen-audio-3.0-tts-flash` | DashScope PAYG | Free quota eligible |125| TTS (realtime full-duplex) | `dashscope/qwen-audio-3.0-realtime-plus` | DashScope PAYG | Aug 2026 |126| TTS (sovereign i-ARIF) | `minimax/speech-2.8-hd` | MiniMax | voice_id `i-ARIF-20260819T084602` |127| TTS (Penang-Besi dialect) | `mimo/mimo-v2.5-tts-voicedesign` | MiMo Token Plan | See nusantara-acoustic-infrastructure |128| TTS (voice clone) | `dashscope/voice-enrollment` | DashScope PAYG | + qwen-voice-design |129| DSP analysis | `local/librosa` | Local | See media/audio-analysis |130| Live translate (realtime) | `dashscope/qwen3.5-livetranslate-flash-realtime` | DashScope PAYG | Aug 2026 |131132### Video133134| Request | SOT key | Engine | Notes |135|---|---|---|---|136| Video generation & editing (Omni default) | `gemini/gemini-omni-flash` | Gemini Omni Flash | ⭐ DEFAULT video model: multi-turn conversational editing & omnimodal reasoning |137| Video generation (Cinematic + Native Audio) | `gemini/veo-3.1-generate-preview` | Veo 3.1 | Native dialogue/SFX/ambient, 720p/1080p/4k, first/last frame, up to 3 refs |138| Video extension (Temporal sequence) | `gemini/veo-3.1-generate-preview` | Veo 3.1 | Extend Veo video by 7s (up to 20x, max 148s, 720p) |139| Video generation (Veo Fast) | `gemini/veo-3.1-fast-generate-preview` | Veo 3.1 Fast | Fast video gen with native audio |140| Video generation (Veo Lite) | `gemini/veo-3.1-lite-generate-preview` | Veo 3.1 Lite | Lightweight video gen (720p/1080p) |141| Video generation (T2V DashScope newest) | `dashscope/wan3.0-video` | DashScope PAYG | Aug 2026 |142| Video generation (T2V standard) | `dashscope/wan2.7-t2v-2026-06-12` | DashScope PAYG | Jul 2026 |143| Video generation (I2V) | `dashscope/wan2.7-i2v-2026-04-25` | DashScope PAYG | Preserve subject/style |144| Video generation (R2V) | `dashscope/wan2.7-r2v-2026-06-12` | DashScope PAYG | Up to 9 refs |145| Video generation (R2V alternative) | `dashscope/happyhorse-1.1-r2v` | DashScope PAYG | Realistic dynamic |146| Video generation (Grok Imagine I2V) | **harness** `grok-build/image_to_video` | spawn `grok-multimodal.sh video REF` | 6s/10s · 720p. Native Grok Build. |147| Video editing (DashScope) | `dashscope/wan2.7-videoedit` | DashScope PAYG | Local/global edits |148| Video understanding (subscription) | `mimo/mimo-v2.5` | MiMo Token Plan | `video_url` + fps 0.1–10 + media_resolution; ≤300MB URL / 50MB b64; MP4/MOV/AVI/WMV; only subscription video-understanding rung; verified 2026-09-07 |149| Last-frame analysis | `dashscope/qwen-vl-max` (re-use) | PRMT | No temporal context |150| Video INPUT (continuous) | `gemini/gemini-omni-flash` | Gemini Omni Flash | Native video input reasoning via Interactions API |151| A-V cross-modal fusion | `gemini/gemini-omni-flash` | Gemini Omni Flash | Text + Image + Audio + Video unified input |152153### Somatic (Music Intelligence)154155| Request | SOT key | Engine | Notes |156|---|---|---|---|157| Music generation (governed) | `minimax/music-2.6` | MiniMax T2A Music | Per AAA-somatic-emd-pipeline |158| Music generation (newest) | `minimax/music-3.0` | MiniMax T2A Music | |159| Music scoring (somatic) | `federation/somatic-scorer` | WELL + scoring | Per AAA-somatic-music-doctrine |160| Songwriting + Suno | `suno/suno-v3` | Suno | Creative lane |161| DSP feature analysis | `local/librosa-scipy` | Local | See media/audio-feature-analysis |162163## Constraints & override rules164165### Free quota preference166- If SOT model is in Singapore region AND has International scope AND has blue quota bar in console → prefer it over PAYG167- Validate via `arifos-federation-provider-multimodal-discovery` skill before assuming free quota168- Enable **Free Quota Only** mode per model in console (default OFF for verified users)169170### i-ARIF voice identity171- F13 SOVEREIGN-gated: voice identity is biometric-class172- Use `AAA-voice-cloning-mimo-minimax` for any i-ARIF request173- All i-ARIF calls seal to VAULT999 with explicit voice_id annotation174175### Identity preservation (face/body)176- F13, 2026-08-12: "Hang jangan ubah muka manusia"177- Real photo edits MUST preserve face, body, skin tone 100%178- Use `media/aaa-image-editing` (6 Iron Rules) + ensemble NB2 + NB-Pro for identity-critical work179180### Privacy / Sovereignty181- Voice biometric = F1 custody (vault-class)182- Face ID = local-only (no cloud round-trip)183- All auth keys via `~/.secrets/kunci-root.env` (5-R Protocol)184185## How to invoke this skill186187When an agent receives a multimodal request and needs to route:1881891. **Classify** the modality + direction + function + constraints1902. **Look up** the SOT key (use this skill's routing table as index, then verify against `/root/.config/federation-models.json`)1913. **Verify** the SOT entry is current (F11: log the lookup with SHA256 of SOT file)1924. **Resolve** to `provider_id + model_key + endpoint_url`1935. **Call** the model via the agent's MCP surface (e.g., `mcp__aforge__forge_browser_*` for browser, or direct API call for non-MCP)1946. **If the route is Grok Imagine**: spawn `/root/.grok/bin/grok-multimodal.sh`. Those tools are harness-native to FI-007, not Hermes/OpenCode.1957. **Log** the routing decision to VAULT999 (F11 AUDIT)196197### Harness-native Imagine (not a FED model)198199Telephone: `/root/AAA/docs/GROK_IMAGINE.md`. Wrapper: `grok-multimodal`. **Do not** add grok to LiteLLM.200201## Cross-cutting doctrine (apply across modalities)202203| Concern | Skill | Authority |204|---|---|---|205| Provider capability probing | `arifos-federation-provider-multimodal-discovery` | Verifies before claiming |206| Visual structural QA | `forge-vss-verifier-suite` | Post-generation |207| Multimodal reasoning | `AGI-multimodal-bridge` | Cross-modal fusion |208| Audio quantum doctrine | `AGI-audio-quantum-cognition` | Audio substrate |209| Visual substrate | `delta-omega-psi-multimodal-cognition` | Δ·Ω·Ψ enforcement |210| Visual governance | `FORGE-visual-qa-w3` | W³ tri-witness |211| TTS engine registry | `AAA-tts-engine-catalog` | TTS routing detail |212| Voice cloning | `AAA-voice-cloning-mimo-minimax` + `AAA-voice-cloning-qwen-cloud` | Voice identity |213| Somatic music | `AAA-somatic-music-doctrine` + `AAA-somatic-emd-pipeline` | Music constitution |214| Document intelligence | `FORGE-document-intelligence` | Doc VLM |215| OCR cascade | `AAA-OCR-optical-compression` | OCR Tier 1-3 |216| Face ID | `deterministic-face-id` | READ-ONLY, peer skill at `/root/.agents/skills/deterministic-face-id/` |217| Cross-region config | `devops/provider-routing-zen` | Operational |218219## Knowledge graphs (canonical unified maps)220221| Modality | KG file | Lines | Forged |222|---|---|---|---|223| Audio | `/root/AAA/knowledge-graph/audio-intelligence-map.md` | 338 | 2026-08-13 |224| Visual | `/root/AAA/knowledge-graph/visual-intelligence-map.md` | 911 | 2026-08-18 |225| Video | `/root/AAA/knowledge-graph/video-intelligence-map.md` | 529 | 2026-08-18 |226| Somatic | **MISSING** — use `AAA-somatic-music-doctrine` SKILL.md | — | — |227228## Floors229230- **F2 TRUTH:** Every routing decision cites the SOT entry used (provider_id + model_key + SHA256 of SOT file at lookup time).231- **F4 CLARITY:** This skill is a navigation index, not a duplicate of SOT. Single source of truth = SOT.232- **F8 GENIUS:** Cross-modal requests route through η algorithm (4 questions) before falling back to per-modality skills.233- **F11 AUDIT:** Every routing decision logged to VAULT999 receipts (provider + model + token estimate + SOT version).234- **F1 AMANAH:** Free quota preference + BlueQuotaBar check before PAYG. No surprise charges.235236## Annual verification237238This skill MUST be re-validated:239- On any SOT change to `/root/.config/federation-models.json` (RCR enforcement)240- On any new model release touching vision/audio/video/somatic241- Quarterly (next due: 2026-11-20)242243If the routing table here drifts from SOT, the table is wrong (SOT wins). Update this skill to match SOT, never the reverse.244245## Failure modes246247| Failure | Action |248|---|---|249| SOT missing entry for modality+function | Use `arifos-federation-provider-multimodal-discovery` to probe provider; if real, propose SOT edit (F13 stance: 1 SOT edit per model release) |250| Provider returns 402 (insufficient balance) | Trigger `devops/qwen-provider-operations` for diagnosis |251| Provider returns 401 (auth fail) | Verify key in `~/.secrets/kunci-root.env`; rotate if needed |252| Hermes config drift from SOT | Hermes config is consumer; SOT is authority. Patch Hermes config to match SOT, NOT vice versa. |253| Cross-agent picker drift | F13 holds the pen. AAA writes SOT only, does NOT auto-sync to pickers. Manual alignment audit. |254255## Audit trail256257- **2026-08-25** — FI-007: Imagine spawn path for all AAA agents (`grok-multimodal.sh` + GROK_IMAGINE.md). Harness-native, not FED.258- **2026-08-20** — forged by FI-003 Qwen Code259- Driver: Arif F13 directive "now make sure my hermes agent telegram ASI_arifos_bot know how to use this"260- Builds on: 32 multimodal models wired into `/root/.hermes/config.yaml` `dashscope-payg` provider + `tts/stt.qwen-audio-payg` entries (2026-08-20)261- Builds on: 3 canonical knowledge graphs (audio + visual + video) — `/root/AAA/knowledge-graph/`262- Constraints: F2 SOT authority, F11 AUDIT, F13 picker sovereignty, RCR 1-edit-per-release263- Receipt: to be appended to `/root/forge_work/qwen-sessions/sessions.jsonl` + named receipt