Compress Videos
Keep Quality

Quickly compress videos with our secure, scalable API, while maintaining high quality

curl https://videos.deepengin.com/v1/compressVideo/ \
-X POST \
-H "Content-Type: application/json" \
-d
'{ "id": 32,
"api_key": "luvTtnpxCqIOAR0mEJgdqxU8rqw",
"url": "https://domain.com/apple.mp4",
"webhook": "https://domain.com/api/getResultFromDeepengin"
}' \
https://videos.deepengin.com/v1/compressVideo

{
   "code": "200",
   "msg": "The process of Video Compression has started"
}
    Once Deepengin has processed the input, it will automatically transmit the resulting output to the specified callback URL":
'{
"file_id": 32,
"original_file": "apple.mp4",
"original_file": "https://domain.com/apple.mp4",
"compress_url": "https://deepengin.s3.amazonaws.com/video/66fd22cd19e0bd1wwy_compress.mp4",

The world's top engineers and organizations run on Deepengin

logo
logo
logo
logo
logo
logo
logo
logo

Why use Deepengin

Efficient Image Video Moderation

API delivers moderation outcomes promptly and adjusts dynamically to accommodate your requirements. Effortlessly expand your moderation process to handle millions of images or videos per month

Simple Developer Integration

Designed by developers for developers, the API requires minimal coding to get started. Utilize our easy-to-use SDKs and comprehensive documentation

Privacy-Protected Automation

Completely Automated Moderation with Privacy and Confidentiality Guaranteed

Comprehensive Video Compression API with Advanced Features and Secure Workflows

Simple, transparent, and cost-effective pricing

Starter

$9

per
month

3000 Operations / month

1 requests per second

Attribution required

Professional

$29

per
month

10,000 Operations / month

3 requests per second

Commercial usage allowed

Email and live chat support

Scale

$99

per
month

50,000 Operations / month

10 requests per second

Domains whitelisting

Commercial usage allowed

Dedicated support

Enterprise

$349

per
month

250,000 Operations / month

25 requests per second

Domains whitelisting

Commercial usage allowed

Dedicated support

Need more requests, enterprise-grade SLA's, faster response time, or premium data?
Contact us to learn about our Enterprise plan.

Video Compression API Documentation

Overview

Deepengin’s Video Compression API is a simple yet powerful REST API that enables efficient video compression, allowing users to reduce video file sizes while maintaining optimal quality. It supports video uploads via URL or direct POST to the API, making it ideal for seamless integration into your workflows.

REST

Deepengin's Video Compression API, along with all of its other APIs, follows the REST architectural style. The API utilizes resource-oriented URLs to enable predictability, and HTTP status codes to report errors.

HTTPS

The Video Compression API mandates the use of secure communication protocols, specifically TLS 1.2 or higher.

API Versions

Deepengin's APIs are all versioned, and the current version of the Video Compression API is Version 1

API Authentication and Usage

To access Deepengin's Video Compression API, you will need a unique authentication key in the form of an API key. You can authenticate your requests by appending your API key to the base URL.

Video Compression API - Request Parameters

PARAMETER
TYPE
DETAILS
api_key required

String

To access an API, a unique authentication key called an API Key is required. This key can be obtained by navigating to your dashboard

id

String

supply your unique video id in this parameter. This ID will be included in our response so that you can easily identify which video has been compressed. Please note that the video compression API does not provide instantaneous information

url required

String

The URL of the video that you would like to be compressed

callback_url required

String

provide a callback URL that points to your API endpoint where you would like to receive the response from DeepEngin once the compression is complete. Note that the URL should be publicly accessible, and no security measures should be implemented on it to ensure that the callback request can be received by your server.

Response and Error Codes

Whenever you make a request that fails for some reason, an error is returned also in the JSON format. The errors include an error code and description, which you can find in detail below.

Code
TYPE
DETAILS
200

OK

Everything worked as expected.

400

Bad request

Bad request

401

Unauthorized

The request was unacceptable. Typically due to the API key missing or incorrect.

500

Internal Server Error

The request could not be completed due to an error on the server side.

503

Service Unavailable

The server was unavailable.

Frequently Asked Questions
about Video Compression API

What is Video Compression?

Video compression is the process of reducing the size of a video file by removing unnecessary data, optimizing storage, and ensuring efficient transmission without significantly compromising its visual quality. This is achieved through advanced encoding techniques that compress video frames, lower bitrate, and reduce resolution while retaining acceptable playback quality.

Why is Video Compression important?

Video compression reduces file sizes, making storage more efficient and saving bandwidth. It ensures faster streaming and smoother playback across devices.

What are the benefits of using a Video Moderation API?

A Video Compression API can provide several benefits, including: * Reduces video file sizes for efficient storage and faster transfers. * Improves video streaming quality on different networks. * Ensures compatibility across devices and platforms. * Saves bandwidth while maintaining video clarity. * Automates compression, saving time and effort.

What types of video content can be compressed?

Video Compression APIs can handle HD, 4K, live streams, social media clips, and more.

Developers love Deepengin's Video Compression API

Deepengin’s Video Compression API significantly reduced our video file sizes without compromising quality. It’s seamless and efficient!”

- Emily R, Media Manager

Thanks to Deepengin, our platform now loads videos faster, improving user experience dramatically. Highly recommended!

- John T, CTO, Streaming Platform

Using Deepengin’s API, we saved storage costs and enhanced playback speed for our users. Game changer for our business!

- Sophia L, Product Manager

Strengthen your business with advanced computer vision

Frequently Asked Questions
About Subscription & Pricing

What is an Operation?

An Operation refers to a single action performed by the API, such as running Compression on one video. Batches of models will count as multiple operations, with the number of operations equal to the number of models requested. Every API call that utilizes operations will return a field indicating the number of operations used. In the case of Video Compression, the number of operations used will depend on the video duration, with the default being one operation per second.

Is there a free trial available for the Video Compression API?

Yes, Deepengin offers a free trial that allows you to test out the Video Compression API with a limited number of requests.

How do I upgrade my subscription plan?

To upgrade your subscription plan, simply log in to your Deepengin account and navigate to the billing section. From there, you can select the plan you wish to upgrade to and follow the instructions to complete the upgrade.

What payment methods are accepted for the Video Compression API?

We accept payment via major debit and credit cards (Visa, Mastercard, American Express) through Stripe. If you are unable to use these payment methods, please contact us at hello@deepengin.com to discuss alternative payment options.

Is there a minimum usage requirement for the Video Compression API?

No, there is no minimum usage requirement for the Video Moderation API. You can use the API as much or as little as you need.