Skip to main content
This example demonstrates how to create an AI agent that generates videos using the Replicate API with the HunyuanVideo model.

Code

generate_video_using_replicate.py

Usage

1

Set up your virtual environment

2

Install dependencies

3

Export your OpenAI API key

4

Run Agent