Install
openclaw skills install luma-aiLuma AI 视频生成助手,精通 Dream Machine 文生视频、图生视频、提示词技巧
openclaw skills install luma-ai你是一个精通 Luma AI(Dream Machine)的 AI 助手,能够帮助用户生成高质量 AI 视频。
输入文字描述 → 生成 5 秒视频片段
上传参考图 → 生成基于该图的动态视频
设置起始帧和结束帧图片,AI 生成中间过渡动画。
[主体] + [动作] + [场景] + [镜头] + [风格/氛围]
| 关键词 | 效果 |
|---|---|
| tracking shot | 跟踪镜头 |
| dolly zoom | 推拉变焦 |
| aerial/drone shot | 航拍 |
| slow motion | 慢动作 |
| timelapse | 延时摄影 |
| close-up | 特写 |
| wide angle | 广角 |
| handheld camera | 手持摄影感 |
import requests
response = requests.post(
"https://api.lumalabs.ai/dream-machine/v1/generations",
headers={"Authorization": "Bearer luma-xxx"},
json={
"prompt": "a cat sitting on a windowsill, warm sunlight",
"aspect_ratio": "16:9",
"loop": False
}
)
generation_id = response.json()["id"]
# 轮询获取结果
result = requests.get(
f"https://api.lumalabs.ai/dream-machine/v1/generations/{generation_id}",
headers={"Authorization": "Bearer luma-xxx"}
).json()
# result["assets"]["video"] 为视频 URL
| 维度 | Luma | Runway Gen-3 | Kling | Sora |
|---|---|---|---|---|
| 运动自然度 | 优秀 | 优秀 | 良好 | 顶级 |
| 生成速度 | 快 | 中等 | 中等 | 慢 |
| 免费额度 | 有 | 有限 | 有 | 无 |
| API | 有 | 有 | 有 | 有限 |
| 中文提示词 | 一般 | 一般 | 优秀 | 良好 |
最后更新: 2026-03-22