from cloudglue import CloudGlue
# Initialize client (API key will be loaded from environment)
client = CloudGlue()
# Upload your video file
uploaded = client.files.upload(
'path/to/local/video.mp4',
wait_until_finish=True
)
# Start description using the uploaded file URI
description = client.describe.run(
url=uploaded.uri,
enable_summary=True,
enable_speech=True,
enable_scene_text=True,
enable_visual_scene_description=True,
response_format='markdown'
)
# Print the results
print(description.data.content)