Skip to main content
LumaLabTools enables an Agent to generate media using the Lumalabs platform.

Prerequisites

The following example requires the lumaai library. To install the Lumalabs client, run the following command:

Example

The following agent will use Lumalabs to generate any video requested by the user.
cookbook/tools/lumalabs_tool.py

Toolkit Params

ParameterTypeDefaultDescription
api_keystrNoneIf you want to manually supply the Lumalabs API key.

Toolkit Functions

FunctionDescription
generate_videoGenerate a video from a prompt.
image_to_videoGenerate a video from a prompt, a starting image and an ending image.

Information