Loading...
Loading...
Generate AI videos with Luma Dream Machine via AceDataCloud API. Use when creating videos from text prompts, generating videos from reference images, extending existing videos, or any video generation task with Luma. Supports text-to-video, image-to-video, and video extension.
npx skill4agent add acedatacloud/skills luma-videoSetup: See authentication for token setup.
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", "callback_url": "https://api.acedata.cloud/health"}'Async: See async task polling. Poll viawithPOST /luma/tasks.{"id": "..."}
POST /luma/videos
{
"prompt": "a timelapse of flowers blooming in a garden",
"action": "generate",
"aspect_ratio": "16:9",
"loop": false,
"enhancement": true
}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"
}POST /luma/videos
{
"action": "extend",
"video_id": "existing-video-id",
"prompt": "the camera continues forward through the forest"
}| Ratio | Use Case |
|---|---|
| Landscape (default) — YouTube, TV |
| Portrait — TikTok, Instagram Stories |
| Square — Social media |
| Classic — Presentations |
| Ultra-wide — Cinematic |
| Parameter | Type | Default | Description |
|---|---|---|---|
| string | — | Text description of the video (required) |
| string | | |
| string | | Video aspect ratio |
| bool | | Create seamless loop |
| bool | | Enhance prompt for better results |
| string | — | Reference image for first frame |
| string | — | Reference image for last frame |
| string | — | ID of video to extend (alternative to |
| string | — | URL of video to extend (alternative to |
| number | — | Timeout in seconds for the API to return data |
| string | — | Webhook URL for async notifications |
enhancement: truefalseloop: truevideo_idvideo_urlMCP:| Hosted:pip install mcp-luma| See all MCP servershttps://luma.mcp.acedata.cloud/mcp