Runway · 视频

Hermes Agent x Runway

Runway 是领先的视频 AI 公司,其模型广泛应用于创意制作。通过 RunAPI,Runway 端点以按次计费方式统一访问。

1 variants 起价 $0.12 / 次调用 可商用

Prerequisite: npx runapi mcp install

Prompt

Prompt 模型

任务匹配时使用 runway:runway。

You have access to RunAPI task tools for Runway.

Available Runway models:
- runway: runway
  endpoints: /api/v1/runway/text_to_video, /api/v1/runway/extend_video
  request fields: model, prompt, duration_seconds, output_resolution, aspect_ratio

Use the model ID and endpoint that match the user's request.
Example prompt: 生成一段 5 秒的霓虹灯东京街头雨夜电影镜头。
/api/v1/runway/text_to_video: Submit the task, poll for its status, then verify the completed output. POST /api/v1/runway/text_to_video,并保存返回的 Task ID。
GET /api/v1/runway/text_to_video/<task-id>,直到状态为 completed 或 failed。
确认 completed 响应包含 API 参考中记录的端点专属输出。
/api/v1/runway/extend_video: Submit the task, poll for its status, then verify the completed output. POST /api/v1/runway/extend_video,并保存返回的 Task ID。
GET /api/v1/runway/extend_video/<task-id>,直到状态为 completed 或 failed。
确认 completed 响应包含 API 参考中记录的端点专属输出。

公开版本与端点

模型 ID 端点 起步价格 模型目录
runway
/api/v1/runway/text_to_video /api/v1/runway/extend_video
$0.12 / 次调用 模型详情

验证

轮询,直到 Task 进入终态

POST /api/v1/runway/text_to_video,并保存返回的 Task ID。
GET /api/v1/runway/text_to_video/<task-id>,直到状态为 completed 或 failed。
确认 completed 响应包含 API 参考中记录的端点专属输出。

配置

指南端点: /api/v1/runway/text_to_video

export RUNAPI_API_KEY=your_api_key

curl -X POST https://runapi.ai/api/v1/runway/text_to_video \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "runway",
  "prompt": "A paper kite flying above a quiet coastal town at sunrise.",
  "duration_seconds": 5,
  "output_resolution": "720p",
  "aspect_ratio": "16:9"
}'
使用流程

三步开始使用

  1. 选择模型 ID

    选择公开模型 ID,并查看其端点与当前起步价格。

  2. 配置 RunAPI

    调用端点前设置 RUNAPI_API_KEY。

  3. 验证结果

    对于异步端点,轮询同一端点,直到 Task 进入终态。

使用 Hermes Agent + Runway 可以构建什么

  • 角色一致的叙事内容

    用参考图让角色在多个镜头中保持外观一致,由 Hermes Agent 把各镜头串联起来。

  • 广告与社交内容制作

    批量生成 Reels、TikTok 片段和微广告,由 Hermes Agent 并行运行多个 Runway 任务。

  • 视频风格重塑

    用文字提示词改变现有素材的风格、光线或环境,同时保留原有运动。

为什么通过 RunAPI + Hermes Agent 使用 Runway

  • 1 个变体,一个 API 密钥

    通过一个 RunAPI 连接选择可用的模型变体,无需更改现有集成。

  • 清晰的用量价格

    发送请求前查看目录中的当前价格,无需订阅或最低消费。

  • 自动化任务流程

    通过一致的任务流程提交任务、查询状态并收集异步结果,无需编写手动轮询代码。

Hermes Agent + Runway 常见问题

可以在 Hermes Agent 中使用 Runway 视频生成吗?

可以。在 Hermes Agent 中把 RunAPI 配置为提供方后,Agent 可以用你的 RunAPI API 密钥调用本页列出的 Runway 端点。

Hermes Agent 能用其他模型生成首帧吗?

可以。Hermes Agent 可以先用图像模型生成起始图片,再把图片 URL 作为首帧交给 Runway。

Hermes Agent 能在生成视频和重塑风格之间选择吗?

可以。Runway 系列同时涵盖新视频生成和现有素材编辑,Hermes Agent 会为每个请求选择端点和模型版本。

应该使用哪个模型 ID?

从版本表选择公开模型 ID。每个 ID 可使用的端点均显示在对应行。

本指南会配置聊天模型吗?

不会。该 Model Line 使用页面所示的端点流程,不会被描述为 Agent 聊天模型。

开始在 Hermes Agent 中使用 Runway

需要团队接入支持?

我们可以协助团队接入、完成系统集成并解答技术问题。

联系我们