ModelsLabs is a video generation tool that allows you to generate videos based on a text prompt.Create a file models_labs_agent.py with the following code:
models_labs_agent.py
Copy
Ask AI
from phi.agent import Agentfrom phi.tools.models_labs import ModelsLabs# Create an Agent with the ModelsLabs toolagent = Agent(tools=[ModelsLabs()], name="ModelsLabs Agent")agent.print_response("Generate a video of a beautiful sunset over the ocean", markdown=True)