Upload asset
upload_assetUpload fal-hosted media to the authenticated user's fal Assets library, with optional tags, favorite status, collection assignment, and caption indexing.
Instructions
Upload asset for the authenticated user's fal Assets library.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | fal-hosted media URL to ingest into the asset library | |
| type | No | Media type for the uploaded asset | |
| prompt | No | Optional caller-provided caption or description to index with the uploaded asset | |
| account | No | Exact private account key profile label, not an authenticated provider owner ID. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| payload | No | Complete native JSON body, mutually exclusive with flat body flags and payload_file. Use schema for union bodies. | |
| tag_ids | No | Tag IDs to assign to the uploaded asset | |
| favorite | No | Whether to favorite the uploaded asset immediately | |
| payload_file | No | Absolute regular non-symlink private JSON file, at most 1 MiB. Cannot mix with other body inputs. | |
| collection_id | No | Optional manual collection ID to add the uploaded asset to | |
| Idempotency_Key | No | Optional idempotency key for safe request retries |