Hermes Agent で Runway を使う。
Runway Gen-4 は、テキストプロンプトまたは最初のフレーム画像から、720p または 1080p で 5秒または10秒の動画を生成します。Hermes Agent は RunAPI カスタムエンドポイント経由で呼び出します —— custom:runapi を一度設定し、時間と解像度を指定して text_to_video を送り、完成した動画をポーリングします。extend_video でクリップを延長したり、Runway Aleph で動画→動画の編集を行えます。
Use RunAPI to generate a video with Runway Gen-4.
要件:
- Read the API key from RUNAPI_API_KEY.
- Use the custom:runapi provider with base_url https://runapi.ai/v1.
- Call POST https://runapi.ai/api/v1/runway/text_to_video
- Set model to "runway".
- Set prompt to describe the video content.
- Set duration_seconds to 5 or 10.
- Set output_resolution to "720p" or "1080p".
- Optionally set first_frame_image_url to guide the opening frame.
- The task is async. Poll the returned task_id until status is "completed".
- When done, read the video URL from the response output.
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 drone shot rising over a misty mountain lake at sunrise, cinematic lighting",
"duration_seconds": 10,
"output_resolution": "1080p",
"aspect_ratio": "16:9"
}'
{
"task_id": "tsk_abc123",
"status": "pending",
"model": "runway"
}
Hermes Agent で Runway を使う3ステップ
Configure RunAPI
Set RUNAPI_API_KEY in the environment where Hermes Agent runs. If you already added RunAPI as a custom:runapi provider, the same key handles Runway video requests — no additional provider configuration needed.
export RUNAPI_API_KEY=runapi_xxx
Call Runway text_to_video
Send a POST to the text_to_video endpoint with model set to runway, a prompt, duration_seconds (5 or 10), and output_resolution (720p or 1080p). Hermes Agent can build this request through the custom:runapi provider. Add first_frame_image_url to anchor the opening frame.
POST /api/v1/runway/text_to_video
Poll for the result
The endpoint returns a task_id immediately. Poll the task status endpoint until the status is completed, then read the output video URL from the response. To extend the clip, call extend_video with the source_task_id.
GET /api/v1/runway/text_to_video/tsk_abc123
Runway text_to_video API パラメータ
| パラメータ | 型 | 説明 |
|---|---|---|
model |
string |
Required. Use runway for Gen-4, or runway-aleph for Aleph edit_video. |
prompt |
string |
Required. Text description of the video content — camera motion, scene, lighting. |
duration_seconds |
integer |
Required. Video length: 5 or 10 seconds. |
output_resolution |
string |
Required. Output resolution: 720p or 1080p. Affects pricing. |
first_frame_image_url |
string |
Optional. URL of an image to use as the first frame of the video. |
aspect_ratio |
string |
Optional. Output aspect ratio: 16:9, 9:16, 1:1, 4:3, or 3:4. |
callback_url |
string |
Optional. Webhook URL that receives a POST when the task completes. |
Hermes AgentのRunwayとは?
Runway Gen-4は映画感ある構図と滑らかなモーションで本番グレードの動画を提供し、素早くクリーンな出力で知られています。Hermes Agentのcustom:runapi providerを通じて、ワールド一貫性とショット間のキャラクター一貫性を持つ5秒または10秒・720pまたは1080pの動画を生成します。Runway Alephは既存映像のスタイルを変更するためのビデオ→ビデオ編集機能を追加します。
Runwayの活用例
一貫したキャラクターのナラティブコンテンツ
キャラクターが各クリップ間で外見を維持するマルチショット動画シーケンスを構築します。参照画像を使ってキャラクターの詳細を固定し、Hermes Agentがショットを連結します。
広告・SNSコンテンツ制作
Instagram Reels・TikTokクリップ・マイクロ広告を大量生成します。Hermes Agentは異なるプロンプトで複数のRunwayタスクを並行ディスパッチして全結果を収集できます。
Alephによる動画スタイル変換
Runway Alephで既存映像を変換します——元のモーションを保持しながらビジュアルスタイル・ライティング・環境を変更します。source_video_urlとスタイルプロンプトを渡してクリップをリスタイルします。
Runway + Hermes Agent に関する質問
Yes. Hermes Agent can call the RunAPI Runway endpoint through the custom:runapi provider. Set RUNAPI_API_KEY in your environment and send a POST to /api/v1/runway/text_to_video with model set to runway, a prompt, duration, and resolution.
Runway Gen-4 (model: runway) handles text_to_video and extend_video — generating new clips from text or images. Runway Aleph (model: runway-aleph) handles edit_video — restyling existing footage with a text prompt and source_video_url. Both run through the same RunAPI key.
Yes. Runway Gen-4 produces production-grade clips with cinematic framing that many YouTubers use for intros, B-rolls, and short ad segments. The 5 or 10 second duration covers most insert-clip needs. For longer sequences, chain multiple generations using first_frame_image_url for continuity.
Include the first_frame_image_url in your request body when calling the Runway endpoint through Hermes Agent. The custom:runapi provider passes it directly. Hermes Agent can also generate the first frame with an image model, then feed the URL to Runway automatically.
Yes. Hermes Agent can select the Runway model based on your requirements -- Gen-4 for creating new clips from text or images, Aleph for editing and restyling existing footage. Set the model parameter in each request to switch between them.
今すぐ Hermes Agent で Runway を試す。
無料の RunAPI キーを取得し、custom:runapi provider を設定して、Runway Gen-4 で 720p または 1080p のシネマティックな動画を生成しましょう。