🚀

Looking for the latest Luma API?

Create and manage API access in the Luma API Platform. For current API guides and reference, visit the Luma Agents API documentation.

With the Dream Machine Python SDK, you can generate images and videos. Both processes work in a similar way: you create a request, which returns an ID, and you use this ID to check its status until it is ready.
You can use this SDK to generate images and videos using different conditions:

  • Videos:

    • Text to video
    • Image to video
  • Images:

    • Text to image
    • Character reference
    • Image reference
    • Style reference
    • Image to image (modify image)

Did this page help you?