Privacy-first AI video enhancement, bought through AWS Marketplace and billed per second on your AWS bill.
bv_ent_. It is shown once, so store it in your secrets manager.Authorization: Bearer bv_ent_YOUR_KEY
Base URL: https://enterprise.bettervideo.io. All requests and responses are JSON over HTTPS.
1. Give us the video. Either point us at a file in your own S3 bucket (recommended, the file never leaves AWS storage) or upload it to us.
Create a pre-signed GET link valid for at least 12 hours, then start the job with it:
aws s3 presign s3://your-bucket/videos/input.mp4 --expires-in 43200
curl -X POST https://enterprise.bettervideo.io/v1/jobs \
-H "Authorization: Bearer $BV_KEY" -H "Content-Type: application/json" \
-d '{"source_url": "https://your-bucket.s3.amazonaws.com/videos/input.mp4?X-Amz-...",
"resolution": "1080p", "secure": false,
"webhook_url": "https://your-app.example.com/bettervideo-webhook"}'
# 1) ask for an upload link
curl -X POST https://enterprise.bettervideo.io/v1/uploads -H "Authorization: Bearer $BV_KEY"
# β {"upload_id": "β¦", "upload_url": "https://β¦", "method": "PUT", "content_type": "video/mp4", "expires_in": 3600}
# 2) upload the file to that link (within 1 hour)
curl -X PUT -H "Content-Type: video/mp4" --data-binary @input.mp4 "$UPLOAD_URL"
# 3) start the job from the upload
curl -X POST https://enterprise.bettervideo.io/v1/jobs \
-H "Authorization: Bearer $BV_KEY" -H "Content-Type: application/json" \
-d '{"upload_id": "β¦", "resolution": "4k", "secure": true}'
2. Wait. Use a webhook (below) or check the status every 15β30 seconds:
curl https://enterprise.bettervideo.io/v1/jobs/JOB_ID -H "Authorization: Bearer $BV_KEY"
# β {"id": "β¦", "status": "processing", "resolution": "4k", "secure": true, β¦}
3. Download. When the status is done:
curl https://enterprise.bettervideo.io/v1/jobs/JOB_ID/download -H "Authorization: Bearer $BV_KEY"
# β {"download_url": "https://β¦", "expires_in": 3600}
4. Delete when you no longer need it, or let it auto-delete (default 30 days). Secure jobs return a signed deletion certificate.
curl -X DELETE https://enterprise.bettervideo.io/v1/jobs/JOB_ID -H "Authorization: Bearer $BV_KEY"
| Field | Values | Notes |
|---|---|---|
source_url or upload_id | exactly one | Links must be public https addresses. |
resolution | 1080p (default), 4k | 1080p keeps the source size and enhances it; 4K doubles the size (e.g. 1080p β 4K). |
secure | false (default), true | Secure adds a signed deletion certificate and audit trail. |
webhook_url | optional | A public https address on port 443. |
Statuses: awaiting_upload β queued β processing β done or failed β deleted.
A failed job includes "error": {"code": "β¦", "message": "β¦"} and is never billed.
Usage report: GET /v1/usage returns your billed seconds by month and dimension.
Every job's files (your source and our output) are deleted automatically after your retention period (default 30 days), or immediately on DELETE /v1/jobs/{id}. A job can't be deleted while it is still running.
For Secure jobs, the delete response includes a signed deletion certificate, and you can fetch it again any time:
curl https://enterprise.bettervideo.io/v1/jobs/JOB_ID/deletion-certificate -H "Authorization: Bearer $BV_KEY"
# β {"certificate_id": "β¦", "job_id": "β¦", "deleted_at": "β¦", "objects_deleted": 2,
# "storage": "AWS S3 (encrypted at rest)", "reason": "customer_request",
# "algorithm": "HMAC-SHA256", "signature": "β¦"}
Keep certificates with your compliance records. Contact us if your auditor needs to have a certificate verified.
When a job finishes, we POST a JSON event to your webhook_url (3 attempts, no redirects followed):
{"event": "job.done", "job_id": "β¦", "status": "done", "billed_seconds": 92, "dimension": "Standard1080p"}
{"event": "job.failed", "job_id": "β¦", "status": "failed", "error": "unreadable_source"}
A webhook carries no video and no download link, only the job id and its result. Treat it as a notification: when it arrives, confirm with an authenticated call before acting on it:
curl https://enterprise.bettervideo.io/v1/jobs/JOB_ID -H "Authorization: Bearer $BV_KEY"
Because only your API key can read a job, a forged webhook can't trick your system into anything.
You pay through your AWS bill, per second of delivered video, rounded to the nearest second (minimum 1). Failed jobs are never billed.
| AWS dimension | Per second | Per minute |
|---|---|---|
| Standard 1080p | $0.03 | $1.80 |
| Standard 4K | $0.06 | $3.60 |
| Secure 1080p | $0.06 | $3.60 |
| Secure 4K | $0.12 | $7.20 |
| HTTP | Code | Meaning |
|---|---|---|
| 401 | unauthorized | Missing or wrong API key. |
| 403 | subscription_inactive | Your AWS Marketplace subscription isn't active. |
| 400 | invalid_source, invalid_resolution, invalid_source_url, invalid_webhook_url | Check the request body. |
| 404 | not_found, upload_not_found | No such job or upload in your account. |
| 409 | not_ready, upload_missing, job_running | Try again later or finish the previous step. |
| 429 | too_many_jobs, rate_limited | Wait for running jobs to finish, or slow down. |
Job failure codes: unreadable_source, video_too_long, source_unreachable, source_too_large, processing_error.
Limits: videos up to 60 minutes (raise it per contract), 3 jobs queued or processing at once per account (raise it per contract), source files up to 200 GB by link or 5 GB by upload. Available to buyers in the United States and Canada.
Email support@bettervideo.io. We reply within one business day.