VideoHub API
pip install videohub
from videohub import Client
client = Client(base_url="http://ip:port/video_qa", api_key="sk-")
print(
client.generate(
model="CogVLM",
video_path="test.mp4",
prompt="When does the man begin to jump?",
temperature=0.3,
)
)