Submits a video cognition job.
Operation description
This is an asynchronous API. After you submit a job, the service returns a job ID and queues it for processing. The final results are delivered via a callback notification. You can also check the job status by calling the QueryIntelligentContentUnderstandingTask operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:SubmitVideoCognitionJob |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Title |
string |
No |
The title of the video. The title can contain Chinese characters, English letters, digits, and hyphens (-). The title cannot start with a special character and must not exceed 256 bytes in length. |
example-title-**** |
| Params |
string |
No |
A JSON string containing additional parameters for operators such as natural language processing, shot detection, custom tagging, and action recognition. |
{ "nlpParams": { "sourceLanguage": "cn", "diarizationEnabled": true, "speakerCount": 2, "summarizationEnabled": true, "summarizationTypes": "Paragraph,Conversational,QuestionsAnswering,MindMap", "translationEnabled": true, "targetLanguages": "en", "autoChaptersEnabled": true, "meetingAssistanceEnabled": true } } |
| UserData |
string |
No |
The user-defined data. The service returns this data unmodified in the callback notification. This parameter cannot exceed 1,024 bytes. |
{"test":1} |
| Input |
object |
No |
The input media object. |
|
| Type |
string |
No |
The type of the input media. Valid values:
|
Media |
| Media |
string |
No |
If If If |
c5c62d8f03613************c6d |
| TemplateId |
string |
No |
The ID of the template that specifies the analysis algorithms to use. For more information about managing templates, see Create Custom Template and AI-powered tagging template. |
39f8e0bc00*************** |
| TemplateConfig |
string |
No |
nlpParams
| Feature | Parameter | Type | Required | Description | Example |
| nlpParams | object | Yes | Contains parameters for natural language processing (NLP). This object is required if the template's analysis type includes 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), and fspk (mixed Chinese and English). | "cn" |
| Speaker diarization | diarizationEnabled | boolean | No | Specifies whether to enable speaker diarization. The default value is false. | true |
| speakerCount | integer | No | The number of speakers for speaker diarization. If you set this to 0, the service automatically detects the number of speakers. To specify a fixed number of speakers, set the value to that number, for example, 2. | 2 | |
| Summarization | summarizationEnabled | boolean | No | Specifies whether to enable summarization. When enabled, the service generates outputs such as a full-text summary and a speaker summary. | true |
| summarizationTypes | string | No | Required if summarizationEnabled is true. Specify one or more of the following summary types: Paragraph (full-text summary), Conversational (speaker summary), QuestionsAnswering (Q&A summary), or 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. Required if translationEnabled is true. 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 chapter detection. The results include chapter titles and summaries. | true |
| Meeting assistance | meetingAssistanceEnabled | boolean | No | Specifies whether to enable meeting assistance. The results include categories, keywords, key sentences, and action items. | true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
******11-DB8D-4A9A-875B-275798****** |
| JobId |
string |
The ID of the job. |
****20b48fb04483915d4f2cd8ac**** |
Examples
Success response
JSON format
{
"RequestId": "******11-DB8D-4A9A-875B-275798******",
"JobId": "****20b48fb04483915d4f2cd8ac****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.