All Products
Search
Document Center

Intelligent Media Management:List of operations by function

Last Updated:Dec 13, 2024
This product(imm/2020-09-30) OpenAPI adopts RPC Signature style. See signature details in Description of the signature mechanism. We have packaged SDKs for common programming languages for developers. Developers can directly call the OpenAPI of this product by downloading the SDK without paying attention to the technical details. If the existing SDK cannot meet the usage requirements, you can connect through the signature mechanism. It will take about 5 working days. Therefore, it is recommended to join our DingTalk service group (78410016550) and sign under the guidance of experts.
Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (SDK, CLI, etc.). For details see getAccessKey.

Service Region

APITitleDescription
ListRegionsListRegionsQueries the regions where Intelligent Media Management (IMM) is available and the supported languages.

Project Management

APITitleDescription
CreateProjectCreateProjectCreates a project.
UpdateProjectUpdateProjectUpdates information about a project.
GetProjectGetProjectQueries the basic information, datasets, and file statistics of a project.
ListProjectsListProjectsQueries projects. You can call this operation to query the basic information, datasets, and file statistics of multiple projects at the same time.
DeleteProjectDeleteProjectDeletes a project.

Metadata Management

APITitleDescription
Data set managementData set management
CreateDatasetCreateDatasetCreates a dataset.
GetDatasetGetDatasetQueries a dataset.
ListDatasetsListDatasetsQueries a list of datasets. You can query the list by dataset prefix.
DeleteDatasetDeleteDatasetDeletes a dataset.
Metadata IndexMetadata Index
IndexFileMetaIndexFileMetaCreates an index from metadata extracted by using techniques such as label recognition, face detection, and location detection from input files. You can retrieve data from the same dataset by using multiple methods.
BatchIndexFileMetaBatchIndexFileMetaIndexes metadata of multiple objects into the specified dataset. The process involves data processing operations such as label detection, face detection, and location detection. Metadata indexing helps meet diverse data retrieval requirements.
UpdateFileMetaUpdateFileMetaUpdates the partial metadata of the indexed files in a dataset.
BatchUpdateFileMetaBatchUpdateFileMetaUpdates some metadata items of files indexed into a dataset.
GetFileMetaGetFileMetaQueries metadata of a file whose metadata is indexed into the dataset.
BatchGetFileMetaBatchGetFileMetaQueries metadata of multiple objects or files in the specified dataset.
DeleteFileMetaDeleteFileMetaRemoves the metadata of a file from a dataset.
BatchDeleteFileMetaBatchDeleteFileMetaDeletes the metadata of multiple files from a dataset.
Query and statisticsQuery and statistics
SimpleQuerySimpleQueryQueries files in a dataset by performing a simple query operation. The operation supports logical expressions.
SemanticQuerySemanticQueryQueries metadata in a dataset by inputting natural language.
FuzzyQueryFuzzyQueryQueries the extracted file metadata, including the file name, labels, path, custom tags, text, and other fields. If the value of a metadata field of a file matches the specified string, the metadata of the file is returned.
intelligent managementintelligent management
face clusteringface clustering
CreateFigureClusteringTaskCreateFigureClusteringTaskCreates a face clustering task to cluster faces of different persons in images by person based on the intelligent algorithms.
CreateFigureClustersMergingTaskCreateFigureClustersMergingTaskMerges two or more face clustering groups into one face clustering group.
GetFigureClusterGetFigureClusterObtains basic information about face clustering, including the creation time, number of images, and cover.
QueryFigureClustersQueryFigureClustersQueries face groups based on given conditions.
BatchGetFigureClusterBatchGetFigureClusterQueries face clusters.
UpdateFigureClusterUpdateFigureClusterUpdates information about a face cluster, such as the cluster name and labels.
SearchImageFigureClusterSearchImageFigureClusterQueries face clusters that contain a specific face in an image. Each face cluster contains information such as bounding boxes and similarity.
CreateFacesSearchingTaskCreateFacesSearchingTaskSearches the dataset for the specified number of images most similar to the specified image or face and returns face IDs and boundaries in descending order of similarity.
spatio-temporal clusteringspatio-temporal clustering
CreateLocationDateClusteringTaskCreateLocationDateClusteringTaskCreates a spatiotemporal clustering task to cluster photos and videos based on geolocation and time information. Spatiotemporal clustering allows you to group photos and videos taken during a travel or at different places by their spatial and temporal similarity. Based on spatiotemporal clustering, you can develop media capabilities such as media file categorization, photo collections, and image and video-based stories.
QueryLocationDateClustersQueryLocationDateClustersQueries a list of spatiotemporal clustering groups. Multiple conditions are supported. For more information, see the request parameters.
UpdateLocationDateClusterUpdateLocationDateClusterUpdates a spatiotemporal cluster.
DeleteLocationDateClusterDeleteLocationDateClusterDeletes a spatiotemporal cluster.
StoryStory
CreateStoryCreateStoryCreates a story.
QueryStoriesQueryStoriesQueries stories based on the specified conditions.
GetStoryGetStoryQueries a story.
CreateCustomizedStoryCreateCustomizedStoryCreates a story based on the specified images and videos.
UpdateStoryUpdateStoryUpdates the information about a story, such as the story name and cover image.
AddStoryFilesAddStoryFilesAdds objects to a story.
RemoveStoryFilesRemoveStoryFilesDeletes files from a story.
DeleteStoryDeleteStoryDeletes a story.
image clusteringimage clustering
CreateSimilarImageClusteringTaskCreateSimilarImageClusteringTaskClusters images indexed into a dataset by similarity. Image clustering is suitable for image deduplication and selection. For example, you can use image clustering to filter photos in your album that are taken in continuous shooting mode.
QuerySimilarImageClustersQuerySimilarImageClustersYou can call this operation to query the list of similar image clusters.
Data BindingData Binding
CreateBindingCreateBindingCreates a binding relationship between a dataset and an Object Storage Service (OSS) bucket. This allows for the automatic synchronization of incremental and full data and indexing.
GetBindingGetBindingQueries the binding relationship between a specific dataset and an Object Storage Service (OSS) bucket.
ListBindingsListBindingsQueries bindings between a dataset and Object Storage Service (OSS) buckets.
DeleteBindingDeleteBindingDeletes the binding between a dataset and an Object Storage Service (OSS) bucket.
AttachOSSBucketAttachOSSBucketBinds an Object Storage Service (OSS) bucket to the specified project. The binding enables you to use IMM features by using the x-oss-process parameter.
DetachOSSBucketDetachOSSBucketUnbinds an Object Storage Service (OSS) bucket from the corresponding project.
GetOSSBucketAttachmentGetOSSBucketAttachmentQueries the name of the project bound to an Object Storage Service (OSS) bucket.

Image Processing

APITitleDescription
EncodeBlindWatermarkEncodeBlindWatermarkEmbeds specific textual information into an image as watermarks. These watermarks are visually imperceptible and do not affect the aesthetics of the image or the integrity of the original data. The watermarks can be extracted by using the CreateDecodeBlindWatermarkTask operation.
CreateDecodeBlindWatermarkTaskCreateDecodeBlindWatermarkTaskDecodes the blind watermark in an image.
GetDecodeBlindWatermarkResultGetDecodeBlindWatermarkResultQueries the result of an invisible watermark parsing task.
DetectImageLabelsDetectImageLabelsDetects scene, object, and event information in an image. Scene information includes natural landscapes, daily life, and disasters. Event information includes talent shows, office events, performances, and production events. Object information includes tableware, electronics, furniture, and transportation. The DetectImageLabels operation supports more than 30 different categories and thousands of labels.
DetectImageScoreDetectImageScoreCalculates the aesthetics quality score of an image based on metrics such as the composition, brightness, contrast, color, and resolution. The operation returns a score within the range from 0 to 1. A higher score indicates better image quality.
DetectImageCodesDetectImageCodesDetects barcodes and QR codes in an image.
DetectImageFacesDetectImageFacesDetects faces from an image, including face boundary information, attributes, and quality. The boundary information includes the distance from the y-coordinate of the vertex to the top edge (Top), distance from the x-coordinate of the vertex to the left edge (Left), height (Height), and width (Width). Face attributes include the age (Age), age standard deviation (AgeSD), gender (Gender), emotion (Emotion), mouth opening (Mouth), beard (Beard), hat wearing (Hat), mask wearing (Mask), glasses wearing (Glasses), head orientation (HeadPose), attractiveness (Attractive), and confidence levels for preceding attributes. Quality information includes the face quality score (FaceQuality) and face resolution (Sharpness).
DetectImageCroppingDetectImageCroppingDetects the cropping area that produces the optimal visual effect based on a given image ratio by using AI model capabilities.
AddImageMosaicAddImageMosaicAdds mosaics, Gaussian blurs, or solid color shapes to blur one or more areas of an image for privacy protection and saves the output image to the specified path in Object Storage Service (OSS).
CreateImageToPDFTaskCreateImageToPDFTaskConverts multiple images into one single PDF file and stores the PDF file to the specified path in Object Storage Service (OSS).
CreateImageSplicingTaskCreateImageSplicingTaskCreates an image splicing task. You can call this operation to splice multiple images into one based on a given rule and save the final image into an Object Storage Service (OSS) bucket.
CompareImageFacesCompareImageFacesCompares the similarity of the largest faces in two images. The largest face refers to the largest face frame in an image after face detection.
DetectImageBodiesDetectImageBodiesDetects human body information, such as the confidence level and body bounding box, in an image.
DetectImageCarsDetectImageCarsDetects the outline data, attributes, and license plate information of vehicles in an image. The vehicle attributes include the vehicle color (CarColor) and vehicle type (CarType). The license plate information includes the recognition content (Content) and plate frame (Boundary).
DetectImageTextsDetectImageTextsRecognizes and extracts text content from an image.

Media Processing

APITitleDescription
CreateMediaConvertTaskCreateMediaConvertTaskCreates an asynchronous media transcoding task to provide audio and video file processing abilities, such as media transcoding, media splicing, video frame capturing, and video to GIF conversion.
DetectMediaMetaDetectMediaMetaQueries media metadata, including the media format and stream information.
CreateVideoLabelClassificationTaskCreateVideoLabelClassificationTaskDetects the scene, object, and event tag information of video content. Scene information includes categories such as natural landscapes, life scenes, and disaster scenes. Event information includes categories such as talent shows, office events, performances, and production events. Object information includes categories such as tableware, electronic products, furniture, and transportation. Video tag detection supports more than 30 tag categories and thousands of tags.
GetVideoLabelClassificationResultGetVideoLabelClassificationResultQueries the results of a video label detection task.
GenerateVideoPlaylistGenerateVideoPlaylistGenerates a live transcoding playlist and converts video files into M3U8 files. After a playlist is generated, the videos in the playlist are immediately played and the video files are transcoded based on the playback progress. Compared with offline transcoding, online transcoding significantly reduces the time spent in waiting for the videos to be transcoded and reduces transcoding and storage costs.

Document processing

APITitleDescription
GenerateWebofficeTokenGenerateWebofficeTokenGenerates an access token for document preview or editing.
RefreshWebofficeTokenRefreshWebofficeTokenRefreshes the access credential of WebOffice. The access credential of WebOffice is valid for 30 minutes. After the credential expires, you cannot access Weboffice. To access Weboffice again, call this operation to obtain a new credential. The new credential is also valid for 30 minutes.
ExtractDocumentTextExtractDocumentTextExtracts the text from the document body.

File Processing

APITitleDescription
Compression DecompressionCompression Decompression
CreateFileCompressionTaskCreateFileCompressionTaskCreates a file packing task.
CreateArchiveFileInspectionTaskCreateArchiveFileInspectionTaskCreates an archive file inspection task to preview the files in a package without decompressing the package.
CreateFileUncompressionTaskCreateFileUncompressionTaskExtracts the specified files from a ZIP, RAR, or 7z package to the specified directory or decompresses the entire package.
point cloud compressionpoint cloud compression
CreateCompressPointCloudTaskCreateCompressPointCloudTaskCompresses point cloud data (PCD) in Object Storage Service (OSS) to reduce the amount of data transferred over networks.

Content Security

APITitleDescription
DetectTextAnomalyDetectTextAnomalyDetects whether specified text contains anomalies, such as pornography, advertisements, excessive junk content, politically sensitive content, and abuse.
CreateImageModerationTaskCreateImageModerationTaskCreates an image moderation task to ensure image content compliance. You can call this operation to identify inappropriate content, such as pornography, violence, terrorism, politically sensitive content, undesirable scenes, unauthorized logos, and non-compliant ads.
CreateVideoModerationTaskCreateVideoModerationTaskDetects risky or non-compliant content from videos. You can use this operation in scenarios such as intelligent pornography detection, terrorist content and political bias detection, ad violation detection, and logo detection.
GetImageModerationResultGetImageModerationResultQueries an image compliance detection task.

Task Management

APITitleDescription
GetTaskGetTaskQueries information about an asynchronous task. Intelligent Media Management (IMM) has multiple asynchronous data processing capabilities, each of which has its own operation for creating tasks. For example, you can call the CreateFigureClusteringTask operation to create a face clustering task and the CreateFileCompressionTask operation to create a file compression task. The GetTask operation is a general operation. You can call this operation to query information about asynchronous tasks by task ID or type.
ListTasksListTasksLists tasks based on specific conditions, such as by time range and by tag.
TriggerTrigger
CreateTriggerCreateTriggerCreates a trigger. A trigger can trigger Intelligent Media Management (IMM) based on events such as events in Object Storage Service (OSS) to process files, such as images, videos, and documents based on data processing templates.
SuspendTriggerSuspendTriggerSuspends a running trigger.
ResumeTriggerResumeTriggerResumes a trigger that is in the Suspended or Failed state.
UpdateTriggerUpdateTriggerUpdates information about a trigger, such as the input data source, data processing settings, and tags.
GetTriggerGetTriggerQueries the information about a trigger.
ListTriggersListTriggersQueries triggers by tag or status.
DeleteTriggerDeleteTriggerDeletes a trigger.
Batch ProcessingBatch Processing
CreateBatchCreateBatchCreates a batch processing task to perform a data processing operation, such as transcoding or format conversion, on multiple existing files at a time.
SuspendBatchSuspendBatchSuspends a batch processing task.
ResumeBatchResumeBatchResumes a batch processing task that is in the Suspended or Failed state.
UpdateBatchUpdateBatchUpdates information about a batch processing task, including the input data source, data processing settings, and tags.
ListBatchesListBatchesQueries batch processing tasks. You can query batch processing tasks based on conditions such task tags and status. The results can be sorted.
GetBatchGetBatchQueries the information about a batch processing task.
DeleteBatchDeleteBatchDeletes a batch processing task.