lingie_upload_file
Upload local images, videos, or audio to Lingie's ComfyUI input directory. Get a filename to use for image-to-image, reference, or first-frame parameters.
Instructions
把本地文件(图片/视频/音频)上传到灵姬的 ComfyUI 输入目录,供图生图、参考图、首帧等参数使用。返回的 filename 填入相应参数即可。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "lingie_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | 可选:上传后使用的文件名(默认用原文件名) | |
| file_path | Yes | 要上传的本地文件绝对路径 |