Submits a Smarttag Job.
Operation description
Prerequisites
Before you submit a Smarttag Job, you must first configure the analysis type in a template.
Limitations
-
The Smarttag feature is available only in the following Regions: China North 2 (Beijing), China East 2 (Shanghai), and China East 1 (Hangzhou).
-
The Default Concurrency for the Smarttag Pipeline is 2. To request a higher limit, submit a ticket for evaluation and configuration.
-
Smarttag Tasks and their results are retained for 180 days and then 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. Supports Chinese, letters, digits, and hyphens (-). Cannot start with a special character. Max length: 256 bytes. |
example-title-**** |
| Content |
string |
No |
A description of the video content. Supports Chinese, letters, digits, and hyphens (-). Cannot start with a special character. Max length: 1 KB. |
example content **** |
| ContentType |
string |
No |
This parameter is deprecated. |
application/zip |
| ContentAddr |
string |
No |
This parameter is deprecated. |
http://123.com/testVideo.mp4 |
| Params |
string |
No |
Additional request parameters, as a JSON string. Example:
|
{"needAsrData":true, "needOcrData":false, "nlpParams":{"sourceLanguage":"cn"}} |
| NotifyUrl |
string |
No |
The Callback URL. Only HTTP and HTTPS are supported. |
https://example.com/endpoint/aliyun/ai?id=76401125000*** |
| UserData |
string |
No |
Custom user data for MNS Callback. Max length: 1 KB. |
{“a”:"test"} |
| Input |
object |
No |
The input file. |
|
| Type |
string |
No |
The media file type. Valid values:
|
Media |
| Media |
string |
No |
|
c5c62d8f0361337cab312dce8e77dc6d |
| TemplateId |
string |
No |
The ID of the analysis template. For more information, see Unified Template Configuration. |
39f8e0bc005e4f309379701645f4 |
| ScheduleConfig |
object |
No |
The scheduling configuration. |
|
| PipelineId |
string |
No |
The Pipeline ID, used to differentiate workflows and associate notifications. If not specified, the Default Pipeline (Concurrency: 2) is used. To increase concurrency, submit a ticket. |
acdbfe4323bcfdae |
| Priority |
string |
No |
The Job priority. This feature is not yet available and is currently ignored. |
4 |
| TemplateConfig |
string |
No |
A JSON string of parameters that dynamically override or supplement the Template specified by
|
{"FaceCategoryIds":"custom_face_lib1"} |
nlpParams
| Feature | Parameter | Type | Required | Description | Example |
| nlpParams | object | Yes | Contains all NLP-related parameters. Required if the Template's analysis type includes NLP; otherwise, the task fails. | {"sourceLanguage":"cn"} | |
| Transcription | sourceLanguage | string | Yes | The source language for transcription. Valid values: cn (Chinese), en (English), yue (Cantonese), fspk (Chinese-English Mix), ja (Japanese). For multi-language audio, set to multilingual and use languageHints. Supports 16 kHz audio only. | "cn" |
| languageHints | list[string] | No | A list of languages for the multilingual model. Helps avoid misidentification. Valid values (multiple): cn, en, yue, ja, ko, de, fr, ru. Effective only when sourceLanguage is multilingual. | ['cn', 'en', 'yue'] | |
| transcriptionModel | string | No | Specifies the transcription model. Optional: fun-asr. Must be used with sourceLanguage set to multilingual. | fun-asr | |
| diarizationEnabled | boolean | No | Enable Speaker Diarization. Default: false. | true | |
| speakerCount | integer | No | Configures Speaker Diarization. 0 for an unknown number of speakers, 2 for two speakers. If unset, speakers are not differentiated. | 2 | |
| Hotword | phraseId | string | No | The hotword vocabulary ID. | ce9c2a34b6d847bf92a77d0a196f*** |
| PPT Extraction & Summarization | pptExtractionEnabled | boolean | No | Enable PPT Extraction and Summarization. If true, extracts key frames resembling slides and generates a summary. Default: false. | true |
| Summarization | summarizationEnabled | boolean | No | Enable Summarization. If true, can generate a full-text summary and a speaker-based summary. | true |
| summarizationTypes | string | No | When Summarization is enabled, specify desired summary types: Paragraph (full-text), Conversational (speaker), QuestionsAnswering (Q&A), and MindMap (mind map). | "Paragraph,Conversational,QuestionsAnswering,MindMap" | |
| Translation | translationEnabled | boolean | No | Enable Translation. | true |
| targetLanguages | string | No | The target languages for translation. Valid values: cn (Chinese), en (English), yue (Cantonese), fspk (Chinese-English Mix). | "en,cn" | |
| Chapter Identification | autoChaptersEnabled | boolean | No | Enable Chapter Identification. Results include chapter titles and summaries. | true |
| Meeting Assistance | meetingAssistanceEnabled | boolean | No | Enable Meeting Assistance. Results include Classification, Keywords, Key Sentences, and To-do Items. | true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The Request ID. |
******11-DB8D-4A9A-875B-275798****** |
| JobId |
string |
The Smarttag Job ID. We recommend saving 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.