Skip to main content

Ffmpeg Thumbnail

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEffmpeg.ffmpeg_thumbnail
  • Contract tier: agent_ready
  • Risk: write
  • Catalog version: 2026-07-12.3
  • Descriptor hash: bacd3473154201b03633dbe8a3baaabed76fde6a54a3a0c9352ced690648831d

Use this to extract a still thumbnail from a staged video at a requested timestamp and optional width. It queues a media job and returns a job ID whose result can be followed with job_status.

Request Body

{
"jsonrpc": "2.0",
"id": "ffmpeg-ffmpeg-thumbnail-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.ffmpeg_thumbnail",
"arguments": {
"asset_id": "asset_id_123",
"width": "",
"priority": "",
"time_sec": 1
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"asset_id"
],
"properties": {
"width": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Optional positive output width in pixels."
},
"asset_id": {
"type": "string",
"description": "Stable ID of one staged FFmpeg media asset."
},
"priority": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Optional queue priority configured by the server, such as urgent or batch."
},
"time_sec": {
"type": "number",
"default": 3,
"description": "Video timestamp in seconds at which to extract the thumbnail."
}
},
"additionalProperties": false
}

Output Schema

{
"type": "object",
"required": [
"job_id",
"cache_hit"
],
"properties": {
"job_id": {
"type": "string",
"description": "Stable ID used with the job readback tools."
},
"cache_hit": {
"type": "boolean",
"description": "Whether a matching completed result was reused."
},
"output_asset_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Completed output asset IDs when immediately available from cache."
}
},
"additionalProperties": false
}

Code Examples

curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ffmpeg-ffmpeg-thumbnail-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.ffmpeg_thumbnail",
"arguments": {
"asset_id": "asset_id_123",
"width": "",
"priority": "",
"time_sec": 1
}
}
}'

Example Responses

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