Skip to main content

Image To Video

Snapshot Catalog Entry

This page is generated from broker tools/list snapshot data.

POSTffmpeg.image_to_video

Execute ffmpeg.image_to_video through the broker.

Request Body

{
"jsonrpc": "2.0",
"id": "ffmpeg-image-to-video-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.image_to_video",
"arguments": {
"asset_id": "asset_id_123",
"duration_sec": "",
"width": "",
"height": "",
"fps": "",
"background_color": "",
"priority": ""
}
}
}

Arguments Schema

{
"properties": {
"asset_id": {
"type": "string"
},
"duration_sec": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"width": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"height": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"fps": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"background_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"priority": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"asset_id"
],
"type": "object"
}

Code Examples

curl -X POST 'https://madpanda3d.com/lab/mad-mcps/portal/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ffmpeg-image-to-video-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.image_to_video",
"arguments": {
"asset_id": "asset_id_123",
"duration_sec": "",
"width": "",
"height": "",
"fps": "",
"background_color": "",
"priority": ""
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool ffmpeg.image_to_video executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}