Runway Dev Model Routers

作者 runwaymle3dffc15498e無授權條款收錄於 2026年10月8日更新於 2026年10月8日

Build, modify, debug, or verify Runway Model Routers: inspect live config and eligible models via MCP, manage approved settings, integrate routed SDK calls, and inspect routing results. Use with +runway-dev. Not for direct per-model endpoints or agent REST CLI.

AI 產生的概覽

指導透過 MCP 工具與路由 SDK 呼叫來建置、修改、偵錯及驗證 Runway 模型路由器。

功能
此技能提供操作 Runway 模型路由器的說明:透過 MCP 工具檢視即時路由器設定與可用模型、管理經核准的設定,並整合路由 SDK 生成呼叫。內容涵蓋建立新路由器、將現有 configId 解析為路由器記錄、以 HTTP dry run 驗證請求內容,以及利用任務路由資訊說明實際執行請求的模型。產出為設定變更與整合指引,而非檔案或程式碼成品。
適用情境
適用於需要建立、更新、偵錯或驗證 Runway 模型路由器,或需要將應用程式接上路由生成呼叫的情況。也適合查詢某個已路由任務是由哪個模型執行。
執行需求
需要 Runway Dev MCP 工具來檢視與管理路由器及模型,需要 RUNWAYML_API_SECRET 憑證,需要連線至 Runway 文件與 API 的網路存取,以及用於路由生成呼叫的 Runway SDK。此技能不含指令碼,僅為說明文件。

Runway Dev — Model Routers

Companion: Use +runway-dev for shared guidance when available. If it is not installed, inspect the workspace, probe RUNWAYML_API_SECRET without printing it, and read current docs. Encourage connecting Dev MCP to inspect or manage router configs. If the user declines or cannot connect, continue integration from current docs and an existing configId.

Goal

Keep a Model Router and its application integration correct. Verify changes with one routed SDK call (client.generate.{video|image|audio}.create({ configId, input })) when safe.

MCP tools

  • list_model_routers / get_model_router — find a router by configId, then inspect it using the returned record UUID.
  • list_models — inspect eligible models and capabilities.
  • create_model_router / update_model_router / delete_model_router — manage routers after user approval; updates replace the full configuration.
  • get_credit_balance — check budget before proposing credit ceilings or testing.
  • get_task_routing — explain which model handled an existing routed task.

New router

  1. list_models across relevant endpoints — do not guess eligible models or capabilities.
  2. get_credit_balance — understand budget before proposing credit ceilings.
  3. Propose: name, immutable configId slug, description, routing preference, model-list policy, capacity fallback, optional credit caps. Wait for user approval unless they supplied all fields.
  4. create_model_router, then update_model_router for settings if needed.
  5. Validate the intended payload with HTTP dryRun: true before a billable generation; the SDK does not currently support dry runs.
  6. When billable verification is appropriate, make one routed SDK call with the wait helper chained directly from create(), then use get_task_routing to explain which model ran.

Existing router

  1. Use list_model_routers to resolve the application's configId slug to a router record, then call get_model_router with its UUID.
  2. Clarify integration goal (wire into app vs test call).
  3. Implement the routed generate call behind the application's server boundary per https://docs.dev.runwayml.com/model-routers.md, chaining the SDK wait helper directly from create().
  4. Validate the same payload with HTTP dryRun: true before any billable verification.
  5. After an approved live test, use get_task_routing to confirm which model ran.

Terminology

  • Router record id (UUID) ≠ configId (immutable slug used in SDK configId field).

Docs

來源與署名

來源:runwayml/skills位於skills/runway-dev-model-routers提交e3dffc1

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架