GuidesUpload a video
Upload a video
For a video on someone’s own computer: a one time upload page (or an address a script can upload to) and the video_url to analyze or score afterwards.
MCP toolget_upload_linkRESTaction: "get_upload_link"
Try it
curl https://mcp.ainsof.io/ \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $AINSOF_API_KEY" \
-d '{"action": "get_upload_link", "filename": "my-cut.mp4"}'What you send
filenamestring
The file's name. Characters other than letters, digits,
., _ and - become _; the last 80 characters are kept.Good to know
- Give a person
upload_page(a page with a file picker). A client that can run commands can insteadPUTthe file toupload_urlonce, with a videoContent-Typesuch asvideo/mp4. The upload slot is valid for 2 hours. - After the upload, pass
video_urltoscore_videooranalyze_video.
Every field it returns, and its errors, in the API Reference
