Upload asset
Upload asset for the authenticated user’s fal Assets library.
Required permissions: assets:write. Key presets that include them: API, SERVERLESS, FULL. See key permissions.
Authorizations
Key on the API preset, or any key whose permissions include the ones this API lists. APIs with no required permission accept any key. Prefix it with "Key ", e.g. Authorization: Key YOUR_API_KEY
Headers
Optional idempotency key for safe request retries
"550e8400-e29b-41d4-a716-446655440000"
Body
fal-hosted media URL to ingest into the asset library
Media type for the uploaded asset
image, video, audio, 3d Optional caller-provided caption or description to index with the uploaded asset
1 - 2000Optional manual collection ID to add the uploaded asset to
Whether to favorite the uploaded asset immediately
Tag IDs to assign to the uploaded asset
Response
Upload ingested
Asset details