Media API
Cross-media utilities that work across videos, audios, images, and texts.
Endpoints:
POST /v2/{media_type}/upload-url— get a presigned URL to upload large files directly to cloud storage (step 1 of the upload flow; then PUT the file to the URL and callPOST /v2/videosorPOST /v2/audioswith the returnedpublic_url)GET /v2/{media_type}/{media_id}/statuses— poll fine-grained processing statuses (transcription, personality, report, annotated video, …) without fetching the full analysis payload
Get a presigned URL for direct file upload to cloud storage
Returns a signed URL that allows the client to upload a file directly to Google Cloud Storage via HTTP PUT. This avoids sending the file through the backend, eliminating upload timeouts for large files.
Get Media Statuses
Get status fields for a specific media item.