Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man video-trim

/video-trim

agentutility / mediakit / video-trim
PRICE / CALL
$0.02
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
mediakit
CATEGORY
media
STATUS
live
NAME
video-trim trims a video by passing start + end or start + duration, in hh:mm:ss, mm:ss, or seconds
SYNOPSIS
POST https://x402.agentutility.ai/video-trim
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Trims a video by passing start + end OR start + duration, in HH:MM:SS, MM:SS, or seconds. CloudConvert + x264 re-encode. Use it as a video trimmer, video cutter, or video clip tool.

INPUTrequest schema
propertytypedescriptionreq?
video_urlstringrequired
trim_startanyrequired
trim_endanyoptional
durationanyoptional
output_formatstringoptional
OUTPUTresponse shape
fieldtypedescription
video_urlstringSigned URL to download the trimmed MP4 clip (x264 re-encoded).
file_size_bytesnumberSize of the trimmed output video in bytes.
trim_startstringStart timestamp applied to the cut, echoed in HH:MM:SS form.
trim_endstringEnd timestamp applied to the cut, echoed in HH:MM:SS form.
input_formatstringContainer/codec of the source video (e.g. mp4, mov, webm).
output_formatstringContainer of the returned clip, typically mp4 with x264 video.
source_urlstringOriginal video URL that was fetched and trimmed.
job_idstringCloudConvert job identifier for the trim/re-encode task.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/video-trim \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the video-trim tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
videotrimcutedit
env
CLOUD_CONVERT_API_KEY
methods
POST
cluster
mediakit
price
$0.02 USDC per call
ADJACENTother endpoints in mediakit
endpointdescriptionprice
add-watermarkAdd watermark to PDF, image, or video.$0.02
audio-loudnormAudio loudness normalizer (EBU R128 LUFS).$0.02
csv-to-jsonlConverts CSV or TSV data into JSON, JSONL/NDJSON, or column-oriented arrays.$0.02
image-translateImage translator.$0.02
image-upscaleUpscales an image 2x or 4x via Venice's image/upscale endpoint (default model: venice-sd35).$0.02
image-watermarkImage watermark / add text or logo watermark to image files.$0.02
mp4-to-mp3Converts MP4, MOV, WebM, MKV, AVI, M4V, and FLV video files to MP3 via CloudConvert, with selectable bitrate (96/128/192 kbps).$0.02
mp4-to-mp3-apiConverts MP4, MOV, WEBM, MKV, AVI, M4V, or FLV URLs into hosted MP3 output with selectable 96, 128, or 192 kbps bitrate.$0.02
SEE ALSO
agentutility · mediakit · x402 · mcp · llms.txt · registry.json · bazaar.x402.org