API Overview
The following tables list the MPC APIs. Before calling an MPC API, you need to obtain a user token. The obtained token can then be used to authenticate the calling of other APIs. For details about how to call an MPC API, see Getting Started.
Custom Transcoding Templates
A transcoding template is used to define transcoded video information. Before transcoding a video, you need to create a transcoding template.
|
API |
Description |
|---|---|
|
POST /v1/{project_id}/template/transcodings |
|
|
DELETE /v1/{project_id}/template/transcodings{?temp_id} |
|
|
PUT /v1/{project_id}/template/transcodings |
|
|
GET /v1/{project_id}/template/transcodings{?temp_id} |
Custom Transcoding Template Groups
A transcoding template group defines the output file information. A custom template group can contain a maximum of six output configurations.
|
API |
Description |
|---|---|
|
POST /v1/{project_id}/template_group/transcodings |
|
|
PUT /v1/{project_id}/template_group/transcodings{?temp_id} |
|
|
DELETE /v1/{project_id}/template_group/transcodings |
|
|
GET /v1/{project_id}/template_group/transcodings{?temp_id} |
Watermarking
Call the watermark template APIs to deliver the watermark template and add watermarks to videos during transcoding.
|
API |
Description |
|---|---|
|
POST /v1/{project_id}/template/watermark |
|
|
PUT /v1/{project_id}/template/watermark |
|
|
GET /v1/{project_id}/template/watermark{?template_id,page,size} |
|
|
DELETE /v1/{project_id}/template/watermark{?template_id} |
Media Transcoding
|
API |
Description |
|---|---|
|
POST /v1/{project_id}/transcodings |
|
|
DELETE /v1/{project_id}/transcodings{?task_id} |
|
|
GET /v1/{project_id}/transcodings{?task_id,start_time,end_time,status,page,size} |
Packaging
|
API |
Description |
|---|---|
|
POST /v1/{project_id}/remux |
|
|
DELETE /v1/{project_id}/remux{?task_id} |
|
|
GET /v1/{project_id}/remux{?task_id,start_time,end_time,status,page,size} |
|
|
PUT /v1/{project_id}/remux |
GIF Converting
|
API |
Description |
|---|---|
|
POST /v1/{project_id}/animated-graphics |
|
|
DELETE /v1/{project_id}/animated-graphics{?task_id} |
|
|
GET /v1/{project_id}/animated-graphics{?task_id,start_time,end_time,status,page,size} |
Video Parsing
|
API |
Description |
|---|---|
|
POST /v1/{project_id}/extract-metadata |
|
|
DELETE /v1/{project_id}/extract-metadata{?task_id} |
|
|
GET /v1/{project_id}/template/extract-metadata{?task_id,start_time,end_time,status,page,size} |
Snapshot Capturing
|
API |
Description |
|---|---|
|
POST /v1/{project_id}/thumbnails |
|
|
DELETE /v1/{project_id}/thumbnails{?task_id} |
|
|
GET /v1/{project_id}/thumbnails{?task_id,start_time,end_time,status,page,size} |
Encryption
|
API |
Description |
|---|---|
|
POST /v1/{project_id}/encryptions |
|
|
DELETE /v1/{project_id}/encryptions/?task_id={task_id} |
|
|
GET /v1/{project_id}/encryptions{?task_id,start_time,end_time,status,page,size} |
Last Article: Before You Start
Next Article: Calling APIs
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.