Upload a file to Luw.ai
luw_upload_fileUpload an image, video, or 3D file to Luw.ai storage and get a shareable URL for any Luw.ai tool. Use it to re-host unreachable images or store files permanently.
Instructions
Upload an image, video or 3D file to Luw.ai storage and get a URL usable by every Luw.ai tool. Rarely needed: all tools already accept local paths and data: URIs and upload them automatically. Useful to get a shareable URL, to re-host an image from a site Luw.ai can't reach, or to store a file permanently.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Local file path, file:// URL, data: URI, or an https:// URL to copy into Luw.ai storage. | |
| persistent | No | Keep the file in your Luw.ai storage permanently. Default: temporary, auto-deleted after 12 hours. | |
| persona_id | No | Persona to store a persistent file under (default: your first persona). |