Upload asset
upload_assetIngest fal-hosted media into the authenticated user's fal Assets library; optionally tag, favorite, or add it to a collection.
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 | Must be true for the requested mutation, paid work or private output file. | |
| 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 |