上传文件获取可用 URL
upload_fileUpload local files, remote URLs, or base64 data to AihubMax and receive a direct URL for use in image-to-video and other generation tasks.
Instructions
把本地文件或远程 URL 转存为 AihubMax 可直接引用的 URL(用于 image-to-video 等需要 image_urls/audio_url 的场景)。三选一:path(本地文件)、url(远程转存)、base64。返回的 url 可填入生成参数。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | 远程文件 URL(转存到 AihubMax) | |
| path | No | 本地文件绝对路径 | |
| base64 | No | Base64 或 data URL 文件内容 | |
| file_name | No | 文件名(含扩展名),影响 MIME 推断 |