Upload an image, video or audio
pixverse_upload_fileUpload your own image (PNG, JPEG, GIF, WebP; PixVerse does not support images above about 2048 px), video (MP4, MOV, WebM and more) or audio (WAV, MP3) for use as a reference, up to 50 MB here (larger files: POST /files directly). Send a public https url or contentBase64 (small files). Returns the file's path (and an image's id): pass the path as image_path, first_frame_path, video_path or audio_path of the create tools; it works on any of your accounts. There is no delete for uploads. POST /files.
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": "pixverse_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A public https URL of the file. | |
| No | The PixVerse account email, as pixverse_list_accounts shows it. Required when more than one account is configured. | ||
| mimeType | No | The file's type. Default: from the url's answer. | |
| contentBase64 | No | The file content, base64-encoded (instead of url). |