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.
150 credits/call
Pricing
150 credits/call
| Condition | Charge |
|---|---|
| Each call | 150 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
videoUrl | string | Yes | Publicly accessible MP4 URL to trim. | — |
endTimestamp | string | Yes | End timecode for the trim in HH:MM:SS or HH:MM:SS.mmm format. | — |
requestSource | enum (API | WEB | MAKE_DOT_COM | ZAPIER | N8N | PLAYGROUND | DEFAULT_AUTOMATION | AGENT_PREVIEW | AGENT_LIVE | AUTOPILOT | STUDIO) | No | Optional identifier describing where the API request originated. | — |
startTimestamp | string | Yes | Start 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-KeyRequest 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
{
"creditsUsed": 2600,
"trimmedVideoUrl": "https://pub-1ff5a17124b34b658b5b75065b3a03e8.r2.dev/temp-bf93e684-92fe-4c55-8942-c9223219daac.mp4"
}
