from obiguard import Obiguard
client = Obiguard(
obiguard_api_key="sk-obg***", # Your Obiguard API key
)
embeddings = client.embeddings.create(
model="multimodalembedding@001",
input=[
{
"text": "this is the caption of the video",
"video": {
"base64": "UklGRkacAABXRUJQVlA4IDqcAACQggKdASqpAn8B.....",
"start_offset": 0,
"end_offset": 10,
"interval": 5,
# "url": "gcs://..." # if you want to use a url
}
}
]
)