Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man video-trim

/video-trim(1)

agentutility / mediakit / video-trim
PRICE / CALL
$0.02
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
mediakit
CATEGORY
media
STATUS
live
NAME
video-trim video trimmer / video cutter / video clip tool
SYNOPSIS
POST https://x402.org/v1/video-trim
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

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

Video trimmer / video cutter / video clip tool. Pass start + end OR start + duration. HH:MM:SS, MM:SS, or seconds. CloudConvert + x264 re-encode.

INPUTrequest schema
propertytypedescriptionreq?
video_urlstringPublic URL of a video file.required
trim_startanyStart time. HH:MM:SS, MM:SS, or seconds.required
trim_endanyEnd time. HH:MM:SS, MM:SS, or seconds. Use this OR duration.optional
durationanyLength to keep from trim_start. HH:MM:SS, MM:SS, or seconds.optional
output_formatstringOutput format. Default: same as input.optional
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.org/v1/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 once
claude mcp add x402 --command "npx x402-deployer-mcp"

# then ask Claude Code:
# "use the video-trim tool to ..."
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
audio-loudnormAudio loudness normalizer (EBU R128 LUFS).$0.02
csv-to-jsonlCSV to JSON / CSV to JSONL converter / data pipeline preprocessor.$0.02
image-translateImage translator: vision-OCR + Venice translate.$0.02
image-upscaleImage upscale / 2x upscaler / 4x upscaler / super-resolution / sharpen image / enlarge image without loss.$0.02
pdf-watermarkPDF watermark / image watermark / video watermark — text or image overlay on PDFs, PNG/JPG/GIF, or MP4/MOV/WEBM.$0.02
video-to-subtitlesSRT / VTT subtitle generator from video or audio.$0.02
watermarkPDF / image / video watermarking — text or image overlay.$0.02
watermark-pdfAdd watermark to PDF.$0.02
SEE ALSO
agentutility(7) · mediakit(7) · x402(7) · mcp(7) · llms.txt · registry.json · bazaar.x402.org