Tools
Lumalabs
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
Parameter | Type | Default | Description |
---|---|---|---|
api_key | str | None | If you want to manually supply the Lumalabs API key. |
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. |
Information
- View on Github
Was this page helpful?