HERMES + WAN

Hermes Agent で Wan を使う。

Wan は Alibaba のオープンソース動画・画像生成モデルで、Apache 2.0 ライセンスのもと Artificial Analysis のテキスト→動画リーダーボードで第 1 位にランクされています。Wan 2.2 から 2.7 まで 20 以上のバリアントを揃え —— テキスト→動画、画像→動画、リップシンク付き音声→動画、R2V による動画編集、最高 4K の画像生成に対応します。Hermes Agent はチャットと同じ RunAPI カスタム provider と APIキーで任意の Wan エンドポイントを呼び出します。

1つの APIキー · 20+ の Wan バリアント · Apache 2.0 オープンソース
Use RunAPI to generate a video with Alibaba Wan 2.7.

要件:
- 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/task/text_to_video
- Set model to "wan-2.7-text-to-video".
- Set output_resolution to "1080p" for full HD output.
- Include a detailed prompt describing the scene, camera motion, and lighting.
- The response 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/task/text_to_video \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "wan-2.7-text-to-video",
    "prompt": "A drone shot rising over terraced rice paddies at golden hour, mist rolling through the valleys, slow upward camera tilt",
    "output_resolution": "1080p"
  }'
{
  "task_id": "tsk_abc123",
  "status": "pending",
  "model": "wan-2.7-text-to-video"
}
curlコマンドをコピーしてテスト wan
仕組み

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

1

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 and base_url handle all Wan endpoints — no additional setup needed.

export RUNAPI_API_KEY=runapi_xxx
2

Call a Wan endpoint

Send a POST request to text_to_video with model set to wan-2.7-text-to-video and output_resolution to 720p or 1080p. For image-to-video, use wan-2.7-image-to-video with a first_frame_image_url. For speech-driven video, use wan-2.2-a14b-speech-to-video-turbo with source_audio_url and source_image_url. Hermes Agent routes all requests through the custom:runapi provider.

POST /api/v1/task/text_to_video
3

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 or image URL from the response. RunAPI SDKs and the CLI handle polling automatically.

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

Wan text_to_video API パラメータ

パラメータ 説明
model string Required. wan-2.7-text-to-video, wan-2.6-text-to-video, wan-2.5-text-to-video, wan-2.2-a14b-text-to-video-turbo, or wan-2.7-r2v.
prompt string Required. Text description of the desired video scene, including camera motion, lighting, and subject detail.
output_resolution string Optional. 720p or 1080p for Wan 2.5+. Wan 2.2 also accepts 480p and 580p. Defaults to 720p.
aspect_ratio string Optional. For wan-2.7-r2v only. Accepted values: 16:9, 9:16, 1:1, 4:3, 3:4.
duration_seconds integer Optional. For wan-2.7-r2v only. Video length in seconds, 2 to 10.
seed integer Optional. Reproducibility seed for deterministic output.
callback_url string Optional. Webhook URL that receives a POST when the task completes.

Hermes AgentのWanとは?

WanはAlibaba製のApache 2.0オープンソース動画モデルで、Artificial Analysisリーダーボードのトップにあり、フレームレベルの制御精度・キャラクター一貫性・ネイティブリップシンクで知られています。Hermes Agentを通じて最大1080pのテキスト→動画と画像→動画が可能で、20以上のバリアントすべてに単一のprovider設定でアクセスできます。

Wanの活用例

大規模なブランドコンテンツ

Wanのキャラクター一貫性を活用して大量のブランド動画コンテンツを制作します。Hermes Agentは異なる製品ラインにわたって生成タスクを並行してディスパッチできます。

リップシンク付き対話コンテンツ

1回のHermes Agentワークフローでまずスクリプトテキストをフォームにしてからリップシンクトーキング動画を作成します——ElevenLabs TTSとWanの音声→動画エンドポイントを連結します。

映像制作とエージェンシーのプリビジュアライゼーション

エンドポイント固定のキーフレームで本番グレードのプリビジュアライゼーションクリップを生成します。ファーストとラストフレーム画像を設定してクライアントレビュー向けの正確なシーントランジションを制御します。

FAQ

Wan + Hermes Agent に関する質問

Hermes Agent の基本設定

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

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

Wan モデルカタログ

すべての 20+ の Wan バリアント、価格帯、エンドポイントドキュメントを確認する。

Wan on RunAPI →

今すぐ Hermes Agent で Wan を試す。

無料の RunAPI キーを取得し、custom:runapi provider を設定して、第 1 位のオープンソースモデルで動画を生成しましょう —— テキスト→動画、画像→動画、または音声→動画。