This topic describes the billable items of Intelligent Media Management (IMM).
Billable items and pricing
The primary billable items of IMM fall into the following categories: image intelligence, metadata management, media management, document processing, and file processing.
All time-limited free trials end on December 1, 2024. Billing details for these billable items after the free trials end will be updated.
Image intelligence
The following table describes billable items in the image intelligence category.
Billable item | Description | Related API operation | Related x-oss-process operation | Unit price (USD) | Unit |
ImageClassification | Image labeling | DetectImageLabels | image/labels | 0.0001415094 | Count |
ImageFace | Face recognition |
|
| 0.0000283019 | Count |
ImageFaceClustering | Face clustering |
| 0.0070754717 | Count | |
GenerateStory | Story generation | CreateStory | 0.0070754717 | Count | |
ImageMosaic | Image pixelation | AddImageMosaic | Time-limited free trial | Count | |
ImageCropping | Image cropping suggestions | DetectImageCropping | image/crop,g_auto | 0.0001415094 | Count |
ImageQRCodes | Quick response (QR) code recognition | DetectImageCodes | image/codes | 0.0001132075 | Count |
ImageBody | Human body detection | DetectImageBodies | image/bodies | Time-limited free trial | Count |
ImageSplicing | Image concatenation | CreateImageSplicingTask | Time-limited free trial | Count | |
ImageToPDF | Image-to-PDF conversion | CreateImageToPDFTask | Time-limited free trial | Count | |
ImageScoring | Image quality assessment | DetectImageScore | image/scoring | 0.0000424528 | Count |
LocationDateClustering | Spatiotemporal clustering | CreateLocationDateClusteringTask | Time-limited free trial | Count | |
SimilarImageClustering | Image clustering | CreateSimilarImageClusteringTask | Time-limited free trial | Count | |
Blindwatermark | Blind watermarking |
|
| 0.0000990566 | Count |
ReverseGeocoding | Reverse geocoding | DetectMediaMeta Note Performing this operation on a media file that contains geographical information generates a reverse geocoding fee. | 0.0001415094 | Count | |
FaceSearch | Face search |
| Time-limited free trial | Count | |
ImageTexts | Optical character recognition (OCR) | DetectImageTexts | 0.0070754717 | Count |
Metadata management
The following table describes billable items in the metadata management category.
Billable item | Description | Related API operation | Related x-oss-process operation | Unit price (USD) | Unit |
StandardQueryL0 | Basic query |
| task/get | 0.0000141509 | Count |
StandardQueryL1 | Standard query |
| 0.0002830189 | Count | |
StandardQueryL2 | Advanced query |
| 0.0007075472 | Count | |
MediaMeta | Media information collection |
|
| 0.0001415094 | Count |
SemanticAnalyze | Semantic analysis | SemanticQuery | Time-limited free trial | Count |
Media processing
The following table describes billable items in the media processing category.
Billable item | Description | Related API operation | Related x-oss-process operation | Unit price (USD) | Unit |
AudioCompress | Audio transcoding | CreateMediaConvertTask |
| 0.0000141509 | Second (audio length) |
VideoCompressCopy | Container format conversion | CreateMediaConvertTask | 0.0001415094 | Second (video length) | |
VideoCompress264LD | H.264 transcoding - LD * | CreateMediaConvertTask |
| 0.0000509434 | Second (video length) |
VideoCompress264SD | H.264 transcoding - SD * | CreateMediaConvertTask |
| 0.0000707547 | Second (video length) |
VideoCompress264HD | H.264 transcoding - HD * | CreateMediaConvertTask |
| 0.0001273585 | Second (video length) |
VideoCompress2642K | H.264 transcoding - 2K * | CreateMediaConvertTask |
| 0.0002830189 | Second (video length) |
VideoCompress2644K | H.264 transcoding - 4K * | CreateMediaConvertTask |
| 0.0006367925 | Second (video length) |
VideoCompress265LD | H.265 transcoding - LD * | CreateMediaConvertTask |
| 0.0002122642 | Second (video length) |
VideoCompress265SD | H.265 transcoding - SD * | CreateMediaConvertTask |
| 0.0003537736 | Second (video length) |
VideoCompress265HD | H.265 transcoding - HD * | CreateMediaConvertTask |
| 0.0007075472 | Second (video length) |
VideoCompress2652K | H.265 transcoding - 2K * | CreateMediaConvertTask |
| 0.0011320755 | Second (video length) |
VideoCompress2654K | H.265 transcoding - 4K * | CreateMediaConvertTask |
| 0.0022641509 | Second (video length) |
VideoFraming | Frame capture | CreateMediaConvertTask |
| 0.0001415094 | Frame |
VideoClassification | Video label detection | CreateVideoLabelClassificationTask | 0.0070754717 | Count | |
LiveTranscoding | Live transcoding * | GenerateVideoPlaylist |
| 0.0000141509 | CountUnit |
Document processing
The following table describes billable items in the document processing category.
Charges for previewing or editing a document are based on the number of times the document is opened for projects created before December 1, 2023, and based on the number of API calls for projects created on and after this date.
Billable item | Description | Related API operation | Related x-oss-process operation | Unit price (USD) | Unit |
DocumentConvert | Document conversion | CreateOfficeConversionTask |
| 0.0113207547 | Count |
Document text extraction | ExtractDocumentText | ||||
DocumentWebofficeEdit | Online editing (WebOffice) * |
| doc/edit | 0.0028301887 | Count |
DocumentWebofficePreview | Online preview (WebOffice) * |
| doc/preview | 0.0014150943 | Count |
DocumentWebofficeCachePreview | Cache preview (WebOffice) |
| 0.0009905660 | Count Important You are charged based on the number of API operation calls. |
File processing
The following table describes billable items in the file processing category.
Billable item | Description | Related API operation | Related x-oss-process operation | Unit price (USD) | Unit |
PointCloudCompress | Point cloud compression | CreateCompressPointCloudTask | pointcloud/compress | Time-limited free trial | Count |
API operations that generate multiple fees
The SemanticQuery operation generates StandardQueryL2 and SemanticAnalyze fees.
The CompareImageFaces operation generates double the ImageFace fee.
The SearchImageFigureCluster operation generates ImageFace and FaceSearch fees.
The CreateFacesSearchingTask operation generates ImageFace and FaceSearch fees.
Video transcoding
H.264 transcoding: Output videos use the H.264 codec.
H.265 transcoding: Output videos use the H.265 codec.
LD: The resolution of output videos is less than or equal to 640 × 480 pixels.
SD: The resolution of output videos is less than or equal to 1,280 × 720 pixels.
HD: The resolution of output videos is less than or equal to 1,920 × 1,080 pixels.
2K: The resolution of output videos is less than or equal to 2,560 × 1,440 pixels.
4K: The resolution of output videos is less than or equal to 3,840 × 2,160 pixels.
Document preview and editing
For a project created before December 1, 2023, you are charged for previewing and editing a document based on the number of times the document is opened, not the number of API operation calls.
In contrast, for a project created on or after December 1, 2023, you are charged based on the number of API operation calls made for previewing and editing documents. If you want to switch to per-call billing, create a project on or after December 1, 2023.
In API call-based billing, one API call allows only one user to use the feature. If multiple users use the information returned by the API call, only the last user has access to the document and the access permissions of other users are revoked.
If you set the Permission.Readonly parameter to true in the GenerateWebofficeToken operation, you are charged for online document previewing. If you set the Permission.Readonly parameter to false, you are charged for online document editing.
Billing for calls to the RefreshWebofficeToken operation varies based on the value of the Permission.Readonly parameter in the GenerateWebofficeToken operation. If you set the Permission.Readonly parameter to true, you are charged a document preview fee for calling the RefreshWebofficeToken operation. If you set the parameter to false, you are charged a document editing fee for calling the RefreshWebofficeToken operation.
Live transcoding
Fee composition:
The fee for the LiveTranscoding billable item in playlist generation: You can use the InitialTranscode parameter to specify the initial transcoding duration in playlist generation. Initial transcoding generates a fee for the LiveTranscoding billable item. For more information, see LiveTranscoding.
The fee for the LiveTranscoding billable item in video playback: Playback of TS files that have not been transcoded triggers transcoding, which generates a fee for the LiveTranscoding billable item. For more information, see LiveTranscoding.
The fees charged by Object Storage Service (OSS): You are charged by OSS for using IMM to read videos from OSS for transcoding, write transcoded videos to OSS, and read videos from OSS for video playback. For more information, see Billable items.
Metering rules for LiveTranscoding billing
Video processing
The efficiency (referred to as eff in the following formula) is 0.3 for H.264 output videos and 1.8 for H.265 output videos.
Metering is based on the following formula:
Ceiling (eff × Ceiling(Height/240) × Ceiling(Width/240) × Ceiling(FrameRate/30) + 1 ) × Ceiling(VideoStreamDuration)
Audio
The efficiency (referred to as eff in the following formula) is 0.3.
Metering is based on the following formula:
Ceiling(eff × Ceiling(AudioStreamDuration))
Billing rules: You are charged separately for each processed video stream or audio stream. Video streams are specified by TargetVideo.Stream and audio streams are specified by TargetAudio.Stream. The following content provides billing examples for LiveTranscoding:
No fee for the LiveTranscoding billable item is generated if no video in a generated playlist is played
For example, you call the GenerateVideoPlaylist operation with InitialTranscode set to 0 and TranscodeAhead left empty to create a video playlist for a 38-minute H.264 output video at a resolution of 800 × 600 pixels and a frame rate of 30 fps. No video in the playlist is played.
A fee for the LiveTrancoding billable item for initial transcoding is generated if a generated playlist has an initial transcoding configuration and no video in the playlist is played
For example, you call the GenerateVideoPlaylist operation with InitialTranscode set to 30 and TranscodeAhead left empty to create a video playlist for a 38-minute H.264 output video at a resolution of 800 × 600 pixels and a frame rate of 30 fps. No video in the playlist is played.
A fee for the following billable item is generated:
LiveTranscoding. You are charged for the following number of count units:
Ceiling((0.3 × Ceiling(800/240) × Ceiling(600/240) × Ceiling(30/30) + 1 ) × (Ceiling(30)) + Ceiling(0.3 × Ceiling(30)) = 159
.
A fee for the LiveTranscoding billable item is generated for the played segments of video content in a generated playlist
For example, you call the GenerateVideoPlaylist operation with InitialTranscode set to 0 and TranscodeAhead left empty to create a video playlist for a 38-minute H.264 output video at a resolution of 800 × 600 pixels and a frame rate of 30 fps. Then, you play the video from the beginning to the 5th minute (transcoded to 2 minutes ahead by default) and skip to the 15th minute, from which the playback continues to the end.
The fee for the following billable item is generated:
LiveTranscoding. You are charged for the following number of count units:
Ceiling((0.3 × Ceiling(800/240) × Ceiling(600/240) × Ceiling(30/30) + 1) × (Ceiling((5+2) × 60) + Ceiling((38-15) × 60)) + Ceiling(0.3 × Ceiling((5+2) × 60)) + Ceiling(0.3 × Ceiling((38-15) × 60) = 9,540
.
A fee for the LiveTranscoding billable item is generated only once if the video is played by multiple users
For example, you call the GenerateVideoPlaylist operation with InitialTranscode set to 0 and TranscodeAhead left empty to create a video playlist for a 38-minute H.264 output video at a resolution of 800 × 600 pixels and a frame rate of 30 fps.
User A uses the playlist to play the video from the beginning to the 5th minute and exits the playback.
User B uses the playlist to play the video from the 15th minute to the end.
User C uses the playlist to play the video from the beginning to the end.
The fee for the following billable item is generated:
LiveTranscoding. You are charged for the following number of count units:
Ceiling((0.3 × Ceiling(800/240) × Ceiling(600/240) × Ceiling(30/30) + 1) × Ceiling(38 × 60) + Celling(0.3 × Celling(38 × 60)) = 12,084
.
Terms:
Width: the width of the output video
Height: the height of the output video
FrameRate: the frame rate
VideoStreamDuration: the length of the video stream
AudioStreamDuration: the length of the audio stream
eff: the efficiency used to calculate the number of count units
Ceiling(x): a function that returns the smallest nearest integer greater than or equal to the specified number
Operators and billable items
When you bind a project to an OSS bucket or call the IndexFileMeta or BatchIndexFileMeta operation to create a metadata index, the use of operators described in the Workflow templates and operators topic generates a data processing fee, index storage fee, and OSS API operation calling fee. The OSS API operation calling fee is included in your OSS bills. For more information, see API operation calling fees. The following table provides the mappings between operators and billable items.
Operator | Billable item | Charged by |
OSSMeta | OSS | |
MIME | Free of charge | N/A |
FaceDetection | ImageFace * | IMM |
LabelClassification (for images) | ImageClassification * | IMM |
LabelClassification (for videos) | VideoClassification | IMM |
ImageScoring | ImageScoring * | IMM |
ReGEO | ReverseGeocoding | IMM |
MediaMeta | MediaMeta | IMM |
EXIF | OSS | |
ExtractDocumentText | DocumentConvert | IMM |
ExtractImageEmbeddings | Time-limited free trial | IMM |
To support various image formats, IMM uses the image processing (IMG) capabilities of OSS to perform image operations, such as format conversion and image resizing. OSS charges fees for the operations. For more information about IMG, see Overview. For more information about the fees generated for these operations, see Data processing fees.
External request fees
When you use IMM to access OSS, you are charged OSS operation calling fees by OSS. For more information, see API operation calling fees.