Generate presigned upload URL
Generates a presigned URL for direct file upload to Google Cloud Storage. This is the first step in the upload workflow - use the returned URL to upload your file. Upload Workflow: 1. Call this endpoint to get a presigned URL 2. Upload file directly to GCS using HTTP PUT 3. Call /v1/upload/confirm to verify upload 4. Use the GCS URL in your transcode request Benefits: - No server bandwidth usage - Faster uploads (direct to GCS) - Secure (presigned URLs expire)
post/v1/upload/presigned-url
Request
- Base URL: https://api.ffmpeg-micro.com
- URL: https://api.ffmpeg-micro.com/v1/upload/presigned-url
- Auth: HTTP bearer
Request body
Example request
{
"filename": "my-video.mp4",
"contentType": "video/mp4",
"fileSize": 10485760
}Response
Presigned URL generated successfully
Example response
{
"success": true,
"result": {
"uploadUrl": "https://storage.googleapis.com/bucket/timestamp-my-video.mp4?X-Goog-Algorithm=...",
"filename": "20251023-143045-my-video.mp4"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.