← All tutorialsMedia

Auto-subtitle a video

Upload an mp4, get an SRT back. video.subtitle uses Deepgram under the hood - burn-in is your codec, not ours.

Cost~$0.04 per minute
Operations
video.subtitle

Prerequisites

  • video.subtitle enabled.

Walkthrough

1. Submit the video

Public URL or presigned S3. The job is sync up to ~10 min clips; for longer media, poll the returned `job_id`.

bash# Returns SRT (or VTT) plus per-segment timings.
curl -X POST https://www.upivia.com/v1/service-requests \
  -H "Authorization: Bearer $AGENT_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "service":"video",
    "operation":"subtitle",
    "payload":{"video_url":"https://cdn.example.com/talk.mp4","language":"en","format":"srt"}
  }'

Next steps

Audit every call at /audit-logs, watch spend at /usage, and tune budgets per service on the agent's page.

Create an account →