Upload one local input file
upload_fileUpload a confirmed absolute local media file (1 byte–20 MiB) to fal.media via a credential-free HTTPS PUT for use in fal.ai workflows.
Instructions
Confirmed selected absolute regular non-symlink local file, 1 byte–20 MiB. Uses pinned SDK upload-initiation protocol then a credential-free HTTPS fal.media PUT with redirects refused. No remote URL ingestion, base64 model output, multipart retries or automatic generation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Exact configured isolated API-key profile label. | |
| confirm | No | Explicit approval for the requested paid work, mutation, upload or private file. | |
| file_path | Yes | Absolute selected local media file, regular/non-symlink, 1 byte–20 MiB. | |
| lifecycle | No | Native CDN expiry/ACL preference. Omit to use account defaults. null expiration means no expiry; default CDN access may be public. Unknown nicknames may be dropped by provider. | |
| content_type | Yes | Plain MIME type matching the selected media. |