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.
Stored buckets and presigned destinations
Section titled “Stored buckets and presigned destinations”- Saved bucket connectors (
output.bucketId+output.objectKey): Save encrypted S3-compatible or GCS credentials once withPOST /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.
Save a bucket connector
Section titled “Save a bucket connector”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..." }'const response = await fetch("https://api.splixir.com/v1/buckets", { method: "POST", headers: { Authorization: `Bearer ${process.env.SPLIXIR_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ name: "production-media", provider: "s3", bucket: "my-media-bucket", region: "us-east-1", prefix: "renders", accessKeyId: "AKIA...", secretAccessKey: "secret...", }),});const { bucket } = await response.json();console.log(bucket.id);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 |
Route job output to a saved bucket
Section titled “Route job output to a saved bucket”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.
Route job output to a presigned URL
Section titled “Route job output to a presigned URL”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?..." }}Bucket limits by plan
Section titled “Bucket limits by plan”| 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.