upload_image
Upload and moderate a PNG/JPEG/WebP image for video generation. Provide raw base64 (no data URL), maximum 3 MiB decoded. Use the returned url as imageUrl or lastFrameUrl. Requires a key. Clients with file/shell access can instead POST multipart file to https://stivio.ai/api/upload with the same Bearer key; do not ask the language model to transcribe image bytes.
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": {
"base64": "<base64>",
"mimeType": "<mimeType>"
},
"name": "upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base64 | Yes | ||
| mimeType | Yes |