Upload Methods
1. Presigned Upload (Local Files)
When to use: Uploading files from your local machine, client applications, or when you need direct upload control. How it works:- Request a presigned URL via GET request
- Upload your file directly to S3 using the presigned URL
- Create the artifact record via POST request with the S3 path
Get Presigned Upload URL
Learn how to get a presigned URL for uploading local files
2. Direct URL Upload
When to use: Your file is already hosted on a publicly accessible URL. How it works:- Send a POST request with the file URL
- Dubformer downloads the file asynchronously
Create Artifact from URL
Learn how to create artifacts from public URLs
3. S3 Path Upload
When to use: Your file is already in an AWS S3 bucket. How it works:- Configure S3 credentials in your Studio Profile -> API Keys -> Add S3 credentials
- Send a POST request with the S3 path
- Dubformer downloads the file asynchronously
Create Artifact from S3
Learn how to create artifacts from S3 buckets
4. Fragment Concatenation
When to use: You need to combine multiple video/audio clips into a single artifact. How it works:- Send a POST request with an array of fragments (each with URL or S3 path)
- Dubformer downloads/copies and concatenates them
Create Artifact from Fragments
Learn how to concatenate multiple clips into one artifact
Processing Status
All upload methods create an artifact withcreated status initially. The artifact will transition through these states:
created- Artifact created, processing pendingupload_started- File is being downloaded/copied/processedupload_completed- File is ready for useupload_failed- Processing failed (checkerrorMessagefield)
Get Artifact Status
Learn how to monitor artifact processing status