Skip to main content
POST
/
v1
/
video
/
trim
{
  "input": "https://example.com/video.mp4",
  "start": "00:00:10",
  "end": "00:00:30"
}
curl -X POST https://api.ringbee.dev/v1/video/trim \
  -H "X-API-Key: YOUR_API_KEY" \
  -F "file=@video.mp4" \
  -F "start=00:00:10" \
  -F "end=00:00:30"
{
  "id": "job_abc123",
  "status": "pending"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{
  "input": "https://example.com/video.mp4",
  "start": "00:00:10",
  "end": "00:00:30"
}
curl -X POST https://api.ringbee.dev/v1/video/trim \
  -H "X-API-Key: YOUR_API_KEY" \
  -F "file=@video.mp4" \
  -F "start=00:00:10" \
  -F "end=00:00:30"
ParamTypeDescription
startstringStart timestamp (HH:MM:SS)
endstringEnd timestamp (HH:MM:SS)

Authorizations

X-API-Key
string
header
required

Body

input
string
required

Input file URL

start
string

Start timestamp (HH:MM:SS)

end
string

End timestamp (HH:MM:SS)

webhook_url
string

URL to receive job completion notification

Response

Job accepted

id
string
Example:

"job_abc123"

status
enum<string>
Available options:
pending,
processing,
completed,
failed,
cancelled
Example:

"pending"