upload_file
Upload local media files to Magic Hour AI for processing in video projects, face swapping, lip syncing, and content manipulation tools.
Instructions
Upload a local file to Magic Hour for use in other tools. Returns the file path to use in subsequent API calls.
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": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Local file path to upload (video, audio, or image) |