Hermes Agent で Luma を使う。
Luma Ray 3.2 は、空間的整合性と 3D シーン構造を保ったプロンプト駆動の変換で既存の動画を編集します。ソース動画の URL と変換を記述したテキストプロンプトを送ると、Luma が雰囲気のある照明、環境ディテール、物理的に一貫したカメラモーションで映像を再レンダリングします。Hermes Agent は RunAPI のカスタムエンドポイント経由でこれを呼び出します。
RunAPI を使って Luma Ray 3.2 で動画を編集します。
要件:
- RUNAPI_API_KEY から API キーを読み込みます。
- base_url を https://runapi.ai/v1 として custom:runapi プロバイダーを使用します。
- POST https://runapi.ai/api/v1/luma/modify_video を呼び出します。
- model を "luma-modify-video" に設定します。
- source_video_url を変換する動画の URL に設定します。
- prompt に希望する変換内容を記述します。
- このタスクは非同期です。返された task_id を status が "completed" になるまでポーリングします。
- 完了したら、レスポンスの output から編集済み動画の URL を読み取ります。
curl -X POST https://runapi.ai/api/v1/luma/modify_video \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "luma-modify-video",
"prompt": "Transform the scene into a foggy autumn morning with golden light filtering through trees",
"source_video_url": "https://example.com/park-walk.mp4"
}'
{
"task_id": "tsk_abc123",
"status": "pending",
"model": "luma-modify-video"
}
Hermes Agent で Luma を使う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 Luma video modification requests.
export RUNAPI_API_KEY=runapi_xxx
Call Luma modify_video
Send a POST request to the modify_video endpoint with model set to luma-modify-video, the source_video_url pointing to your input footage, and a prompt describing the transformation. Hermes Agent can build and send this request through the custom:runapi provider.
POST /api/v1/luma/modify_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. Video modification typically takes 30-120 seconds depending on complexity.
GET /api/v1/luma/modify_video/tsk_abc123
Luma modify_video API パラメータ
| パラメータ | 型 | 説明 |
|---|---|---|
model |
string |
Required. Use luma-modify-video. |
prompt |
string |
Required. Text description of the desired video transformation — style changes, lighting, atmosphere, or scene edits. |
source_video_url |
string |
Required. URL of the source video to modify. Must be a publicly accessible MP4 or MOV file. |
watermark |
boolean |
Optional. Whether to add a watermark to the output video. |
callback_url |
string |
Optional. Webhook URL that receives a POST when the task completes. |
Hermes AgentのLumaとは?
Luma Ray 3.2(Dream Machine)はプロンプト駆動の変換で既存動画を再レンダリングしながら3D空間一貫性と物理的に一貫したカメラモーションを維持します。Hermes Agentのcustom:runapi providerを通じてソース映像の大気調整・スタイル変換・環境編集を処理します。
Lumaの活用例
コンセプトリールとアニメーションスティル
静的なコンセプトアートや粗い映像をスタイライズドモーション作品に変換します。Hermes Agentは1つのワークフローでKlingまたはWanでベース動画を生成してからLumaに渡して大気感を再レンダリングできます。
季節的・ブランドコンテンツの再利用
既存の動画アセットを季節キャンペーン・新ブランドガイドライン・異なる市場の美学に合わせて再レンダリングし、撮り直しなしで行えます。Lumaはビジュアル処理を変えながら元のコンポジションを維持します。
抽象的・シュールなビジュアルコンテンツ
クリエイティブプロジェクト・音楽ビジュアライゼーション・実験的コンテンツ向けにソース映像にシュールリアル・絵画的・抽象的な変換を加え、Lumaの夢幻的なレンダリング品質を最大限活用します。
Luma + Hermes Agent に関する質問
Luma modify_video re-renders existing footage with prompt-driven changes — atmospheric shifts (fog, rain, golden hour), style transfers (cinematic, anime, noir), lighting overhauls, and environmental transformations. It preserves the original camera motion and spatial layout of the scene.
No. Luma Ray 3.2 only modifies the visual track of your source video. If the source has audio, Luma's output is video-only. Use a separate audio model like ElevenLabs or Suno through RunAPI to add sound after the visual transformation is complete.
Asynchronous. The create endpoint returns a task_id immediately. Poll the task status endpoint or provide a callback_url to receive a webhook when the modified video is ready. Typical processing time is 30-120 seconds.
Yes. A Hermes Agent workflow can generate a video with Kling or Wan, then pass the output URL as source_video_url to Luma modify_video for atmospheric re-rendering — all through the same custom:runapi provider and RUNAPI_API_KEY. Each step uses the same async polling pattern.
Luma preserves the original composition and spatial layout, including character positions and proportions. However, fine facial details can drift during heavy style transfers. For best character consistency, keep style changes moderate or use reference images to anchor key subjects.
Yes. Hermes Agent can chain Luma calls -- apply a style change first, then a scene modification, each building on the previous output. This enables complex multi-pass video editing within one workflow.
今すぐ Hermes Agent で Luma を試す。
無料の RunAPI キーを取得し、custom:runapi プロバイダーを設定して、Luma Ray 3.2 の空間認識変換で動画の編集を始めましょう。