Skip to main content

Render Testimonial Clip

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEffmpeg.render_testimonial_clip
  • Contract tier: agent_ready
  • Risk: write
  • Catalog version: 2026-07-12.3
  • Descriptor hash: 8784bcaa41cb3df669793bf39b7c9fb5b3f0168405af6c88d8ff7ce56e6bac12

Use this to produce approved testimonial variants from staged media, quote, author, captions, brand, and audio inputs. It queues new output assets.

Request Body

{
"jsonrpc": "2.0",
"id": "ffmpeg-render-testimonial-clip-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.render_testimonial_clip",
"arguments": {
"primary_asset_id": "primary_asset_id_123",
"quote": "",
"author": "",
"quality": "",
"priority": "",
"audio_lra": "",
"music_gain": "",
"voice_gain": "",
"words_json": "",
"brand_kit_id": ""
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"primary_asset_id"
],
"properties": {
"quote": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Optional testimonial quotation copy for the render."
},
"author": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Optional testimonial attribution copy for the render."
},
"quality": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Approved render quality mode, normally draft or final."
},
"priority": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Optional queue priority configured by the server, such as urgent or batch."
},
"audio_lra": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Target loudness range used by normalization."
},
"music_gain": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Background-music gain multiplier within server limits."
},
"voice_gain": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Voice-track gain multiplier within server limits."
},
"words_json": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"description": "Timed word objects containing word, start, and end values; provide only one caption source."
},
"brand_kit_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Existing local brand-kit identifier."
},
"captions_srt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Inline SRT caption text; provide only one caption source."
},
"captions_vtt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Inline WebVTT caption text; provide only one caption source."
},
"framing_mode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Approved fit, fill, crop, or safe framing behavior."
},
"include_16_9": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "When true, add a 16:9 variant to the default social outputs."
},
"trim_silence": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "Whether the render pipeline should trim leading and trailing silence."
},
"ducking_ratio": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Compressor ratio used for voice-driven music ducking."
},
"highlight_mode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Approved caption word-highlight behavior."
},
"music_asset_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Stable ID of the staged background music asset."
},
"voice_asset_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Stable ID of the staged voice or dialogue audio asset."
},
"audio_true_peak": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Maximum true-peak target in dBTP."
},
"broll_asset_ids": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"description": "Optional ordered staged asset IDs used as supporting B-roll."
},
"caption_position": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Approved overlay or caption position name."
},
"primary_asset_id": {
"type": "string",
"description": "Stable ID of the primary staged media asset for the render."
},
"audio_target_lufs": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Target integrated loudness in LUFS."
},
"caption_box_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Safe FFmpeg color used for the text background box."
},
"caption_font_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Allowlisted server font filename or name."
},
"caption_font_size": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Font size in pixels within configured minimum and maximum bounds."
},
"caption_max_chars": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Maximum characters per caption line within server limits."
},
"caption_max_lines": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Maximum lines in one caption cue within server limits."
},
"caption_max_words": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Maximum words in one caption cue within server limits."
},
"ducking_attack_ms": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Ducking compressor attack time in milliseconds."
},
"ducking_threshold": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Signal threshold used to trigger ducking."
},
"safe_zone_profile": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Approved platform safe-zone profile for caption placement."
},
"caption_font_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Safe FFmpeg color used for text."
},
"caption_padding_px": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Caption box padding in pixels within server limits."
},
"ducking_release_ms": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Ducking compressor release time in milliseconds."
},
"caption_box_opacity": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Caption background opacity from 0.0 through 1.0."
},
"trim_silence_min_sec": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Minimum silence duration in seconds that the render pipeline may trim."
},
"caption_font_asset_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Optional staged font asset ID used for caption rendering."
},
"caption_highlight_color": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Safe color used for highlighted caption words."
},
"caption_safe_zone_top_px": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Additional top safe-zone inset in pixels."
},
"trim_silence_threshold_db": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Silence detection threshold in decibels."
},
"caption_safe_zone_bottom_px": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Additional bottom safe-zone inset in pixels."
}
},
"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-render-testimonial-clip-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.render_testimonial_clip",
"arguments": {
"primary_asset_id": "primary_asset_id_123",
"quote": "",
"author": "",
"quality": "",
"priority": "",
"audio_lra": "",
"music_gain": "",
"voice_gain": "",
"words_json": "",
"brand_kit_id": ""
}
}
}'

Example Responses

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