upload_file
Upload a file from a URL to Wiro for model input when direct URLs are not supported or reuse across runs is needed.
Instructions
Upload a file from a URL to Wiro for use as model input. Note: most models accept direct URLs in file parameters (e.g. inputImage, inputImageUrl) without uploading first. Only use this when the model requires a Wiro-hosted file or when you need to reuse the same file across multiple runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the file to upload (image, audio, video, document) | |
| file_name | No | Custom filename for the upload. If not provided, derived from the URL. |