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 从公开仓库中收录这些内容。

举报或申请下架