Get a generated file
vids_get_mediaCheck a mediaId (from a job result, or an avatar's previewMediaId) and get its download URL; an image also comes back as an image you can see, a video or a speech wav only as its type, size and URL. Google's files are temporary: an expired one answers 404. GET /media/{mediaId}.
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": {
"mediaId": "<mediaId>"
},
"name": "vids_get_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mediaId | Yes | A video, image or audio (speech) mediaId. |