Luma 视频生成 API 推广短文

Luma 的视频 API 可用文字提示生成镜头,也支持用图片指定首帧和尾帧。

调用示例

# 文生视频
curl -X POST 'https://api.acedata.cloud/luma/videos' \
  -H 'authorization: Bearer {YOUR_TOKEN}' \
  -H 'content-type: application/json' \
  -d '{
    "action": "generate",
    "prompt": "drone shot flying over a snowy mountain at sunrise, cinematic",
    "aspect_ratio": "16:9"
  }'

# 图生视频 + 首尾帧
curl -X POST 'https://api.acedata.cloud/luma/videos' \
  -H 'authorization: Bearer {YOUR_TOKEN}' \
  -H 'content-type: application/json' \
  -d '{
    "action": "generate",
    "prompt": "smooth zoom in",
    "start_image_url": "https://example.com/start.jpg",
    "end_image_url": "https://example.com/end.jpg"
  }'

把 example.com 地址替换为你有权使用、接口可访问的图片。任务可用 async: true 异步执行,可走 callback_url 回调或轮询 /luma/tasks 查状态。

适用场景

  • 品牌广告 / 产品片 —— 从产品图开始试拍摄方向和光线
  • 关键帧动画 —— 传入首尾帧作为转场参考
  • 回忆 / 故事化内容 —— 把老照片做成短视频
  • 影视行业概念稿 —— 给客户演示分镜时比 storyboard 更直观

链接