Prerequisites
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/14_tools/lumalabs_tool.py
Toolkit Params
| Parameter | Type | Default | Description |
|---|---|---|---|
api_key | str | None | If you want to manually supply the Lumalabs API key. |
enable_generate_video | bool | True | Enable the generate_video functionality. |
enable_image_to_video | bool | True | Enable the image_to_video functionality. |
all | bool | False | Enable all functionality. |
Toolkit Functions
| Function | Description |
|---|---|
generate_video | Generate a video from a prompt. |
image_to_video | Generate a video from a prompt, a starting image and an ending image. |
Developer Resources
- View Tools