Upload File
File Uploads
Upload File
Generate a presigned URL to upload a temporary file. Files are automatically deleted after 60 minutes.
POST
Upload File
Authentication
This endpoint requires an API key.Request Body
string
required
Name of the file to upload. Example:
"my-image.png"string
required
MIME type of the file. Allowed types:
image/jpeg, image/png, image/webp, image/gif, video/mp4, video/webm, audio/mpeg, audio/wav.Response
string
Presigned PUT URL. Upload your file here with a PUT request within 15 minutes.
string
CDN URL where the file will be accessible after upload. Use this URL in job inputs.
string
Unique identifier for the upload. Use to check status.
string
ISO 8601 timestamp when the file will be automatically deleted (60 minutes from creation).
number
Maximum allowed file size in bytes. Images: 10MB, Videos: 100MB, Audio: 50MB.
How It Works
- Call this endpoint to get a presigned upload URL
- Upload your file via PUT to the
uploadUrl(includeContent-Typeheader) - Use the
fileUrlin your job submission input - File is automatically deleted after 60 minutes
