Upload the user's video
upload_videoUse this when the user wants to use a video of their own as the moves for motion_control (a dance, a gesture, a walk they recorded). Pass a video file the user attached as video, or a link to a video file as url, and it returns an upload_id at once. With neither, it returns a link to an upload page on theinfluencer.ai for the user to open; give them the link and wait for them to say it's done. Free. Instagram reels don't need uploading: use read_reel and its reel_id.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upload_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | An https:// link to a video file (MP4, MOV or WebM), not to a page. | |
| video | No | A video file the user attached in the chat. | |
| content_type | No | Only when you can run shell commands and have the file on disk: its type, to get a put_url to send it to with curl. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | Present only on a refusal: the summary says why, and what the user can do. | |
| url | No | ||
| status | No | ||
| put_url | No | ||
| summary | Yes | ||
| upload_id | No | ||
| error_code | No | Present only on a refusal. | |
| upload_page_url | No |