ApyHub

Trim Video Clip Job API

Clip a video file or URL into a shorter output. Set start time, duration, and optional size, then poll the job_id for the finished output URL. Video Clip Job…

Media & content#video

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Clip a video file or URL into a shorter output. Set start time, duration, and optional size, then poll the job_id for the finished output URL.

Video Clip Job cuts a source video into a short output video and lets you set the starting point, clip length, and optional output size.

Send either a video file or a video_url, then choose start_time in seconds, duration in seconds, and an optional size in WIDTHxHEIGHT format. duration is capped at 20 seconds, and start_time defaults to 0. The file upload endpoint accepts a multipart video field; the URL endpoint downloads the video from an HTTP(S) source and processes it asynchronously.

Authenticate every request with your ApyHub token in the apy-token header. Documentation: https://apyhub.com/utility/job-video-thumbnail

Endpoints 3

  • POSTSubmit video clip job (multipart file)/apyhub/trim-video-job/file-to-jsonUpload a video file to start an async video clip job.
  • GETCheck video clip job status/apyhub/trim-video-job/jobs/:job_idCheck the status of a video clip job by its job ID.
  • POSTSubmit video clip job (source URL)/apyhub/trim-video-job/url-to-jsonStart a video clip job by sending the source video URL.

API details

Base URL
https://api.eu.apyhub.com
Authentication
An API key in the apy-token header
Operations
3 operations on 3 pathsPOST 2GET 1
Response formats
application/json
Description format
OpenAPI 3.0.3, API version 1.0

How to test the Trim Video Clip Job API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Trim Video Clip Job API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses an API key in the apy-token header. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Submit video clip job (multipart file)” (POST /apyhub/trim-video-job/file-to-json), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Trim Video Clip Job API?

Clip a video file or URL into a shorter output. Set start time, duration, and optional size, then poll the job_id for the finished output URL. Video Clip Job… It is listed under Media & content and has 3 endpoints.

Who publishes the Trim Video Clip Job API?

It is listed from ApyHub's public API description (an OpenAPI document), not published by ApyHub on Swastik Codes. Anyone who controls apyhub.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Trim Video Clip Job API?

Requests go to https://api.eu.apyhub.com. Endpoint paths are added to this base URL.

How do I authenticate with the Trim Video Clip Job API?

With an API key in the apy-token header.

How many endpoints does the Trim Video Clip Job API have?

3 operations on 3 paths (2 POST, 1 GET).

Is forking the Trim Video Clip Job API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.