Skip to content

BYO storage

Bring-your-own (BYO) storage writes verified outputs directly into a bucket you control instead of retaining them on Splixir storage. Choose saved bucket connectors for recurring pipelines, or pass a presigned PUT URL on individual jobs.

  • Saved bucket connectors (output.bucketId + output.objectKey): Save encrypted S3-compatible or GCS credentials once with POST /v1/buckets. Requires a paid plan (PAYG Starter/10x/Basic: 1, Pro/PAYG 20x: 3, Scale/PAYG 30x: 5, Studio: 10).
  • One-off presigned URL (output.destination): Pass any HTTPS presigned PUT URL on a job without storing credentials. Available on all plans.
Terminal window
curl -X POST https://api.splixir.com/v1/buckets \
-H "Authorization: Bearer $SPLIXIR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "production-media",
"provider": "s3",
"bucket": "my-media-bucket",
"region": "us-east-1",
"prefix": "renders",
"accessKeyId": "AKIA...",
"secretAccessKey": "secret..."
}'

Splixir returns 201 Created with the saved bucket metadata (bkt_...) and accessKeyIdPreview. Use GET /v1/buckets to list connectors and DELETE /v1/buckets/:id to remove one.

Provider value Required fields Notes
s3 region Standard AWS S3 region, for example us-east-1
r2 endpoint Clean HTTPS origin URL with no path, query, or fragment
gcs bucket, credentials Interoperability HMAC access key and secret

Pass bucketId and optional objectKey inside output. If you omit objectKey, Splixir writes <jobId>.<ext> under the bucket’s prefix.

{
"kind": "video",
"input": "https://cdn.example.com/input.mp4",
"operations": [{ "type": "transcode", "codec": "h264", "container": "mp4" }],
"output": {
"format": "mp4",
"bucketId": "bkt_...",
"objectKey": "renders/job-123/output.mp4"
}
}

You cannot specify both output.destination and output.bucketId on the same job, and output.objectKey requires output.bucketId.

Pass a presigned PUT URL in output.destination for single-job delivery:

{
"kind": "video",
"input": "https://cdn.example.com/input.mp4",
"operations": [{ "type": "thumbnail", "format": "jpeg" }],
"output": {
"format": "jpeg",
"destination": "https://my-bucket.s3.amazonaws.com/out.jpg?..."
}
}
Plan Saved buckets
Free 0
PAYG (Starter, 10x) 1
Basic 1
Pro, PAYG (20x) 3
Scale, PAYG (30x) 5
Studio 10

Exceeding your plan allowance returns 403 bucket_limit_reached. See Retention and security and Pricing and limits.