← 返回
未分类 Key 中文

Luma Video

Generate AI videos with Luma Dream Machine via AceDataCloud API. Use when creating videos from text prompts, generating videos from reference images, extendi...
使用 Luma Dream Machine(AceDataCloud API)生成 AI 视频。适用于文本提示、参考图像生成视频以及视频延长等场景。
germey germey 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 363
下载
💾 0
安装
1
版本
#latest

概述

Luma Video Generation

Generate AI videos through AceDataCloud's Luma Dream Machine API.

Authentication

export ACEDATACLOUD_API_TOKEN="your-token-here"

Quick Start

curl -X POST https://api.acedata.cloud/luma/videos \
  -H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "a drone flying over a mountain lake at sunrise", "action": "generate", "wait": true}'

Workflows

1. Text-to-Video

Generate video purely from a text description.

POST /luma/videos
{
  "prompt": "a timelapse of flowers blooming in a garden",
  "action": "generate",
  "aspect_ratio": "16:9",
  "loop": false,
  "enhancement": true
}

2. Image-to-Video

Use start and/or end reference images to guide generation.

POST /luma/videos
{
  "prompt": "the scene comes alive with gentle wind",
  "action": "generate",
  "start_image_url": "https://example.com/scene.jpg",
  "end_image_url": "https://example.com/scene-end.jpg",
  "aspect_ratio": "16:9"
}

3. Extend a Video

Continue an existing video with a new prompt.

POST /luma/videos
{
  "action": "extend",
  "video_id": "existing-video-id",
  "prompt": "the camera continues forward through the forest"
}

Aspect Ratios

RatioUse Case
-----------------
16:9Landscape (default) — YouTube, TV
9:16Portrait — TikTok, Instagram Stories
1:1Square — Social media
4:3Classic — Presentations
21:9Ultra-wide — Cinematic

Parameters

ParameterTypeDefaultDescription
---------------------------------------
promptstringText description of the video (required)
actionstring"generate""generate" or "extend"
aspect_ratiostring"16:9"Video aspect ratio
loopboolfalseCreate seamless loop
enhancementbooltrueEnhance prompt for better results
start_image_urlstringReference image for first frame
end_image_urlstringReference image for last frame
video_idstringRequired for extend action

Task Polling

POST /luma/tasks
{"task_id": "your-task-id"}

Poll every 5 seconds. States: pendingcompleted or failed.

MCP Server

pip install mcp-luma

Or hosted: https://luma.mcp.acedata.cloud/mcp

Key tools: luma_generate_video, luma_generate_video_from_image, luma_extend_video

Gotchas

  • enhancement: true (default) improves prompt quality but may alter your intent — set to false for literal prompts
  • Start/end image URLs must be publicly accessible
  • loop: true creates seamless looping video — good for backgrounds and social media
  • Extend requires the video_id from a previously completed generation
  • Video generation takes 1–5 minutes depending on complexity
  • Both start and end images are optional — you can use just one for partial guidance

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 11:24 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

design-media

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 429 📥 116,679
design-media

Openai Whisper

steipete
使用 Whisper CLI 进行本地语音转文字(无需 API 密钥)
★ 330 📥 93,550
design-media

UI/UX Pro Max

xobi667
提供 UI/UX 设计智能与实现指导,帮助打造精美界面。适用于 UI 设计、UX 流程、信息架构、视觉风格、设计系统/标记、组件规格、文案/微文案、无障碍及前端 UI(HTML/CSS/JS、React、Next.js、Vue、Svelte
★ 216 📥 47,190