一個驗證,對應所有 provider
一組 RunAPI key 即可解鎖整個 catalog。無需分開帳戶,亦無需為每個整合輪換密鑰。
It looks like you may prefer a different language. Switch anytime.
透過 RunAPI 使用 Luma API,包含 model skill、統一驗證與按用量計費。
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",
"video_url": "https://cdn.runapi.ai/public/samples/video.mp4",
"prompt": "Transform this office walkthrough video into a cyberpunk aesthetic with neon lighting, keeping the original camera movement."
}'
import { LumaClient } from "@runapi.ai/luma";
const client = new LumaClient();
const result = await client.modifyVideo.run({
model: "luma-modify-video",
video_url: "https://cdn.runapi.ai/public/samples/video.mp4",
prompt: "Transform this office walkthrough video into a cyberpunk aesthetic with neon lighting, keeping the original camera movement.",
});
<?php
require __DIR__ . "/vendor/autoload.php";
use RunApi\Luma\LumaClient;
$client = new LumaClient();
$result = $client->modifyVideo->run([
'model' => 'luma-modify-video',
'video_url' => 'https://cdn.runapi.ai/public/samples/video.mp4',
'prompt' => 'Transform this office walkthrough video into a cyberpunk aesthetic with neon lighting, keeping the original camera movement.',
]);
require "runapi/luma"
client = RunApi::Luma::Client.new
result = client.modify_video.run(
model: "luma-modify-video",
video_url: "https://cdn.runapi.ai/public/samples/video.mp4",
prompt: "Transform this office walkthrough video into a cyberpunk aesthetic with neon lighting, keeping the original camera movement."
)
npx skills add runapi-ai/luma -g
# Claude Code
claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
# Codex
codex plugin install runapi-mcp@agents
# Cursor / Windsurf / VS Code
npx @runapi.ai/mcp init cursor
Luma Dream Machine's video modification model retransforms existing footage with new visual styles or scene changes while preserving the source clip's motion and temporal structure.
| 模型 ID | luma-modify-video |
| 供應商 | Luma |
| 模式 | video |
| 任務類型 | asynchronous |
| 計費單位 | call |
| API endpoint | /api/v1/luma/modify_video |
| 商業授權 | 是 — 已透過 API 包含 |
| 目錄狀態 | 可正常運作 |
挑選符合輸出類型、品質門檻與延遲目標的模型與變體。
設定 RunAPI key,並在 coding workspace 安裝 model skill。
使用 skill 指引,在你的 app 內加入模型功能。
透過 task ID 查詢、在支援時串流,或處理 webhook callback。
一組 RunAPI key 即可解鎖整個 catalog。無需分開帳戶,亦無需為每個整合輪換密鑰。
按次以 USD 收費,每月結算。失敗的生成不會收費。
型別化 schema 與 setup 備註打包在 model skill 內,讓實作從正確契約開始。
Luma's modify-video endpoint takes existing footage and retransforms its visual style and content based on a text prompt, while preserving the original motion and camera dynamics.
Yes — camera movement, subject motion, and temporal structure from the source video are maintained. Only the visual style and appearance change.
Any style describable in text — cinematic, anime, painterly, noir, retro, futuristic, and more. The prompt controls the transformation direction.
MP4 is the primary supported format. Source clips should be within the size and duration limits specified in the API docs.
Both transform existing footage from prompts. Luma focuses on style transfer via the Dream Machine architecture. Runway Aleph emphasizes frame-level continuity preservation.
先選最平而且符合你質素要求的版本。大多數團隊會先用快速版本,之後再升級到 pro 用於正式生產。