Run a Mod

Run the Luma Dream Machine Mod

Image to video. Generate videos from your images with Luma Dream Machine v1.5, using the first and last frames to create videos.

POST
/mods/b3648025-5081-4f25-8294-198cbe254658/run
/mods/b3648025-5081-4f25-8294-198cbe254658/run

The Authorization access token

Authorization

X-API-Key<token>

API key. Example: "X-API-Key": "<apiKey>"

In: header

Authorization
Required
Bearer <token>

Session token. Example: "Authorization": "Bearer <token>"

In: header

Request Body

application/jsonRequired

parameters
Required
object

curl -X POST "https://api.endless.io/v1/mods/b3648025-5081-4f25-8294-198cbe254658/run" \
  -H "X-API-Key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "parameters": {
      "end": {
        "type": "image",
        "url": "https://endless.supabase.co/storage/v1/object/public/static/image.png"
      },
      "inputUser": "",
      "firstFrame": {
        "type": "image",
        "url": "https://endless.supabase.co/storage/v1/object/public/static/image.png"
      },
      "image_size": "9:16"
    }
  }'

Success

{
  "type": "video",
  "url": "https://www.youtube.com/watch?v=V3rTaj7zdoc"
}