Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 362 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 362 Bytes

VideoHub

VideoHub API

Install

pip install videohub

Usage

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,
    )
)