Skip to content

OpenRL-Lab/VideoHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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