HERMES + HAILUO

Hermes Agent で Hailuo を使う。

Hailuo は MiniMax の動画生成モデルで、正確な物理シミュレーションを伴うネイティブ 1080p 映像を生成し、6 バリアントを揃えています —— Hailuo 02 と 2.3 で、それぞれ pro と standard ティアにテキスト→動画と画像→動画のエンドポイントを備えています。Hermes Agent は custom:runapi provider を使って RunAPI 経由で呼び出します —— チャット用に設定したものと同じキーと base URL を使います。

1つの APIキー · テキスト→動画 + 画像→動画 · 非同期タスクポーリング
Use RunAPI to generate a video with MiniMax Hailuo 02 Pro through Hermes Agent.

要件:
- Use the custom:runapi provider already configured in Hermes Agent
- Call the RunAPI text_to_video endpoint at https://runapi.ai/api/v1/hailuo/text_to_video
- Set model to "hailuo-02-text-to-video-pro"
- The RUNAPI_API_KEY environment variable provides authorization
- Include a detailed prompt describing camera movement and scene
- The response is async — poll the task status endpoint until the task completes, then retrieve the video URL
curl -X POST https://runapi.ai/api/v1/hailuo/text_to_video \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "hailuo-02-text-to-video-pro",
    "prompt": "A glass marble rolls across a wooden desk, catches the edge, and falls in slow motion. Camera follows the marble. Soft window light, shallow depth of field."
  }'
{
  "task_id": "tsk_abc123",
  "status": "pending",
  "model": "hailuo-02-text-to-video-pro"
}
curlコマンドをコピーしてテスト hailuo
仕組み

Hermes Agent で Hailuo を使う3ステップ

1

Configure RunAPI

Set the RUNAPI_API_KEY environment variable. If you already added RunAPI as a custom:runapi provider in Hermes Agent for chat, the same key and base_url work for video generation — no extra configuration needed.

export RUNAPI_API_KEY=runapi_xxx
2

Call Hailuo text_to_video or image_to_video

Send a POST request to /api/v1/hailuo/text_to_video with model set to hailuo-02-text-to-video-pro and a scene-describing prompt. For image-anchored video, use the image_to_video endpoint with first_frame_image_url to preserve your source subject.

POST /api/v1/hailuo/text_to_video
3

Poll for the result

The endpoint returns a task_id immediately. Poll the task status endpoint until the status changes to completed, then retrieve the generated video URL from the response. Typical turnaround is under two minutes for pro tier.

GET /api/v1/hailuo/text_to_video/tsk_abc123
パラメータ

Hailuo API パラメータ

パラメータ 説明
model string Required. One of: hailuo-02-text-to-video-pro, hailuo-02-text-to-video-standard, hailuo-02-image-to-video-pro, hailuo-02-image-to-video-standard, hailuo-2.3-image-to-video-pro, hailuo-2.3-image-to-video-standard.
prompt string Required. Text description of the video scene, camera movement, and lighting.
first_frame_image_url string Required for image_to_video endpoints. URL of the source image used as the first frame.
last_frame_image_url string Optional. URL of an image used as the last frame. Available on Hailuo 02 image-to-video only.
duration_seconds integer Optional. Video length in seconds. Accepted values: 6 or 10. Defaults to 10 on standard, fixed on pro.
output_resolution string Optional. Output resolution. 512p or 768p for 02 standard; 768p or 1080p for 2.3 variants.
callback_url string Optional. Webhook URL that receives a POST when the task completes.

Hermes AgentのHailuoとは?

MiniMaxのHailuoはクラス最速の生成スピード・滑らかなモーション一貫性・優れた細部保持で知られています。Hermes Agentのcustom:runapi providerを通じてテキストまたは画像からネイティブ1080p映像を生成でき、Hailuo 2.3ではアニメとイラストの専用レンダリングスタイルが追加されています。

Hailuoの活用例

顔出しなしYouTubeチャンネルコンテンツ

顔出しなしYouTubeチャンネル向けに情景カットとビジュアルシーケンスを生成します。Hailuoの高速納品と安定した出力品質が定期的なコンテンツ制作に適しています。

商品・EC向けクリップ

リアルな物理——液体を注ぐ・布が垂れる・物体が回転する——付きの商品ショーケース動画を商品詳細ページやSNS広告向けに作成します。

情景カット・Bロール素材

長編動画プロジェクト向けの背景映像とトランジションクリップを生成します。Hailuoは環境レンダリング・アトモスフェリック効果・カメラムーブメントを安定して処理します。

FAQ

Hailuo + Hermes Agent に関する質問

Hermes Agent の基本設定

まだ設定していませんか?Hermes Agent の RunAPI セットアップガイドから始めましょう。

Hermes Agent セットアップガイド →

Hailuo モデルカタログ

すべての Hailuo バリアント、価格帯、API ドキュメントを確認する。

Hailuo モデル →

今すぐ Hermes Agent で Hailuo を試す。

無料の RunAPI キーを取得し、custom:runapi provider を設定して、MiniMax Hailuo で動画生成を始めましょう。