Quickstart
Create a key, upload a video, start its analysis and read the results.
Prepare
Section titled “Prepare”Create an account in the app and an API key on its
API keys page. Creating and starting an analysis need a confirmed address: until then, both answer 403 EMAIL_NOT_VERIFIED, and a create makes nothing.
The examples need bash, curl and jq. Set MEDIASEER_API_URL to https://api.mediaseer.ai and
MEDIASEER_API_KEY to your key in your shell environment. For uploads, set VIDEO_FILE to a local video path.
Check the key
Section titled “Check the key”Run check-key.sh. It reads your usage without creating or starting an analysis.
Upload and start
Section titled “Upload and start”Run start.sh to upload the video and start its analysis. Uploading takes a slot; starting is paid work. Check limits and costs first.
The script prints created: <id>. Set ANALYSIS_ID to that id for the remaining examples.
Run wait.sh until the analysis finishes. Stopping the wait leaves the analysis running.
Read results
Section titled “Read results”Run results.sh to read and filter the scenes. Result format explains how to interpret them.
Clean up
Section titled “Clean up”Delete analyses you no longer need to free their slots. The data page explains retention and deletion.