Dumpling AI Trim Video

150 credits/call
ae_dumplingai_trim_video

Trim an MP4 video from a public URL to specific start and end timestamps using DumplingAI.

Video
150 credits/call

Pricing

150 credits/call
ConditionCharge
Each call150 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
videoUrlstringYesPublicly accessible MP4 URL to trim.—
endTimestampstringYesEnd timecode for the trim in HH:MM:SS or HH:MM:SS.mmm format.—
requestSourceenum (API | WEB | MAKE_DOT_COM | ZAPIER | N8N | PLAYGROUND | DEFAULT_AUTOMATION | AGENT_PREVIEW | AGENT_LIVE | AUTOPILOT | STUDIO)NoOptional identifier describing where the API request originated.—
startTimestampstringYesStart timecode for the trim in HH:MM:SS or HH:MM:SS.mmm format.—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_dumplingai_trim_video' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "endTimestamp": "00:25:00",
    "requestSource": "API",
    "startTimestamp": "00:12:30",
    "videoUrl": "https://file.gw.xnetwk.net/file/a74a8e74-23f4-4dde-9bcb-a300560409f5.m4a"
  }
}'
Response exampleresponse.json
JSON
{
  "creditsUsed": 2600,
  "trimmedVideoUrl": "https://pub-1ff5a17124b34b658b5b75065b3a03e8.r2.dev/temp-bf93e684-92fe-4c55-8942-c9223219daac.mp4"
}