You can use medium document projects to process documents for tasks such as format conversion and previewing. This feature is commonly used for webpage transcoding, cloud drive document previews, email attachment previews, and document format conversion for knowledge management.
This document is no longer maintained. Use the new version of Intelligent Media Management.
For a comparison between the new and earlier versions of Intelligent Media Management, see New and earlier version usage guide.
For more information about document processing in the new version of Intelligent Media Management, see Document processing.
Format conversion
Intelligent Media Management supports converting 48 common document formats into five destination document formats: JPG, PNG, PDF, TXT, and VECTOR. For more information, see Document format conversion.
Document preview
Intelligent Media Management provides two versions of document preview. You can choose the version that best suits your needs.
Document Preview V1: After you convert an input document to the VECTOR format, you can integrate it with the frontend rendering engine provided by Intelligent Media Management. This integration delivers a more user-friendly, powerful, and customizable preview experience. For more information, see Quick Start.
NoteDocuments in VECTOR format support features such as copying text, scaling without distortion, and custom advertisements.
Document Preview V2: You can obtain the preview URL and AccessToken for the document. An iframe element is not required because the JS file automatically generates an iframe under a custom block element. You can set the AccessToken in the JS file to quickly enable document preview. For more information, see Quick Start.
Billing methods
Medium document projects support two billing methods: pay-per-QPS and pay-per-use.
With the pay-per-QPS method, the fee for 1 QPS is CNY 60. With the pay-per-use method, the fee for one API call is CNY 0.08. Therefore, if your application makes more than 750 (60 / 0.08 = 750) requests per day, the pay-per-QPS method is a better choice. For more information, see Billing of earlier versions.
Pay-per-QPS
Billing is based on daily processing capacity. QPS (queries per second) indicates the concurrent processing capacity per second. A value of 1 means that only one document request can be processed per second.
NoteFor asynchronous document conversion requests, the queue depth is the same as the QPS value. Therefore, if the QPS is 1 and a request is already being processed, submitting a new request returns an error.
Pay-per-use
Billing is based on the actual number of API calls. Bills are settled hourly.
With this billing method, you can submit only one task at a time to control the impact of submitting many API calls at once. You can submit a new task only after the current one is complete.