Upload one local input file
upload_fileUpload a selected local media file (1 B–20 MiB) to fal.media using the pinned SDK upload-initiation protocol and a credential-free HTTPS PUT with redirects refused.
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 | Set true only when the user asked for exactly this action. | |
| 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. |