Video Add Logo
Immutable Catalog Entry
This descriptor comes from the active versioned Portal catalog.
- Contract tier:
agent_ready - Risk:
write - Catalog version:
2026-07-12.3 - Descriptor hash:
91d811f7a120a02c050f06f3ad88902d714a55a23a79e34673643c59a0aad256
Use this to overlay either a staged logo asset or an allowlisted server logo on a video. It queues a new output asset with bounded position, scale, and opacity controls.
Request Body
{
"jsonrpc": "2.0",
"id": "ffmpeg-video-add-logo-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.video_add_logo",
"arguments": {
"asset_id": "asset_id_123",
"opacity": "",
"logo_key": "",
"position": "",
"priority": "",
"scale_pct": "",
"logo_asset_id": ""
}
}
}
Arguments Schema
{
"type": "object",
"required": [
"asset_id"
],
"properties": {
"opacity": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Logo opacity from 0.0 through 1.0."
},
"asset_id": {
"type": "string",
"description": "Stable ID of one staged FFmpeg media asset."
},
"logo_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Allowlisted server-side logo key; use instead of logo_asset_id."
},
"position": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Approved overlay or caption position name."
},
"priority": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Optional queue priority configured by the server, such as urgent or batch."
},
"scale_pct": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Logo width as a bounded percentage of the video canvas."
},
"logo_asset_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Optional staged image asset ID used as the logo overlay."
}
},
"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
- Node.js
- Python
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-video-add-logo-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.video_add_logo",
"arguments": {
"asset_id": "asset_id_123",
"opacity": "",
"logo_key": "",
"position": "",
"priority": "",
"scale_pct": "",
"logo_asset_id": ""
}
}
}'
const response = await fetch('https://portal.madpanda3d.com/api/mcp', {
method: 'POST',
headers: {
Authorization: 'Bearer mad_live_***',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"jsonrpc": "2.0",
"id": "ffmpeg-video-add-logo-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.video_add_logo",
"arguments": {
"asset_id": "asset_id_123",
"opacity": "",
"logo_key": "",
"position": "",
"priority": "",
"scale_pct": "",
"logo_asset_id": ""
}
}
}),
});
const data = await response.json();
console.log(data);
import requests
url = 'https://portal.madpanda3d.com/api/mcp'
headers = {
'Authorization': 'Bearer mad_live_***',
'Content-Type': 'application/json',
}
payload = {
"jsonrpc": "2.0",
"id": "ffmpeg-video-add-logo-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.video_add_logo",
"arguments": {
"asset_id": "asset_id_123",
"opacity": "",
"logo_key": "",
"position": "",
"priority": "",
"scale_pct": "",
"logo_asset_id": ""
}
}
}
response = requests.post(url, headers=headers, json=payload, timeout=60)
print(response.json())
Example Responses
- 200 Success
- 502 Upstream Error
{
"ok": true,
"message": "Tool ffmpeg.video_add_logo executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}
{
"ok": false,
"classification": "upstream_http_error",
"message": "Upstream MCP returned a non-success status."
}