Submits a smart tagging job.
Operation description
Prerequisites
Before submitting a smart tagging job, you must configure the analysis types in a template. For more information, see CreateCustomTemplate.
Limitations
-
The smart tagging feature is available only in the China (Beijing), China (Shanghai), and China (Hangzhou) regions.
-
The default concurrency for the smart tagging pipeline is 2. To request a higher concurrency limit, submit a ticket.
-
Smart tagging jobs and their results are retained for 180 days, after which they are automatically deleted.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:SubmitSmarttagJob |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Title |
string |
No |
The video title can contain Chinese characters, English letters, digits, and hyphens (-). It cannot start with a special character and must not exceed 256 bytes. |
example-title-**** |
| Content |
string |
No |
The description of the video content can contain Chinese characters, English letters, digits, and hyphens (-). It cannot start with a special character and must not exceed 1 KB. |
example content **** |
| ContentType |
string |
No |
Deprecated. |
|
| ContentAddr |
string |
No |
Deprecated. |
|
| Params |
string |
No |
Additional request parameters, specified as a JSON string. For example:
|
{"needAsrData":true, "needOcrData":false, "nlpParams":{"sourceLanguage":"cn"}} |
| NotifyUrl |
string |
No |
The callback URL. Only HTTP and HTTPS URLs are supported. |
https://example.com/endpoint/aliyun/ai?id=76401125000*** |
| UserData |
string |
No |
Custom data to include in the callback. If you use Message Service (MNS) for callbacks, this data is included in the message. The maximum length is 1 KB. |
{“a”:"test"} |
| Input |
object |
No |
The input file for the job. |
|
| Type |
string |
No |
The type of the input media file. Valid values:
|
Media |
| Media |
string |
No |
|
c5c62d8f0361337cab312dce8e77dc6d |
| TemplateId |
string |
No |
The ID of the template that specifies the analysis algorithms to use. |
39f8e0bc005e4f309379701645f4 |
| ScheduleConfig |
object |
No |
The scheduling configurations. |
|
| PipelineId |
string |
No |
The ID of the pipeline. Pipelines separate business workloads and bind message notifications. If you do not specify this parameter, the default pipeline is used. The default pipeline has a concurrency of 2. To increase the concurrency, submit a ticket. |
acdbfe4323bcfdae |
| Priority |
string |
No |
The priority of the job. This feature is not yet implemented. You can leave this parameter empty or specify any value. |
4 |
| TemplateConfig |
string |
No |
Dynamic parameters for the job, which temporarily override or supplement the base template specified by
|
{"FaceCategoryIds":"custom_face_lib1"} |
nlpParams
| Feature | Parameter | Type | Required | Description | Example |
| nlpParams | object | Yes | Contains all parameters related to NLP processing. This parameter is required if the analysis types in the template include NLP. Otherwise, the job fails. | {"sourceLanguage":"cn"} | |
| Transcription | sourceLanguage | string | Yes | The source language model for transcription. Valid values: cn (Chinese), en (English), yue (Cantonese), fspk (mixed Chinese and English), and ja (Japanese). If the audio contains multiple languages, you can set this parameter to multilingual to recognize text in each language. Use this parameter with languageHints. Only 16 kHz audio is supported. | "cn" |
| languageHints | list[string] | No | Specifies the languages to recognize when sourceLanguage is set to multilingual. Valid values (multiple can be selected): cn (Chinese), en (English), yue (Cantonese), ja (Japanese), ko (Korean), de (German), fr (French), and ru (Russian). This parameter restricts the scope of language detection and prevents misidentification of irrelevant languages. It takes effect only when sourceLanguage is set to multilingual. | ['cn', 'en', 'yue'] | |
| transcriptionModel | string | No | Specifies the transcription model to use. Valid value: fun-asr. This model must be used with sourceLanguage set to multilingual. | fun-asr | |
| diarizationEnabled | boolean | No | Specifies whether to enable speaker diarization. The default is false. | true | |
| speakerCount | integer | No | Configures the speaker count for speaker diarization. 0: The number of speakers is automatically detected. 2: Diarizes the audio for two speakers. | 2 | |
| Hotword | phraseId | string | No | The ID of the hotword vocabulary. | ce9c2a34b6d847bf92a77d0a196f*** |
| PPT extraction and summarization | pptExtractionEnabled | boolean | No | Specifies whether to enable PPT extraction and summarization. If enabled, the service extracts PPT slides from the video and generates a summary. The default is false. | true |
| Summarization | summarizationEnabled | boolean | No | Specifies whether to enable summarization. If enabled, the service can generate a full-text summary, speaker summary, and other results. | true |
| summarizationTypes | string | No | When summarization is enabled, you must specify the desired summarization types. Valid values: Paragraph (full-text summary), Conversational (speaker summary), QuestionsAnswering (Q&A summary), and MindMap (mind map). | "Paragraph,Conversational,QuestionsAnswering,MindMap" | |
| Translation | translationEnabled | boolean | No | Specifies whether to enable translation. | true |
| targetLanguages | string | No | The target languages for translation. This parameter is required if translation is enabled. Valid values: cn (Chinese), en (English), yue (Cantonese), and fspk (mixed Chinese and English). | "en,cn" | |
| Chapter detection | autoChaptersEnabled | boolean | No | Specifies whether to enable automatic chapter generation. The output includes chapter titles and summaries. | true |
| Meeting assistance | meetingAssistanceEnabled | boolean | No | Specifies whether to enable the meeting assistance feature. The output includes categories, keywords, key sentences, and action items. | true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
******11-DB8D-4A9A-875B-275798****** |
| JobId |
string |
The ID of the smart tagging job. Save this ID for subsequent API calls. |
****d80e4e4044975745c14b**** |
Examples
Success response
JSON format
{
"RequestId": "******11-DB8D-4A9A-875B-275798******",
"JobId": "****d80e4e4044975745c14b****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.